1. Soft Connect command: The abbreviation for ln <link >
ln-s [Original file] [target file] (renamed)
Function Description: Generate link file
-S: Create a soft connection (generate a link file from the original file)
Hard-Link Features:
1. Having the same I node and storing block blocks can be seen as a file
2. Can be identified by the I node
3. Cannot span partitions
4. Cannot be used for directories (only files can generate hard links)
Soft Connection Features:
1. Windows-like shortcuts
2. The soft connection has its own I node and block blocks, but the data block only saves the original file name and I node name, and there is no actual file data
3.LRWXRWXRWX (l soft Connect) permissions are: rwxrwxrwx
4. Modify any file and the other changes
5. Delete the original file, soft connection cannot be used (create soft connection file path to write absolute path)
Third, File Search command
1. File Search Command 1:locate
Locate file name (search by file name in background database, search several faster)
Background database searched by the Locate command (new folder or file not found)
Use the UpdateDB command to update the database to find the new file or directory
Note: tmp/directory locate does not search
Locate can only search by file name
2, File Search command 2:whereis and which
I:whereis file name (the path where the search command is located and the location of the help document)
Option:-B: Find the executable file only
-M: Find only help documents
Ii:which File name (Search command path and alias)
Linux Basic command Format (3)