Linux 103 misc

verickle's version from 2017-11-14 21:40


Question Answer
xargscan be used to build commands from the standard input
ddused to archive filesystems
tarused to create tape archives
typeused to determine the type of the specified command
PATHholds the path of directory(ies) that contain executable files
MANPATHcontains the path of manual pages
SHELLused to set the path for login shell
TERMused to set the login terminal type
uname -rused to display the release number of a Linux system
1>&2redirects standard output to standard error
uniq -iremove duplicate lines from a sorted file while ignoring differences in casing during the process
cutextracts portions of a file and displays these lines in standard output
cut -coutputs only specific characters
cut -foutputs only specific fields
uniq -cprefix each listed output with the number of occurrences
teekeep a copy of an output while viewing it on screen
expandconverts tabs in a file into spaces
unexpandconverts spaces into tabs
splitdivide a file into two or more files
fmtchanges the line lengths or other such formatting issues in a text file
wcallows you to see the word count of a file
oddisplay the contents of a non-ASCII file
tr -dremoves the specified characters
tr - sreplaces each multiple instance of a character with a single instance
grepsearches for the specified pattern
psreports the status of processes that are currently running on a Linux computer
lessquickly view any file and any section of a file
morea filter for paging through text one screenful at a time
sedsubstitute a new text string for an existing text string within a text file
egrepuses extended regular expressions by default
YUMensures automatic package updates to RPM systems
make cleanremove temporary files that are created during the code compilation process
alienconvert or install a non-Debian package such as Red Hat .rpm, Stampede .slp, Slackware .tgz, and Generic .tar.gz on the Debian system


Question Answer
aptitudeprovides a front-end for the Advanced Package Tool infrastructure
lddused to display a program's shared library dependencies
ldconfigused to rebuild the cache of shared libraries
jobsdiscover which processes are associated with the current Linux session
topdisplays the current resource usage for processes in terms of CPU usage, memory usage, and runtime
nohuphave a program continue running even after you log out
niceset priorities for processes
D-Busenables communication between processes for hotplug devices
udevthe device manager for the Linux 2.6 kernel
lsmodlist all loaded kernel modules on a Linux computer
pnpdumpsends the PnP resource information to stdout
isapnpconfigures ISA PnP devices
lspcilists the configuration of all PCI devices
fdiskmanages disk partitions and displays information about them
fsckchecks the integrity of a Linux filesystem, particularly after a system crash or loss of power
tune2fsadds a journal to an existing ext2 filesystem without altering the data present on the partition
dfdisplays the disk space usage for mounted filesystems
gdiskused to create and manipulate partition tables in a GPT formatted drive
dureports the directory tree size, including all subdirectories and files
ddcreate an image of a boot disk for duplication
locatematches the search query with the pathname as well as the filename
typetells the user how the specified command will be interpreted
whereissearches for files in a restricted set of locations, such as standard binary file directories, library directories, and man page directories
whichsearches your path for the command that you type and lists the complete path to the first match it finds
LOADLINa DOS or Windows-based utility that is used to boot a Linux system
lnodestores file size and its location
/proc/cmdlineparameters passed to the kernel at the time of startup
dmesgdisplay messages that were generated during the normal boot sequence
SysVinitialization process uses shell scripts that start and stop programs
chkconfiglist the installed services and their associated runlevels
list-unitslists all the units loaded by systemd
systemctlchecks and controls the configuration of the systemd system and service manager via queries