File naming rules:
1. Strictly case-sensitive;
2. The length cannot exceed 255 characters;
3. Cannot use/when file name
mkdir: Creating an empty Directory
-p:parent, parent directory, step-by-step creation
-v:verbose, printing details
Cases:
mkdir-pv/mnt/licai/a/m/mnt/licai/n
Mkdir-pv/mnt/licai/{a/m,n} (Command line expansion)
~username (wavy line expansion)
Create Directory A_b,a_c,d_b,d_c
MKDIR-PV/MNT/TEST/{A,D}_{B,C}
Tree + directory Name: View directory tree
Delete directory: rmdir, only empty directory can be deleted
-P
File creation and deletion
Touch: Changes the timestamp of the file. If the file does not exist, create the
-a:access, change access time only
-C: Do not create files
-m:modify, change the modification time only
-t:stamp, specify the time
Touch NEW: Create new file, cannot create new directory
Stat: Displays file or file system status information
Stat NEW: Displays information about the file new
Create a file using the file editor
Nano Hello
Delete files/directories: RM Hello
-i:interactive, Interactive
-f:force, forcing delete
-r:recursive, recursively delete directory
Rm-rf
\RM Hello Restore command itself
Command alias: Alias
RM, Rm-i
LS, ls--color=tty
Linux directory and file operations