First, you need to understand that in Linux, the kernel assigns an inode (index node) to each newly created file, and each file has a unique inode number. The file attributes are stored in the index node. when accessing the file, the index node is
For a long time, Linux connections have been a little ignorant, and there are also some problems in use. These two days, I carefully checked the information on the Internet and carefully understood the hard links and soft links on Linux.
Link ------
Inode: In Unix systems, each file has an inode, which is identified by an inode number. Inode contains the user of the file and the owner of the group, the access mode (read, write, and execute permissions), and the file type.
Fat and NTFS are
Linux File timeGuideThe file time is the file access time, modification time, and change time. Atime is called the access time in the Linux file system. When the file content is accessed, the time is updated. mtime indicates that when "content data"
In linux, there are 7 types of files: common files, directories, link files, character device files, block device files, socket files, and fifo files. In general, we should be able to guess the most common and directory files, but what is the
Commands that must be mastered in Linux-------------------- Grep ---------------------- working method: search for a string template in one or more files. If the template contains spaces, all strings after the template is referenced must be
One troubleshooting-when the disk clearly has space, but it cannot be written in, the disk will be troubleshooting
One week at work today, I finally started to operate and maintain the platform and encountered the first practical error.
Today, I
Atitit. Software gui button and panel --- OS zone ----- soft link, shortcut, atitit --- OS
Atitit. Software gui button and panel --- OS zone ----- soft link, shortcut
1. Hard link 1
2. 2. Soft link (symbolic link) LN 1
3. Delete link 2
4.
Linux find command usage Summary
The find command is one of the most common commands in Linux. Here are some common usage summaries.
1. Search by file name.Search for all files ending with txt in the current directory. The second command uses
Differences between soft links and hard links
1. Hard link:
Command: link source_file target_file or ln source_file target_file
Features: hard link file names are different, but they have the same inode number. Deleting a hard-link file does not
The last time I released the linux intrusion Monitoring System LIDS, it was very busy and messy. Maybe you can't see anything. Now I am sorting out other materials. Now I have a part of it. I will show it to you later.
I. Intrusion
With the increase
One week at work today, I finally started to operate and maintain the platform and encountered the first practical error.Today, I encountered an alarm saying that the disk cannot be written and I checked the disk space.When DF-H is used to find that
Sender: zhllg (r0bertz a Gentoo D org), email area: linuxdevTitle: Re: Is unlink the file to be deleted in Linux?Mail station: Shui muCommunity(Tue Oct 14 23:34:50 2008), Station
[In testking (don't fuck your time !) As mentioned in the masterpiece
For a long time, Linux connections have been a little ignorant, and there are also some problems in use. These two days, I carefully checked the information on the Internet and carefully understood the hard links and soft links on Linux.
Link -----
// I find that I can't learn something in depth. The key point is that I didn't take notes. I remember all the things I learned for the time being. It will take a long time to forget them, now, I want to hear a good speech from a senior engineer and
Name
Stat, fstat, lstat-Get File statusSynopsis
# Include # Include # Include
Int Stat (const char *Path, Struct stat *Buf);Int fstat (int FD, Struct stat *Buf);Int lstat (const char *Path, Struct stat *Buf);
Feature test macro requirements for
HTTP protocolFor the HTTP protocol, refer to the following:HTTP协议漫谈 http://kb.cnblogs.com/page/140611/HTTP协议概览 http://www.cnblogs.com/vamei/archive/2013/05/11/3069788.html了解HTTP Headers的方方面面 http://kb.cnblogs.com/page/55442/When we enter www.linux17
DF View Total disk capacity-I display inodes number-h Displays the disk size in the appropriate units-m displays in units of M.-K Displays the default K displayDu is used to view a directory or the amount of space a file occupiesParameter:-abckmshIf
OverviewIn this article, you learn to create and manage hard links and symbolic links. Learn:
Create a hard or soft link
Identify links and know their types
Understand the difference between a copy and a linked file
Using links
9. Create symbolic links and hard-link commands Ln
Symbolic links (soft links) (Symbolic links)Ln-s ln--symbolicLn-s destination file (source file) Link file
You can also create symbolic links for a table of contents
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.