
Useful Linux utilities and functions
17
Introduction
Useful Linux utilities and functions
These utilities and functions can be helpful in performing
configuration operations.
Table 1 Useful Linux utilities and functions
Utility/Function Description
fdisk Command used to create and manipulate partition tables.
grep Command used to search through a file or files to find specific text.
fsck Command used to check and repair a Linux filesystem.
mkfs Command used to create a Linux filesystem on a device partition.
mount Command used to attach the filesystem on a device to the file tree.
umount Command used to detach a filesystem.
shutdown Command used to shut down the system gracefully.
reboot Command used to stop and restart the operating system.
insmod Utility used to dynamically load a single module into a running kernel.
rmmod Utility used to unload loadable modules from the running kernel if they
are not in use and if other modules are not dependent upon those being
removed.
modprobe Utility used to load or remove a set of modules that can be either a
single module or a stack of dependent modules.
lsmod Utility used to list the currently loaded modules.
lspci Utility used to display information about all of the PCI buses in the
system and all of the devices connected to those buses.
scsiinfo Utility to query information from a scsi device.
Komentáře k této Příručce