
264
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-S, --sort=size
Sort by file size, largest to smallest.
-U, sort=none
Do not sort files.
-X, sort=extension
Sort by file extension, then by filename.
lsattr
lsattr [options] [files]
Print attributes of files on a Linux Second Extended File System.
See also chattr.
Options
-a List all files in specified directories.
-d List attributes of directories, not of contents.
-v List version of files.
-R List directories and their contents recursively.
-V List version of lsmod, then exit.
lspci
lspci [options]
System administration command. List all Peripheral Component
Interconnect (PCI) devices. This command has many options that
are useful for debugging device drivers. Here we document some of
the more common options.
Options
-b Show IRQ and addresses as seen by the cards instead of the
kernel.
-t Print a tree showing connections between devices.
-m Print information with quoted strings suitable for use by
scripts.
-n Print vendor and device codes as numbers.
-v, -vv
List devices verbosely. Use the second form for very verbose
listings.
lsmod
lsmod
System administration command. List all loaded modules: name,
size (in 4 KB units), and, if appropriate, a list of referring modules.
The same information is available in /proc/modules if the /proc
directory is enabled on the system.
lsusb ...