In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, I want to introduce you to the Linux command to view file details. The content of the article Xiaobian think good, now to share with you, think there is a need for friends can understand, hope to help everyone, the following with the idea of Xiaobian to read together.
In Linux, files have access time, data modification time, and state modification time, but no creation time. stat is the command to view file details.
1. Command format:
stat [options] filename/directory name
2. Options:
-f: Check the file system information where the file is located instead of checking the file information.
3. Cases
Case 1: Looking at the details of the file
stat demo.txt Simple explanation (in black font):
#file name
File: `demo.txt '#file size #number of blocks 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
Access: (0664/-rw-rw-r--) Uid: ( 508/ odysee) Gid: ( 508/ odysee)#Access time
Access: 2019-04-08 16:21:42.127017064 +0800#Data modification time
Modify: 2019-04-08 16:21:40.888006303 +0800#Status modification time
Change: 2019-04-08 16:21:40.888006303 +0800
Case 2: Looking up file system information
Using the-f option, instead of viewing information about the specified file, you can view information about the file system in which the file resides.
The above is the Linux view file details command is what the whole content, more and Linux view file details command is what related content can be searched before the article or browse the following article to learn Ha! I believe that Xiaobian will add more knowledge to everyone, I hope you can support it!
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.