Linux Learning Log
The basic user interface mode is the shell, and the terminal is usually used to enter commands with this terminal.
F11 full screen, ctrl+shift+ "+" become larger, ctrl+-smaller.
Command format
command [parameters] [Action Object]
CMD options Opreation
CD ~ Back to user home directory
LS View the contents of the directory
./Current Directory
.. /Parent Directory
Ls-l
PWD can view the current working directory print working directory
Man command name can check command help
CD Switch Directory
Touch to create a file
CP Copy a file
CP Source File Destination file
Touch test.c
CP Test.c.bak
This copies a Test.c.bak backup in the directory.
CP test.c A\
This will be copied directly to the a sub-directory
The CP test.c A\test.bak is a copy of a backup.
CP test.c. The/test.c is copied to the parent directory. If a write-only directory name exists under the parent directory, the meta-file is overwritten.
RM is to delete files or directories.
The MV command changes the file name. MV Test.c.bak test.c Renaming the source file to the target file name
MV test.c 111.c Change the name to MV to move the file or directory to where you want to move it.
MV TEST.c A/
Move the text.c to the A directory.
Linux Learning Log