Fu Chen Yao linux operating 2019.12.11

 

1. master pwd command functions: to determine where the working day is now recorded

2. Master function cd command; to switch the current directory

3. Master "cd .." command; I enter the parent directory

4. Master "cd ~ '' Command: switch to the user's home directory

The master "cd '' command: the same cd ~, can also be switched to the user's home directory

6. master "cd -" command; before switching to the user working directory

7. grasp "cd directory name" command: switch to the specified directory

⑴ grasp the function of the ls command: list the contents of the current directory (defaults to the current date recorded) or specified directory

⑵ grasp the command ls -a: lists all files in the directory, including hidden files that begin with. ""

4) master 1. -1 followed: a directory lists the details of each file

Master function cp command; the file (may be more) to replicate a specified date or copy files to a specified target directory.

Master cp command commonly used options: cp source file destination

1. Grasp the mv command functions: not only can move files and directories, you can also rename files and directories between different directories.

2 master mv command usage example: (a) an example of the move of files and directories to bubydog bigdog directory name command:. Mv lists babydog, (b) renaming files and directories example: the directory name to bigdog babydog command: mkdir dadgog

(1) master the mkdir command Function: Create a new directory

(2) master the mkdir command usage example: Create a directory daddog command: mkdir dadgog

1. master touch command function: You can create an empty file, or you can create multiple files simultaneously

2

Guess you like

Origin www.cnblogs.com/chenfuyao001/p/12024654.html