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
In the hint: many of the translation of Ubuntu is literal literal translation, there are many problems, so I suggest you refer to my explanation here. Of course, it was also some of the suspicion of the text, I hope.
Often operate on Linux, have a
Linux ln command example
There are two types of links: hard link and symbolic link ). When creating a hard link, the linked file and the linked file must be in the same file system, and cannot establish a hard link to the directory. This problem
It is not possible to copy the problem when compiling the LIBNL library for copying to other machines, because the SD card is the FAT32 file system format, and the file system does not support ln soft link file under
About LNLn creates links between files.DescriptionLN creates a link to file TARGET with the name linkname. If linkname is omitted, a link to TARGET was created in the current directory, using the name of the Targ ET as the linkname.Ln creates hard
Ln commandPurpose: link a file.Syntax1> link a file to a fileLn [-f |-N] [-S] sourcefile [targetfile]2> link one or more files to a directoryLn [-f |-N] [-S] sourcefile... TargetdirectoryDescriptionThe ln command links the file specified in the
Linux, Learning progress together ~MkdirThe mkdir command is used to create directories. It works like this:The mkdir command is used to create a directory, so use:mkdir directory ...A Note on notation: When three periods follow an argument in the
Linux hard link and soft link, linux Link
In a Linux File System, disk blocks are divided into three parts. A part is called a data zone and used to store the file content. Another part is called inode table, which is used to store file attributes.
Ln command
Purpose: link a file.
Syntax
1> link a file to a file
Ln [-f |-N] [-S] sourcefile [targetfile]
2> link one or more files to a directory
Ln [-f |-N] [-S] sourcefile... targetdirectory
Description
The ln command links the file specified in
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
1: Create file: Touch file nameThe touch command can also change the access time and modification time of an existing file without changing the contents of the file.Change modification time only touch-m file nameChange access time only touch-a file
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
In Unix-like systems, symbolic links are very common and we will encounter various processing tasks related to symbolic links.This article introduces some practical methods for handling symbolic links. I hope to help you write shell scripts. For
The ln command is used to create a connection for a file, the connection type is divided into two types of hard and symbolic connections, and the default connection type is hard connection. If you want to create a symbolic connection, you must use
Index node inode:Linux assigns an index node number to each file. inode can be simply understood as a pointer, which always points to the specific storage location of the file on the physical disk. The system locates each file by indexing nodes
Release date: 2011-11-24Updated on: 2011-11-25
Affected Systems:Linux kernel 2.6.xDescription:--------------------------------------------------------------------------------Bugtraq id: 50809Cve id: CVE-2011-3632
Linux is the kernel of a free
VFS File System Structure Analysis and vfs System Structure Analysis
This article was originally published by fireaxe and can be freely copied and reproduced using GPL. However, for reprinting, please maintain the integrity of the document and
VFS File System Structure Analysis
This article was originally published by fireaxe and can be freely copied and reproduced using GPL. However, for reprinting, please maintain the integrity of the document and indicate the original author and
Bash shell Command (1), bashshell command
Address:Http://www.cnblogs.com/archimedes/p/bash-shell1.html, Reprinted, please specify the source address.Ls command
Ls is used to list the contents of a directory. It is one of the most commonly used
Guide
In Unix and its derivative, such as Linux, everything can be considered a file. Although it is only a general concept, it is true. If there is not a file, then it must be a running process.
To understand this, for example, 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.