the command "ls -l"

Hogue, Russ rhogue at harrisinteractive.com
Sun Oct 17 00:16:22 UTC 2004


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 at redhat.com on behalf of Yagnesh Gajjar
Sent: Sat 10/16/2004 8:10 PM
To: redhat-list at redhat.com
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 at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list