A friend of mine wanted me to teach the use of Linux, so I did an entry-level tutorial based on the relevance of the command.
as follows: (if you want to download Word file save, please download)
----------------------------------- I'm a naughty up and down split line -----------------------------------------
1. How to Open the terminal (the system I am demonstrating is Linux Mint)
A. Click the terminal icon
B. Right-click on the desktop and select Terminal in the right-click menu
C. ctrl+alt+t
2. pwd command: View current path
"/" stands for the root directory, similar to Windows C disk.
3. CD command: Change the current directory
".." represents the top level directory, "." Represents the current directory.
4. ls command: View the list of files under the current path
Ls-a: Show all files, including hidden files (in Linux, hide file names with '. ') Beginning
Ls-l: Displays all information about the file, including permissions, user, size, access time, etc.
5. Touch command: New file
6. mkdir Command: Create a new Folder
In Linux, the suffix name of the file does not have the size of Windows, only as the identity.
7. gedit Command: Edit text file
8. Touch Command: View the contents of a text file in a terminal
9. CP command: Copy files
CP <src><dest>
'-R ': Copy Folder
Ten. mv Command: Move files (equivalent to copy after cut)
RM command: Delete files
-F parameter: Force delete file, do not prompt whether delete
-R parameter: Recursive Delete to delete the folder and all files in it
-RF parameters: The combination of-R and-F
Tab key
You can use the TAB key to auto-complete when you enter commands and subsequent arguments
Examples of the most common commands used by Linux (10 with graphs)