
ls | 261
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
double quotes, by spaces. For the LPRng print service, lpstat is a
frontend to the lpq program.
Options
-a [list]
Show whether the list of printer or class names is accepting
requests.
-c [list]
Show information about printer classes named in list.
-d Show the default printer destination.
-f [list]
Verify that the list of forms is known to lp.
-l Use after -f to describe available forms, after -p to show printer
configurations, or after -s to describe printers appropriate for
the specified character set or print wheel.
-o [list]
Show the status of output requests. list contains printer
names, class names, or request IDs.
-p [list]
Show the status of printers named in list.
-r Show whether the print scheduler is on or off.
-s Summarize the print status (show almost everything).
-t Show all status information (report everything).
-u [list]
Show request status for users on list. Use all to show informa-
tion on all users.
-A Use authentication.
ls
ls [options] [names]
List contents of directories. If no names are given, list the files in
the current directory. With one or more names, list files contained
in a directory name or that match a file name. names can include
filename metacharacters. The options let you display a variety of
information in different formats. The most useful ...