lsattr [options] [files]
Print attributes of files on a Linux Second Extended File System. See also chattr.
-a List all files in specified directories.
-d List attributes of directories, not of contents.
-R List directories and their contents recursively.
-v List version of files.
-V List version of lsattr and then exit.
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 options include -F, -R, -l, and -s. Some options don’t make sense together (e.g., -u
ls -lrt List files by date
ls /usr/bin | pr -T9 -W$COLUMNS Print in 9 columns to width of terminal
ls -lSr Show files by size, biggest last
lpstat [options] [queues]
Show the status of the print queue or queues. With options that take a list argument, omitting the list produces all information for
that option. list can be separated by commas or, if enclosed in double quotes, by spaces. For the LPRng print service, lpstat is a
frontend to the lpq program. With no arguments, lpstat shows jobs queued by the current user.
lpr [options] [files]
Send files to be printed. If no files are given, accept standard input. We document the CUPS printing system here; the older LPRng and
BSD systems will vary slightly. CUPS lpr, for example, does not accept the options c, d, f, g, i, m, n, t, v, or w, used by LPRng.
lpq [options] [+interval]
Check the print spool queue for status of print jobs. For each job, display username, rank in the queue, filenames, job number, and
total file size (in bytes). We document the CUPS printing system here; other versions will vary slightly.