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)