Ls: list files and directories ls-l: list file and directory details ls-a: list all files and directories (including hidden directories) cp: copy file cp source file directory target directory cp-r: copy directory mv: move or rename file move and modify file name
Ls: list files and directories
Ls-l: lists detailed information about files and directories.
Ls-a: lists all files and directories (including hidden directories)
Cp: copy an object
Cp source file directory target Directory
Cp-r: copy Directory
Mv: move or rename a file
Move and modify the file name
Rm: delete an object
Rm-f: force delete
Touch: create an empty file or update the file time (if the file already exists)
File update time
Cd: change the current path
Absolute path: start with the root directory cd/home
Relative path: relative to the current directory cd home
Pwd: view the current full path
Mkdir: create a directory
Rmdir: delete an empty directory.
Rm-rf: delete directories and files
Cat: View files
More: View files on screen
Less: View files row by row
Date: displays and changes the current system time.
Cal: displays the system calendar.
Df: View disk information
Df-h
Du: disk space occupied by computing files or directories
Du-h
Head: view the content at the beginning of the file (10 rows by default)
Tail: View part of the content behind the file