TAILIEUCHUNG - 7 More Red Hat® Linux™ Tips and Tricks

Are you looking for a quick and simple reference guide to help you navigate Red Hat® LinuxTM systems? Look no further. Global Knowledge and Red Hat have assembled a second set of Tips and Tricks written by Red Hat Certified Engineers® (RHCEs) to give you an edge on managing these systems: 1. If a file has a link count greater than 1, is there a simpler way to find out what other file names are hard-linked to it? 2. Which interface is eth0? 3. Quick-and-dirty automounts 4. How can I make dd give me a progress report? 5. Tar vs. Star—The battle of xattrs 6. New default. | Written and Provided by Global Knowledge red hat Expert Reference Series ofWhite Papers 7 More Red Hat Linux Tips and Tricks 1-800-COURSES 7 More Red Hat LinuxTM Tips and Tricks Introduction Are you looking for a quick and simple reference guide to help you navigate Red Hat Linux systems Look no further. Global Knowledge and Red Hat have assembled a second set of Tips and Tricks written by Red Hat Certified Engineers RHCEs to give you an edge on managing these systems 1. If a file has a link count greater than 1 is there a simpler way to find out what other file names are hard-linked to it 2. Which interface is eth0 3. Quick-and-dirty automounts 4. How can I make dd give me a progress report 5. Tar vs. Star The battle of xattrs 6. New default mount options in Red Hat Enterprise Linux 5 7. How do I enable logging so that I can see all the queries on my DNS server 1. If a file has a link count greater than 1 is there a simpler way to find out what other file names are hard-linked to it by Steve Bonneville Red Hat Certified Engineer The obvious answer is that you can t by just looking at the inode the inode only contains a link count not a list of the file names that are hard-linked to the inode. So you need to walk through the filesystem looking for files that have the same inode number as the file of interest. The not so obvious solution is that the find command can do this searching for you once you ve determined the inode number for the file with ls -i. For example find home -mount -inum 78442 works nicely to find all file names using inode 78442 on the filesystem mounted on home. The -mount option is necessary to avoid accidentally searching other filesystems mounted on subdirectories of the home filesystem since inode numbers are only unique within a given filesystem. It is also very important to start the find at the mount point for the filesystem being searched or some files might be missed by find. Copyright 2007 Global Knowledge .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.