In h, h refers to a human perspective, which is displayed in the format of GB and MB. This is quite common and there are other options. You can use mandf to view the information you need.
View the disk and directory capacity.
Df and du
Df means Disk Free in English. The disk is empty.
In df-h, h indicates a human angle, which is displayed in the format of GB and MB. This is quite common and there are other options. You can use man df to view the data.
Du indicates the usage of Disk usage in English.
Run du-sh to view the file capacity of the current folder. S stands for summarize (overview. H is human.
The difference between du and df is that the du command actually goes back to the file system to find all the file data, so the du command runs back for a period of time.
Ln [-sf] source file target file
Ln directly creates a hard link without adding any parameters. if-s is added, it is a symbolic link. of course, it doesn't matter if soft link can remember this command.
Symblic is a symbolic symbol.
The differences between hard connection and soft connection are as follows:
The innode numbers of hard link are the same. However, the innode numbers of the soft connection (symoblic) are different. this is the most fundamental difference. Others are just representations.
Hard connection cannot be performed across file systems or directories. This soft connection can be used.