The command we use when using Linux is nothing more than command + options + parameters
Example Shutdown-h now shutdown/is the command to shut down-h/is the option now/is the parameter
Main learning File/directory operations: View, create, copy, delete, move, rename
View: cd/view ls/list files for the current directory. /return to the previous layer Ls/path list files under/path ls/path-l detailed path files
Example: View Usr/local/share
Example: Back to view usr/local
Create: mkdir/Create
Example: We are going to create a directory MP1
Example: We want to create two or more directories MP2 mp3
Example: We want to create a level two or multilevel directory Guangdong/maoming/dianbai
Creation failed: Could not create directory, no guangdong/maoming/dianbai such file or directory
If you encounter an error, you should dare to find the problem
Create a cascading catalog Mkdir-p/d1/d2/d3
Need to add a parameter-p
Replication: copy/copy cp/command-r/recursion
Example: We're going to copy MP2 to MP1.
Example: We want to copy MP1 's A.txt file into mp3
Delete: rmdir/Delete rm/command-r/represents loop iteration-f/coercion
Example: Deleting a a.txt file under MP1
Example: Deleting a directory used under MP1
Mobile: move/Mobile mv/Mobile
Example: Moving MP2 to MP1
Example: Moving MP1 under the MP2 move out
Renamed: mv/renamed
Example: MP1 converted to MP
This is the basic Linux command.
Give you one of my future---linux no:3 linux basic commands