1 2 3 4 5 6 7 8 9 10 | # istat /usr/bin/ksh Inode 18150 on device 10/8 File Protection: r-xr-xr-x Owner: 2(bin) Group: 2(bin) Link count: 5 Length 237804 bytes Last updated: Wed Oct 24 17:37:10 EDT 2007 Last modified: Wed Apr 18 23:58:06 EDT 2007 Last accessed: Mon Apr 28 11:25:35 EDT 2008 |
1 2 3 4 | # df /usr/bin Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd2 16056320 1925384 89% 110034 33% /usr |
1 2 3 4 5 6 7 8 9 10 11 12 13 | # istat 18150 /dev/hd2 Inode 18150 on device 10/8 File Protection: r-xr-xr-x Owner: 2(bin) Group: 2(bin) Link count: 5 Length 237804 bytes Last updated: Wed Oct 24 17:37:10 EDT 2007 Last modified: Wed Apr 18 23:58:06 EDT 2007 Last accessed: Mon Apr 28 11:44:20 EDT 2008 Block pointers (hexadecimal): 11620 ef8c0 |
1 2 3 4 5 6 7 8 9 | # stat /bin/bash File: `/bin/bash' Size: 722684 Blocks: 1432 IO Block: 4096 regular file Device: fd00h/64768d Inode: 12799859 Links: 1 Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root) Access: 2008-04-06 19:13:50.000000000 -0400 Modify: 2006-07-12 03:11:53.000000000 -0400 Change: 2007-11-22 04:05:30.000000000 -0500 |
1 2 3 4 | # ls - -- -p fileA fileB fileC fileD fileE fileF fileG fileH fileI fileJ fileK fileL |
1 2 3 4 5 | # ls –i 38988 38991 -p 38984 fileC 38982 fileF 38977 fileI 38978 fileL 38989 - 38980 fileA 38986 fileD 38983 fileG 38987 fileJ 38990 -- 38979 fileB 38976 fileE 38985 fileH 38981 fileK |
1 | # find . -inum 38988 -exec rm {} \; |
1 | # find . -inum 38989 -exec mv {} fileM \; |
1 2 3 4 5 | # ls -i 38990 -- 38979 fileB 38976 fileE 38985 fileH 38981 fileK 38991 -p 38984 fileC 38982 fileF 38977 fileI 38978 fileL 38980 fileA 38986 fileD 38983 fileG 38987 fileJ 38989 fileM |
1 | # fsck –p /dev/hd1 –y |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |