lc man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

LC(1)									 LC(1)

NAME
       lc - list directory and file names in columns

SYNOPSIS
       lc [ -fdbcspan1 ] [ directory ... ]

DESCRIPTION
       Lc  lists  the  elements	 of  the  given directories.  The elements are
       divided into the five basic types (files, directories,  character  spe‐
       cial  files,  block special files, and pipes) and are printed in alpha‐
       betical order.  They are normally printed 5 to a line, preceeded	 by  a
       title  indicating the type, but the -1 option can be used to force sin‐
       gle-column untitled output.

       If no argument is given, the  current  working  directory  is  used  by
       default.	  The  contents	 of all directories named in the argument list
       are displayed.	while  all  other  names  (i.e.	 non-directories)  are
       ignored.	  This	feature	 allows	 one to use a shell's pattern matching
       abilities to generate the arguments without having to worry about  non-
       directory names that might also be matched (e.g.	 would do an lc of all
       the non-hidden directories in one's home directory).

       The special entries and are normally not listed; the -a	option	causes
       them to be listed as well.

       The  -n	option turns off all output; this is useful when only the exit
       status is wanted.  (The exit status is 0 if something would  have  been
       printed, 1 otherwise.)

       If any of the following option arguments are given, lc lists only those
       types of entries; otherwise, all entries are listed.  The  options  and
       their meanings are:

	    f	   list ordinary files

	    d	   list directories

	    b	   list block special files

	    c	   list character special files

	    s	   list all special files

	    p	   list permanent pipes

       Lc  may	be  used with the substitution features of the Shell to select
       particular kinds of files (eg, directories) to take part in  some  pro‐
       cessing, for example:

       This  lists  the	 contents of all sub-directories of the current direc‐
       tory.

DIAGNOSTICS
       Symbolic links are normally followed, and each prints under  the	 cate‐
       gory  of the type of thing to which it is linked.  If the symbolic link
       points to a nonexistent pathname, or if you do not have	permission  to
       resolve	the  pathname,	lc will list the link under the category Unre‐
       solved Symbolic Links.

AUTHOR
       Math Faculty Computing Facility, University of Waterloo
       Waterloo, Ontario, Canada
       http://www.math.uwaterloo.ca/mfcf/

				      UW				 LC(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net