lclist file system elements in categories |
Command |
lc
[-adfn1
] [directory ...]
lc
is an alternative to the UNIX
ls
command. It distinguishes its output
by type -- generally files or directories. device-special files are also shown
separately. lc
displays names in columns, sorted
horizontally.
-a
displays all files and directories including those whose names begin
with ".
". File and directory names beginning with
.
are not usually shown.
-d
displays directories only.
-f
displays files only.
-n
suppresses all output. This is useful when you only want to use the exit status.
-1
displays one file per line.
0
lc
successfully found files under the specified
directory and displayed their names.
1
contains no files or subdirectories. For example, you
can use the option combination -nd
to determine if a
directory has any subdirectories.
2
Failure because of an invalid command line option or insufficient memory.
lc
cannot identify the type of a file.
Such files are listed under the category **GOK**
.
ls