CIS 3355 Lecture Notes - Lecture 16: Inode, Mkdir, Rmdir

24 views3 pages

Document Summary

File inodes: linux uses index nodes, or inodes, to keep track of each file in the system. The inodes are hidden from view, only the operating system can access them: each inode is assigned a number, called the inode number, which linux uses to reference the file. Basic listing: use the ls f command to distinguish files from directories. It flags executable files (like the myprog file) with an asterisk, to make it easier to locate the files that can be run on the system. Basic listing: the ls r command displays files that are contained within directories in the current directory (called a recursive listing). If you have lots of directories, this can be quite a long listing: here"s a simple example of what the r parameter produces, f r. Desktop drwxr xr x 2 rich rich 4096 2014 11 01 04:06 documents : drwxr xr x 2 rich rich 4096 2014 11 01 04:06 videos.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents