Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
UNIX_podibni_OS / Unix подобные ОС Лаб. работа 1.doc
Скачиваний:
28
Добавлен:
17.03.2016
Размер:
110.59 Кб
Скачать

If no operands are given, the contents of the current directory are dis-

played. If more than one operand is given, non-directory operands are

displayed first; directory and non-directory operands are sorted sepa-

rately and in lexicographical order.

The following options are available:

-A List all entries except for . and ... Always set for the super-

user.

-B Force printing of non-printable characters (as defined by

ctype(3) and current locale settings) in file names as \xxx,

where xxx is the numeric value of the character in octal.

-C Force multi-column output; this is the default when output is to

a terminal.

-F Display a slash (`/') immediately after each pathname that is a

directory, an asterisk (`*') after each that is executable, an at

sign (`@') after each symbolic link, an equals sign (`=') after

each socket, a percent sign (`%') after each whiteout, and a ver-

tical bar (`|') after each that is a FIFO.

-G Enable colorized output. This option is equivalent to defining

CLICOLOR in the environment. (See below.)

-H Symbolic links on the command line are followed. This option is

assumed if none of the -F, -d, or -l options are specified.

-L If argument is a symbolic link, list the file or directory the

link references rather than the link itself. This option cancels

the -P option.

-P If argument is a symbolic link, list the link itself rather than

the object the link references. This option cancels the -H and

-L options.

..........................................

[ik11-04@target ~$]

К сожалению, большинство страниц руководства написаны с ориентацией на пользователей, имеющих некоторые представления о работе соответствующих команд. Поэтому страницы Руководства обычно содержат справочные данные по командам, а не учебный материал.

Команда info - выводит на экран информацию по той, или иной команде, содержащейся в файле <команда>.info

Пример :

[ik11-04@target ~$]info cp

File: cpio.info, Node: Top, Next: Introduction, Prev: (dir), Up: (dir)

GNU cpio is a tool for creating and extracting archives, or copying

files from one place to another. It handles a number of cpio formats as

well as reading and writing tar files. This is the first edition of the

GNU cpio documentation and is consistant with GNU cpio 2.4.

* Menu:

* Introduction::

* Tutorial:: Getting started.

* Invoking `cpio':: How to invoke `cpio'.

* Media:: Using tapes and other archive media.

* Concept Index:: Concept index.

--- The Detailed Node Listing ---

Invoking cpio

* Copy-out mode::

* Copy-in mode::

* Copy-pass mode::

* Options::

[ik11-04@target ~$]

Команда INFO также позволяет пользователю перемещаться по ссылкам на соответствующую дополнительную информацию. Для этого необходимо клавишами курсора (Вверх-Вниз-Влево-Вправо) установить курсор на ссылке, обозначенной двойным двоеточием (::), и нажать Ввод или Пробел.

Используя команды MAN и INFO Вы также должны знать, что получая информацию, можете воспользоваться клавишами Вверх-Вниз, что просмотреть полученное на экране Руководство. Для использования поиска в командной строке MAN и INFO необходимо ввести:

/<шаблон>, где<шаблон> - информация, которую необходимо найти в выданной командами информации

Для выхода из MAN / INFO необходимо ввести q в командой строке.