Linux Stat Command and AIX istat command (view file modification time)

Source: Internet
Author: User

In the work, often execute some regular script, before each execution we should check whether the script has changed, to prevent someone in the script to insert a dangerous command, here is a command is very useful, you can familiarize yourself.

1、AIX 系统命令istat$ istat init+ASM.oraInode 111666 on device 10/15    FileProtection: rw-r--r--   Owner: 511(grid)                Group: 511(oinstall)Link count:   1         Length 5242 bytesLast updated:   Fri Mar 16 08:54:36 CST 2018Last modified:  Fri Mar 16 08:54:36 CST 2018Last accessed:  Fri Mar 16 08:55:09 CST 2018$ 2、Linux 系统命令stat<roidb1:+ASM1:/u01/app/11.2.0/grid/dbs>$stat init.ora  File: `init.ora‘  Size: 2851            Blocks: 8          IO Block: 4096   regular fileDevice: 802h/2050d      Inode: 525078      Links: 1Access: (0644/-rw-r--r--)  Uid: ( 1100/    grid)   Gid: ( 1000/oinstall)Access: 2017-09-15 22:14:13.152000003 +0800Modify: 2009-05-15 13:35:36.000000000 +0800Change: 2017-09-15 22:05:30.971000003 +0800<roidb1:+ASM1:/u01/app/11.2.0/grid/dbs>$

Linux Stat Command and AIX istat command (view file modification time)

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.