Simple command and use of Linux systems
1. Switch Virtual Terminal: Ctrl+alt+f (1-6)
2. Command prompt for normal user and system user login: ¥ and #.
3. Shut down the system: Init 0
4. Exit Command: Exit
5.Linux command format: Command + options + parameters
6.who command: Lists the users who are currently logged on to the system
7.ls: Lists the files in the current directory.
8.date: Show Current date
9.date ' Month Day Year ': Modify system date
10.cal: View System Calendar
11.clear=ctrl+l: Clear Screen
12.hwlock-s: Synchronizing Hardware time
13.useradd+ User name: Create user
14.PASSWD: Set User password (modify current user password)
15.ctrl+c: Terminates the previous command
16.su-User name: Switch user
17.man+ command name: Display Help information (equivalent to command +--help)
18.PWD: Show Current path
19.cd.. : Switch to Parent directory
20.TAB: If you forget the command, you can complete the command you entered
21.ls-a: Show hidden Files (hidden files starting with.)
22.CD ~: Go directly to the current user's home directory
23.CD-: Returns the last directory in which it was located
24.CP file directory + Space + destination file directory: Copy the file to the target path
25.CP file directory + Space + destination file directory +new_name: Rename after copy to destination path
26.alias + Custom character = ' command ': Custom character is the alias of the command
27.cp-r: File directory recursive copy
28.MV Current directory destination directory: Move files from the current directory to the target directory
29.MV current file name target file name: rename
30.mkdir: Create a file or directory
31.mkdir-p: Recursive creation of file directories
32.touch: Create a text document (you can add a table of contents above)
33.rm-f: Delete directly (without prompting for information)
34.RM-RF: Deleting the library and running does not explain (use cautiously)
35.cat+ file path: View command to display file contents directly
36.head+ file path: Displays the first few lines of the destination file (the first 10 lines of the default file)
37.tail+ file path: Display the destination file after a few lines (default after 10 lines)
38.tail-f: Dynamically view file contents (can be used to view logs)
39.more: Percent View file (Ebter page Down)
40.less: View the contents of the file (page up and down)