Home>Article>Operation and Maintenance> What folder starts with l in linux
In Linux, folders starting with l represent link files, where "l" is the abbreviation of "link", which means link; link files can be divided into soft links and hard links. You can use the ln command to create a link file, the syntax is "ln [option] source file target file".
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
"l" is the link file, and l means link.
Equivalent to windows shortcut;
Extension:
"b" is a block device, and the hard disk is an example;
"c" is a character device file, including mouse and keyboard;
"d" is a directory file, equivalent to a Windows folder.
Connected files: (link) Files starting with "l"
You can see that the attributes of these files are Starting with "l" means they are linked files.
Linux has two types of connection files: symbolic links (soft links) and hard links. Symbolic links are similar to shortcuts under Windows. Hard links generate new file names through inode connections in the file system rather than creating new files.
ln command is used to create a connection file:
ln [选项] 源文件 目标文件
Options: -s creates a symbolic link (soft link)
-f forces the creation of a connection file, if the target exists, then Delete the target file first, and then create the connection file.
Recommended learning:Linux video tutorial
The above is the detailed content of What folder starts with l in linux. For more information, please follow other related articles on the PHP Chinese website!