First, view directory: LS (list)
LS lists the current directory file (excluding hidden files)
Ls-a list current directory files (including hidden files)
Ls-l list the files in the current directory for more information
Second, switch directory: CD (changedirectory)
Cd.. Back to the top-level directory of the current directory
CD-Back to the same directory
CD ~ or CD back to the current user's host directory
Iii. Creating a directory: mkdir (makedirectory)
mkdir directory name Create a directory
Iv. rmdir (removedirectory)
RmDir Empty directory name Delete an empty directory
V. RM (ReMove)
RM FileName File name Delete a file or multiple files
RM-RF non-empty directory name delete everything under a non-empty directory
VI, MV (MOVE)
MV Road Warp/File/path/file movement relative to the path of the file to the absolute path
MV FileName New name renamed in current directory
Vii. Copying files/directories: CP (copy)
CP (source file or directory name) (destination directory or file name)
The cp-r command can copy any directory you specify (note: Include files and subdirectories in that directory)
Viii. Find Files/directories: Locate (file or directory name)
Ix. PWD Displays the current directory, PWD = Print working directory
X. DF Display file system spatial information
Df-h using M and G to display file system spatial information-H means human-readable
Xi. du displays spatial usage information for a directory
Du-sh/media/floppy-s meaning summary-h meaning human-readable
12, Ifconfig display System network
13, man shows the manual of a command
14. Switch to root user, enter "sudo-i" or "sudo su-", Exit "Exit"
Ubuntu Linux Terminal Command Learning (one)