Wget is a free tool that automatically downloads files from the webThe TAR-ZCXF command is to pack the files and compress them first.The TAR-ZVXF command is to unzip and repackage this file.CD: Return to the previous levelExit the file being edited:
Do mobile phone testing, or to understand some of the Linux commands, it is convenient to view or find the files inside the phone.In some cases, you cannot find it through the file browser, and you have to open the root permission to view it through
1 Modifying folder permissionssudo chmod-r ugo+rw /data/shareUsing the command above still cannot modify the file under the folder, use the following command in the window to use root identity, thereby changing the properties through the window
1 Switch Directory CDCD app: Switch to App directoryCd.. : Switch to the previous level directoryCD/: Switch to the system root directory2 Listing file lists LSls[parameter] [path or file name]Ls:Ls-a: Show All Files or directories (including hidden
Ctrl+alt+t: Virtual machine Open command lineVirtual machine root user forgot password: reset password: sudo passwd root-switch to ROOT-SU root1. Basic shortcut keysCtrl+d keyboard input end or exit terminalCTRL + A moves the cursor to the input
1. If a > and a file name are appended to any of the commands (not necessarily pre-existing), the result of the command is sent to the file. Such as: $ls/usr/bin > ~/unknown If the file already exists, the output of the LS command overwrites the
Linux basic commandsThe system used to manage files in the operating system is called the "file system" and the file system manages the files in a grouped manner, specifically through directories (or folders) to manage thousands of files. The Linux
To create a file in bulk:User action:File operation:Directory Operations:Cat: Preview File contents (TAC: Flashback preview file content)More, Less: Paging to view file contentsHead-n: View the first few lines of a fileTail-n: See the file after a
One, logout, shutdown, restart
Unregister the system's logout command
1,logout Logout is the relative operation of landing, after the landing system, to leave the system, the user simply issued the Logout command can be:
[Root@localhost Root]
Recently learning Linux, the teacher class said the estimated class is forgotten, is now ready to prepare for a rainy days.Ps1=x//Modify the terminal promptsu root//switch user ssh [email protected]192.168.116.129//Encrypt remote connectionYum-y
Help: Assistance commandsUse format:Help plus the commands you need to see, such as help PWDWill get a description of the relevant commandCommand--help, such as LS--helpwill see the use of related commandsMan: Help manual commandMan plus commands to
The birth of Unix, January 1, 1970User--------> Kernel-------"HardwareThe name/version of the release is determined by the issuer–red Hat Enterprise Linux 5/6/7–suse Linux Enterprise 12–debian Linux 7.8–ubuntu Linux 14.10/15.04is a complete Linux
A 1:ls directory and file under the specified path2:ls-l can display file detail properties650) this.width=650; "title=" 36017290510466862.png "src=" https://s1.51cto.com/oss/201711/19/ Ee72d2a591b98a2c65e282696fa0dae5.png-wh_500x0-wm_3-wmp_4-s_85199
the direction of the arrows is the flow of dataNumber Description: 0 for standard input, 1 for standard correct output, and 2 for standard error output.The 2&1> or 2&1>> indicates that the standard correct output is the same as the standard error
CD command: Switch directories(1) Switch to directory/usr/localCd/usr/local(2) Go to the current upper directoryCd..(3) Go back to your home folderCD ~ls command: View files and directories(4) View directory/usr for all filesCd/usrLs-almkdir command:
1 Traversing a directoryAbbreviation of Cd:change Dicrectory. Or./represents the current directory,.. Or.. /represents the previous table of contents, CD-Represents the last directory entered.2 List of files and directoriesLs:list, the file under
CD command: Switch directories(1) Switch to directory/usr/localCd/usr/local(2) Go to the current upper directoryCd..(3) Go back to your home folderCD ~ls command: View files and directories(4) View directory/usr for all filesLs-l/usrmkdir command:
1.zip Commandzip-r myfile.zip./*All files and folders under the current directory are compressed into myfile.zip files, and-R indicates that all files in the subdirectory are compressed recursively.2.unzip Commandunzip-o-d/home/sunny myfile.zipUnzip
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.