SLIDE 10 Tuesday, August 31 CS 375 UNIX System Programming - Lecture 2 10
File Information
Use “ls -l” to display complete file info:
$ ls -l drwxrwxr-x 11 hwang faculty 4096 Jul 25 10:43 qt
- rw-r--r-- 1 hwang faculty 6455 Aug 19 14:53 readme.txt
lrwxrwxrwx 1 hwang faculty 23 Aug 8 12:59 rt -> a.txt prw-rw-r-- 1 hwang faculty 0 Aug 27 15:18 mypipe
Shown: file type, permissions, # of hard links,
- wner, group, size, last modification time, and
name.
File type is indicated by first character
d Directory l Soft link p Named pipe c Char device b Block device