English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

And is 'proc' standing for something here or is it a bunch of modifiers bunched together?

I'm running ubuntu dapper, I understand what the permissions and users means, but I don't know why these specific files are listed. tia.

2007-04-20 08:25:00 · 2 answers · asked by Jeremy 2 in Computers & Internet Software

2 answers

From the "man ls" page (in my case from a Solaris 10 system so yours may differ):

-p Puts a slash (/) after each filename if the file is a directory.
-r Reverses the order of sort to get reverse alphabetic or oldest first as appropriate.
-o The same as -l, except that the group is not printed.
-c Uses time of last modification of the i-node (file created, mode changed, and so forth) for sorting (-t) or printing (-l or -n).

"proc" is a group of options.

2007-04-20 08:32:31 · answer #1 · answered by Jim Maryland 7 · 1 0

do a man ls from the command or

go to..

http://www.rt.com/man/
Look up the ls command and it will give you a description.

I logged into my linux machine and here is the output from it. It should be the same in unix.

I did a ls first to look at what is in the directory.

RJ


Last login: Wed Apr 18 18:25:17 2007
[z@Patterson ~]$ ls
bin ddclient Desktop documents
[z@Patterson ~]$ ls -proc
total 32
drwxr-xr-x 2 z 4096 Apr 18 19:26 documents/
drwxr-xr-x 3 z 4096 Apr 19 20:37 Desktop/
drwxr-xr-x 3 z 4096 Apr 17 16:23 ddclient/
drwxr-xr-x 2 z 4096 Apr 19 20:32 bin/
[z@Patterson ~]$

2007-04-20 15:35:39 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers