Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/examples/ls.html
Дата изменения: Fri Jan 17 12:43:16 1997 Дата индексирования: Mon Oct 1 22:48:36 2012 Кодировка: Поисковые слова: п п п п п п п п п п п п п |
To do a 'long' list of a single file in your current directory:
ls -l file1 -rw-r--r-- 2 unixjohn doc 3287 Apr 8 12:10 file1
This displays the following information about the file file1:
-rw-r--r-- (access permissions) 2 (number of links to this file) unixjohn (owner) doc (group ownership) 3287 (size in bytes) Apr 8 12:10 (date and time last modified)
To do a long list of all the files in your current directory:
ls -l -rw------- 1 erpl08 iss 4307 Jun 17 10:00 FAQ.xdh drwx------ 2 erpl08 iss 1024 Jun 17 10:00 SCCS -rw------- 1 erpl08 iss 15119 Jun 17 10:00 commands.xdh -rw------- 1 erpl08 iss 266 Jun 17 10:00 concepts.xdh
This displays the following information about every file and directory in your current working directory.
d (this is a directory) rwx------ (access permissions) 2 (number of links) erpl08 (owner) iss (group ownership) 1024 (size in bytes) Jun 17 10:00 (date and time last modified)