In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-03 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "Linux how to read the details of the file", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's ideas slowly in depth, together to study and learn "Linux how to read the details of the file" bar!
Stat in Linux is the command to read the details of the file.
1. Command format:
Stat [options] file name / directory name
2. Options:
-f: read the file system information, not the file information.
3. Case
Case 1: "look at the details of the file
Stat demo.txt
Simple explanation (black font):
# File name
File: `demo.txt'
# File size # number of block occupied # Block size # File Type
Size: 665 Blocks: 8 IO Block: 4096 regular file
# # Node number # number of links
Device: fc01h/64513dInode: 1051650 Links: 1
# permission # owner # Group to which it belongs
Access: (0664) Uid: (508 / odysee) Gid: (508 / odysee)
# access time
Access: 2019-04-08 16 purl 21purl 42.127017064 + 0800
# data modification time
Modify: 2019-04-08 16 purl 21purl 40.888006303 + 0800
# status modification time
Change: 2019-04-08 16 purl 21purl 40.888006303 + 0800
Case 2: looking at file system information
Using the-f option, instead of looking at the specified file information, you are no longer looking at the information of the file system on which the file resides.
Thank you for your reading, the above is the content of "Linux how to read the details of the file", after the study of this article, I believe you have a deeper understanding of the problem of how Linux read the details of the file, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.