ln [options] ... Target Link Name
-S,--symbolic create symbolic links instead of hard links
Description: Creates a hard link by default.
Hard Links:
1. Only the file can be created, not the directory.
2. Cannot be created across file systems (partitions).
3. Creating a hard link increases the number of hard links.
Symbolic Links:
1. You can create a link to the catalog.
2. Can cross file system.
3. Do not increase the number of hard links.
4. The size is the number of characters for the specified path.
Usage: du [options] ... [File] ...
Calculate the disk usage for each file, and the directory will take the total amount.
-A,--all the disk usage of all files, not just the directory
--apparent-size displays surface dosage, not disk usage, although surface dosage is usually
Smaller, but sometimes it can be because of the "hole" between sparse files, internal broken
Not directly referenced blocks, and other reasons.
-B,--block-size= size block with specified number of bytes
-B,--bytes equals--apparent-size--block-size=1
-C,--total display total information
-D,--dereference-args remove symbolic connections listed on the command line
--files0-from=f the file name that ends with NUL in the computed files F corresponds to the disk space occupied
If the value of F is "-", the file name is read from the standard input
-H equals--dereference-args (-D)
-H,--human-readable display dimensions in a more readable manner (e.g. 1K 234M 2G)
--si is similar to-H, but uses 1000 as the base instead of 1024 when calculating
-K equals--block-size=1k
-L,--count-links if it is a hard connection, calculate its dimensions multiple times
-M equals--block-size=1m
-L,--dereference find out the true destination of any symbolic link indication
-P,--no-dereference does not follow any symbolic link (default)
-0,--null each blank line as 0 bytes instead of line break
-S,--separate-dirs does not include the amount of sub-directories
-S,--summarize only calculates the total amount of each parameter in the command column separately
-X,--one-file-system skips directories on different file systems
-X,--exclude-from= file excludes files that match the pattern described in the specified file
--exclude=pattern exclude files that match the patterns described in pattern
--max-depth=n Show catalog totals (use calculation files with--all)
When n is the specified value, the calculation depth is n;
--max-depth=0 equals--summarize.
--time Displays the last modified time for all files in the directory or subdirectory
--time=word Displays the WORD time, not the modified time:
Atime,access,use,ctime or Status
The--time-style= style displays the time in the specified style (the style interpretation rule is the same as the "date" command):
Full-iso,long-iso,iso,+format
Disk and File System Management II (command)