RE: the command "ls -l"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



d - is a directory
c - is a character special file (this file is read or write one character at a time)
b - is a block special file (this file is read or write a block at a time)
 
Both the "c" and the "b" file types are usually used for referencing hardware or devices.
 
A regular file is denoted by a "-" as the first character.
 
Russ

________________________________

From: redhat-list-bounces@xxxxxxxxxx on behalf of Yagnesh Gajjar
Sent: Sat 10/16/2004 8:10 PM
To: redhat-list@xxxxxxxxxx
Subject: the command "ls -l"



the command "ls -l" shows many things along with the file name, time
stamp......etc. we see something similar to
-rwxrwxr--  3 root root 345 sep 20 2004 20:23 am test
brwxrwxr--
crwxrwxr--
drwxrwxr--
here what d, c, b denote. moreover what 3 stands for
same command in the directory dev shows different
-rwxrwxr--  3 root root 13, 345 sep 20 2004 20:23 am test
-rwxrwxr--  3 root root 27, 3456 sep 20 2004 20:23 am test
here what does 13 and 27 show....?

Yagnesh Gajjar
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux