- linux--All Documents
- PWD: View your current directory
- '/': root directory
- CD: Switch directory eg.cd/switch to root directory
- LS: View the current root directory with several disks, several files
- Ls-l: View Details (the first character is the d--> table of contents)
- LS-LH: User-friendly Display file list
- Cd.. : Returns to the previous level directory
- Vim file name--Enter-->i Enter insert mode input--press ESC to exit-simultaneously hold ' shift ' + ': ' and enter Wq to save the file and exit
- Vim. File name: Create a hidden file
- Ls-a: Show hidden files
- Cat file Name: View file contents
- More filename: Slowly viewing the contents of a file
- mkdir directory: Creating a new Directory
- MV FileName Directory Name: Move the file to another directory
- Mkdir-p Directory 1/directory 2/directory 3/.../: Creating a directory recursively
- Tree Directory 1: Display the table of contents 1
- Man command: Query Help
- Command--help: Simple Help
- Help CD: View some Linux built-in commands
- CP files/Directories: Copying files to the directory
- Find path-name "file name": Find File (* file name *--fuzzy query) "Query by file name"
- Find Path-size +90m | Xargs ls-lh "Query by Size"
- Touch Path/File name: Create file
- RM File: Delete file (dangerous!) )
- Tar zcvf name. tar.gz file 1 File 2 ... : Package A file
- FREE-M: Viewing server memory usage
- IP A: View current IP Address
- Useradd User name: Create user
- Chown. Genus Group file name: Owner and owner of modified file
- r--Read permission (4) w--Write permission (2) x--Execute permission (1)-—— no permissions (0)
- chmod Right (eg.777) file name: Modify file Permissions
- DF: View Linux disk usage
- Df-h: User-friendly display of disk usage
- Top: Viewing system performance (input Q exit)
- Kill process Number (PID): End a process
- cpu:user--user processes account for CPU IDLE--CPU idle rate of CPU system--OS itself iowait--cpu wait io time than
Python Full stack Development--linux command Learning