A set_uidBefore we modify the user's login password, are operating as an administrator, such as we in the LV account, we usesudo passwd LV reset LV account password, at this time we directly get root permission to ignore the restrictions on file
1. Link concept:In the Linux system, the links can be divided into two kinds: one for hard links and the other for links or symbols (symbolic link or soft link).Before we talked about LN, the command was to create a link file, and in the case of no
Basic Introduction to Linux [Part 4], basic introduction to linux
Attributes and permissions of Linux Files And Directories
Command:
Column 1: inode (index node) index node number, which uniquely identifies a file or directory on a disk, in linux,
For a file, there is a unique index contact (inode) corresponding to it, but for an index contact number, there can be multiple file names corresponding to it. Therefore, the same file on the disk can be accessed through different paths. Note that
Linux linked filesSeveral Basic Concepts
Linux linked files can be divided into hard link and soft link ). To understand them, you must first understand several basic concepts.
Inode
In addition to pure data, files must also contain management
LN is another very important command in Linux, its function is to create a link for a file in another location, the most common parameter of this command is-s, which is the Ln–s source file destination file.When we need to use the same file in a
Linux system Hard links and soft links"Concept of linking"in the There are two types of links in a Linux system: one for hard linksand another for soft links or symbolic links (symbolic link or soft link). Ln This command is the command to create a
PrefaceThere are two kinds of links under Linux, one is similar to the Windows shortcut function file, you can quickly link to the target file (or directory), this is a soft link, the other is through the file system Inode link to generate new file
1 files and directories of Linux
Modern operating systems introduce files for long-term storage of information that can be stored independently of the process, and the logical units of the files that create information as processes can be used
Differences between hard links and soft links (symbolic connections), links and soft linksIn linux, ln commands are provided to link files. File links are mainly divided into hard links and soft links.
Hard link: Because files in linux are
It programmer development must-all kinds of resources download list, the most complete IT resources in history, personal collection summary.
One, ln command parameters
LN is another very important command in Linux, its function is to create a link
Files and directories for LinuxThe modern operating system introduces files to the solution for information that can be stored independently of the process by long-term storage, and the logical unit that the file creates information as a process can
Learn about Linux file systems from InodeHard links and soft links are an important concept in the Linux file system, which involves index nodes (index node, also called Inode) in the file system, and the index node object is one of the four basic
Hard links and soft links are an important concept in the Linux file system, which involves index nodes (index node, also called Inode) in the file system, and the index node object is one of the four basic concepts of the Linux virtual file system (
lnCommandThis command creates a link between the files. This kind of operation is actually to give a file that already exists in the system to specify another name that can be used to access it. For this new file name, we can specify different
This article was reproduced from: https://www.ibm.com/developerworks/cn/linux/l-cn-hardandsymb-links/Learn about Linux file systems from InodeHard links and soft links are an important concept in the Linux file system, which involves index nodes
Hard Link Knowledge points summary:1. Multiple files with the same inode number are hard-linked files.2, delete the hard link file or delete any of the source files, the file entity has not been deleted.3, only delete the source file and all the
Translator Note: Recently in the file system-related, whenever you read the inode related things, the book or blog will be related to hard link/soft link content, so today specifically for hard links translated a few English, understand it. One,
1 Hard Link conceptsA hard link is a link through an index node (inode) in a Linux (EXT2,EXT3) file system in which a file saved in a disk partition is assigned a number, which is called the Index node number (inode index) or inode. That is, the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.