8
LS(1L)
LS(1L)
NAME
ls, dir, vdir - list contents of directories
SYNOPSIS
Is [-abcdfgiklmnpqrstuxABCFGLNQRSUXl] t-w cols] [-T cols]
[-1 pattern] [--all] [--directory] [--inode] [--kilobytes]
[--no-group] [--hide-control-chars] [--reverse] [--size]
[--width=cols] [--sort^fnone,time,size,extension}]
DESCRIPTION
This manual page documents the GNU version of Is. dir and
vdir are versions of Is with different default output for-
mats. These programs list each given file or directory
name. Directory contents are sorted alphabetically. For
Is, files are by default listed in columns, sorted verti-
cally, if the standard output is a terminal; otherwise
they are listed one per line. For dir, files are by
default listed in columns, sorted vertically. For vdir,
files are by default listed in long format.
OPTIONS
-a, --all
List all files in directories, including all files
that start with '.'.
-b, --escape
Quote nongraphic characters in file names using
alphabetic and octal backslash sequences like those
used in C.
-c, --time=ctime, --time=status
Sort directory contents according to the files'
status change time instead of the modification
time. If the long listing format is being used,
print the status change time.instead of the modifi-
cation time.
-d, --directory
List directories like other files, rather than
listing their contents.
-f Do not sort directory contents; list them in what-
ever order they are stored on the disk. The same
as enabling -a and -U and disabling -1, -s, and -t.
--full-time
List times in full, rather than using the standard
FSF GNU File Utilities 1
Утилита man имеет несколько полезных особенностей, в частности она позволяет
проводить поиск. Эта функция активизируется нажатием либо клавиши /, либо клавиши ?.
Первый вариант предусматривает поиск вперед, а второй - поиск назад. После нажатия
клавиши / в
нижней части экрана появляется строка, в которую нужно ввести искомое
слово. Затем нужно нажать Enter. Поиск осуществляется по образцу, поэтому можно
ввести часть слова или практически любой набор символов. Повторение поиска
осуществляется нажатием клавиши п. Повторно вводить образец не нужно.