the command "ls -l"

Yagnesh Gajjar yagnesh at vigorsoft.com
Sun Oct 17 00:47:09 UTC 2004


What is the case of block and character file the major and monior character 
number?
Thanks for the info...of the other paramters
Yagnesh.

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]On Behalf Of Steve Phillips
Sent: Sunday, October 17, 2004 6:05 AM
To: General Red Hat Linux discussion list
Subject: Re: the command "ls -l"


On Sun, 17 Oct 2004, Yagnesh Gajjar wrote:

> here what d, c, b denote. moreover what 3 stands for
> same command in the directory dev shows different

d = directory
c = character special file
b = block special file

(as described in the previous e-mail)

> -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....?

Are you sure you copied those correctly ?

the number after the permissions (rwx etc etc) denotes how many hard links 
the file has associated with it, the next two fields denote the user and 
group who own the file, the next field denotes the size of the file, or 
in the case of block and character file the major and monior character 
number, you then have a datge field (that can change dependant on the flag 
used but denotes last accessed time (I think by default)) and then the 
filename.


-- 
Steve.

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
---
Incoming 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

---
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




More information about the redhat-list mailing list