Linux Commands List

Have a Question?
Categories
< All Topics
Print

Linux Commands List

NameDescription
adminCreate and administer SCCS files
aliasDefine or display aliases
arCreate and maintain library archives
asaInterpret carriage-control characters
atExecute commands at a later time
awkPattern scanning and processing language
basenameReturn non-directory portion of a pathname
bashThe Bourne-again shell
batchSchedule commands to be executed in a batch queue
bcArbitrary-precision arithmetic language
bgRun jobs in the background
breakExit from for, while, or until loop
c99Compile standard C programs
calPrint a calendar
catConcatenate and print files
cdChange the working directory
cflowGenerate a C-language flowgraph
chgrpChange the file group ownership
chmodChange the file modes/attributes/permissions
chownChange the file ownership
chrootrun a command or interactive shell using a specific directory as the root directory
cksumWrite file checksums and sizes
cmpCompare two files
commSelect or reject lines common to two files
commandExecute a simple command
compressCompress data
continueContinue for, while, or until loop
cpCopy files
crontabSchedule periodic background work
csplitSplit files based on context
ctagsCreate a tags file
cutCut out selected fields of each line of a file
cxrefGenerate a C-language program cross-reference table
dateWrite the date and time
ddConvert and copy a file
deltaMake a delta (change) to an SCCS file
dfReport free disk space
diffCompare two files
dirnameReturn the directory portion of a pathname
dotExecute commands in the current environment
duEstimate file space usage
echoWrite arguments to standard output
edThe standard text editor
envlist environment variables or invoke a command in a modified environment
evalConstruct command by concatenating arguments
exText editor
execExecute commands and open, close, or copy file descriptors
exitCause the shell to exit
expandConvert tabs to spaces
exportSet the export attribute for variables
exprEvaluate arguments as an expression
falseReturn false value
fcProcess the command history list
fgRun jobs in the foreground
fileDetermine file type
findFind files
flexGenerate programs for lexical tasks
foldFilter for folding lines
fort77w:FORTRAN compiler
fortuneDisplays a random quotation
ftpInternet file transfer program
fuserList process IDs of all processes that have one or more files open
gawkPattern scanning and processing language, GNU’s version of awk
gencatGenerate a formatted message catalog
getGet a version of an SCCS file
getconfGet configuration values
getoptsParse utility options
grepSearch text for a pattern
groupsList groups a user belongs to
hashRemember or report utility locations
headCopy the first part of files
hostnameShow the system’s host name
iconvCodeset conversion
idReturn user identity
iostatcollect and show operating system storage input and output statistics
ipcrmRemove a message queue, semaphore set, or shared memory segment identifier
ipcsReport interprocess communication facilities status
jobsDisplay status of jobs in the current session
joinRelational database operator
killTerminate or signal processes
lessDisplay files on a page-by-page basis
lexGenerate programs for lexical tasks
linkCall link function
lnLink files
localeGet locale-specific information
localedefDefine locale environment
loggerLog messages
loginBegin sessions on a system
lognameReturn the user’s login name
logoutEnd sessions on a system
lpSend files to a printer
lsList directory contents
m4Macro processor
mailxProcess messages
makeMaintain, update, and regenerate groups of programs
manDisplay system documentation
mesgPermit or deny messages
mkdirMake directories
mkfifoMake FIFO special files
mktempCreate a temporary file or directory
moreDisplay files on a page-by-page basis
mountMount a file system
mvMove files
nanoSmall text editor
netstatDisplays network information and statistics
newgrpChange to a new group
niceInvoke a utility with an altered nice value
nlLine numbering filter
nmWrite the name list of an object file
nohupInvoke a utility immune to hangups
odDump files in various formats
passwdSet or change user password
pasteMerge corresponding or subsequent lines of files
patchApply changes to files
pathchkCheck pathnames
paxPortable archive interchange
pgrepFind processes with the given name using pattern matching
pkillKills processes with the given name using pattern matching
prPrint files
printfWrite formatted output
prsPrint an SCCS file
psReport process status
pstreeDisplay a tree of processes
pwdprint working directory – Return working directory name
qalterAlter batch job
qdelDelete batch jobs
qholdHold batch jobs
qmoveMove batch jobs
qmsgSend message to batch jobs
qrerunRerun batch jobs
qrlsRelease batch jobs
qselectSelect batch jobs
qsigSignal batch jobs
qstatShow status of batch jobs
qsubSubmit a script
readRead a line from standard input
readonlySet the readonly attribute for variables
reniceSet nice values of running processes
returnReturn from a function
rmRemove files or directories
rmdelRemove a delta from an SCCS file
rmdirRemove directories
sactPrint current SCCS file-editing activity
sarSystem Activity Report
sccsFront end for the SCCS subsystem
sedStream editor
seqPrint a sequence of numbers
setSet or unset options and positional parameters
shShell, the standard command language interpreter
shiftShift positional parameters
shoptControl optional shell behavior
sleepSuspend execution for an interval
sortSort, merge, or sequence check text files
splitSplit files into pieces
stringsFind printable strings in files
stripRemove unnecessary information from executable files
sttySet the options for a terminal
suspendSuspend execution of the shell until it receives a continue signal
tabsSet terminal tabs
tailCopy the last part of a file
talkTalk to another user
teeDuplicate standard input
testEvaluate expression
timeTime a simple command
timesWrite process times
touchCreate file and Change file access and modification times
topReal-time display of running processes
tputChange terminal characteristics
trTranslate characters
trapTrap signals
trueReturn true value
tsortTopological sort
ttyReturn user’s terminal name
typeDisplays how a name would be interpreted if used as a command
ulimitSet or report file size limit
umaskGet or set the file mode creation mask
umountUnmount a filesystem
unaliasRemove alias definitions
unameReturn system name
uncompressExpand compressed data
unexpandConvert spaces to tabs
ungetUndo a previous get of an SCCS file
uniqReport or filter out repeated lines in a file
unlinkCall the unlink function
unsetUnset values and attributes of variables and functions
uucpSystem-to-system copy
uudecodeDecode a binary file
uuencodeEncode a binary file
uustatuucp status inquiry and job control
uuxRemote command execution
valValidate SCCS files
viScreen-oriented (visual) display editor
waitAwait process completion
wcWord, line, and byte or character count
whatIdentify SCCS files
whoDisplay who is on the system
writeWrite to another user’s terminal
xargsConstruct argument lists and invoke utility
yaccYet another compiler compiler
zcatExpand and concatenate data
Table of Contents