The administrative infomation is stored in the inode. It contains information such as how long it is, where the contents of the file are stored on disc etc.
System's internal name for a file is its i-number.
$ ls -lut
$ ls -lct
$ ls -i
$ ls -ict
'rm' command is for removing a file. 'mv' command is for moving and renaming the files.
$ rm filename1 filename2
$ mv filename1 filename2
The -ut lists the file in order of usage time. -ct lists the files in the order of inode change time. The '-i' option is for listing the i-numbers of the directories contents. '-ict' lists inode number in order of the modifications in the inode (most recently first).
No comments:
Post a Comment