LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 01-03-2006, 05:25 AM   #1
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Rep: Reputation: 30
ls column description


Code:
[root@myserver mydir]# ls -l 
total 325
-rw-------  1 root     root         654 Dec 20 04:00 filename1
-rw-------  1 root     root        9559 Dec 20 04:00 filename2
-rw-------  1 root     root         250 Dec 20 04:00 filename3
-rw-------  1 root     root        1443 Dec 20 04:00 filename4
-rw-------  1 root     root       11371 Dec 20 04:00 filename5
.
.
.
.
I would like to know what these coulmns mean - any source for description of columns ?

Thanks
 
Old 01-03-2006, 05:48 AM   #2
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Type this at a command propmt
man ls
or try this
info ls

Quote:
-rw------- ---> File Attributes
1 ---> Link Count (Tells total number of references to
the file as happens in case of shortcuts or
symoblic links. If you see 2 or 3 in this column
it means there are some shortcuts elsewhere that
point at the file in question )

root ---> User name who owns this file
root ---> Group name who have access to this file
654 ---> File permissions in mueric format
Dec 20 04:00 ---> Modified date and time
filename1 ---> Name of the file

Last edited by kevkim55; 01-03-2006 at 05:54 AM.
 
Old 01-03-2006, 06:00 AM   #3
anjanesh
Member
 
Registered: Sep 2004
Location: Navi Mumbai
Distribution: Ubuntu 12.04 64-bit
Posts: 230

Original Poster
Rep: Reputation: 30
Thanks
Quote:
654 ---> File permissions in mueric format
Isnt this the file-size ?
 
Old 01-03-2006, 07:10 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Of course it's the file size (typically the number of bytes).
"ls" already printed the file permissions in ascii format, it won't reprint them in numeric format on the
same line.
 
Old 01-04-2006, 04:31 AM   #5
kevkim55
Member
 
Registered: Dec 2005
Location: Edmonton
Distribution: BLFS, Gentoo
Posts: 353

Rep: Reputation: 32
Sorry man ! Yep, it indeed is the file size ! I dunno why I said itz file permissions in numeric format ! Err ! Did I type mueric in place of numeric ? !(&*&*^&*^
 
Old 01-04-2006, 04:45 AM   #6
mjjzf
Member
 
Registered: Feb 2004
Location: Valby, Denmark / Citizen of the Web
Distribution: Slackware 14.1
Posts: 879

Rep: Reputation: 38
While this introduction is a bit dated, it explains the basics quite well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Package Description hus Linux - Software 6 05-16-2005 12:59 PM
logrotate description pharmhand02 Linux - Software 5 08-02-2004 09:18 AM
/etc/services description gmarais Linux - General 4 03-03-2004 04:10 AM
checkinstall description. e1000 Slackware 1 10-22-2003 12:48 AM
TripWire, need brief description Robert0380 Linux - Security 2 01-13-2003 09:25 AM


All times are GMT -5. The time now is 11:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration