Unix commands
List of Unix commands as specified by IEEE Std 1003.1-2008, which is part of the Single UNIX Specification (SUS). These commands can be found on Unix operating systems and most Unix-like operating systems.
— Wikipedia
Name
Text processing
asa
::Interpret carriage-control charactersawk
::Pattern scanning and processing languagecomm
::Select or reject lines common to two filescsplit
::Split files based on contextcut
::Cut out selected fields of each line of a filediff
::Compare two files; see also cmped
::The standard text editorex
::Text editorexpand
::Convert tabs to spacesfold
::Filter for folding lineshead
::Copy the first part of filesiconv
::Codeset conversionjoin
::Merges two sorted text files based on the presence of a common fieldlp
::Send files to a printermore
::Display files on a page-by-page basisnl
::Line numbering filterpaste
::Merge corresponding or subsequent lines of filespatch
::Apply changes to filespr
::Print filessed
::Stream editorsort
::Sort, merge, or sequence check text filestail
::Copy the last part of a filetr
::Translate characterstsort
::Topological sortunexpand
::Convert spaces to tabsuniq
::Report or filter out repeated lines in a filevi
::Screen-oriented (visual) display editorwc
::Line, word and byte or character countzcat
::Expand and concatenate data
System administration
who
::Display who is on the system
Shell programming
command
::Execute a simple commandecho
::Write arguments to standard outputexpr
::Evaluate arguments as an expressionfalse
::Return false valuegetopts
::Parse utility optionslogger
::Log messagesprintf
::Write formatted outputread
::Read a line from standard inputsh
::Shell, the standard command language interpreter AT&T UNIX (in earlier versions, sh was either the Thompson shell or the PWB shell)sleep
::Suspend execution for an intervaltee
::Duplicate the standard outputtest
::Evaluate expressiontrue
::Return true valuexargs
::Construct argument lists and invoke utility
SCCS (Source Code Control System)
admin
::Create and administer SCCS filesdelta
::Make a delta (change) to an SCCS fileget
::Get a version of an SCCS fileprs
::Print an SCCS filermdel
::Remove a delta from an SCCS filesact
::Print current SCCS file-editing activitysccs
::Front end for the SCCS subsystemunget
::Undo a previous get of an SCCS fileval
::Validate SCCS fileswhat
::Identify SCCS files
Programming
make
fort77
cc/c99
::Compile standard C programscflow
::Generate a C-language call graphctags
::Create a tags filecxref
::Generate a C-language program cross-reference tablelex
::Generate programs for lexical tasksnm
::Optional (SD, XSI)strings
::Find printable strings in filesstrip
::Remove unnecessary information from executable filesyacc
::Yet another compiler compiler
Process management
at
::Execute commands at a later timebatch
::Schedule commands to be executed in a batch queuebg
::Run jobs in the backgroundfg
::Run jobs in the foregroundfuser
::List process IDs of all processes that have one or more files openjobs
::Display status of jobs in the current sessionkill
::Terminate or signal processesnice
::Invoke a utility with an altered nice valuenohup
::Invoke a utility immune to hangupsps
::Report process statusrenice
::Set nice values of running processestime
::Time a simple commanduux
::Remote command executionwait
::Await process completion
Network
uucp
::System-to-system copyuudecode
::Decode a binary fileuuencode
::Encode a binary fileuustat
::uucp status inquiry and job control
Misc
alias
::Define or display aliasesar
::Create and maintain library archivesbc
::Arbitrary-precision arithmetic languagecal
::Print a calendarcrontab
::Schedule periodic background workdate
::Display the date and timeenv
::Set the environment for command invocationfc
::Process the command history listgencat
::Generate a formatted message cataloggetconf
::Get configuration valuesgrep
::Search text for a patternhash
::Hash database access methodid
::Return user identityipcrm
::Remove a message queue, semaphore set, or shared memory segment identifieripcs
::Report interprocess communication facilities statuslocale
::Get locale-specific informationlocaledef
::Define locale environmentlogname
::Return the user’s login namem4
::Macro processormailx
::Process messagesman
::Display system documentationmesg
::Permit or deny messagesnewgrp
::Change to a new groupod
::Dump files in various formatspax
::Portable archive interchangereadlink
-split
::Split files into piecesstty
::Set the options for a terminaltabs
::Set terminal tabstalk
::Talk to another usertput
::Change terminal characteristicstty
::Return user’s terminal nametype
::Displays how a name would be interpreted if used as a commandulimit
::Set or report file size limitumask
::Get or set the file mode creation maskunalias
::Remove alias definitionsuname
::Return system nameuncompress
::Expand compressed datawrite
::Write to another user’s terminal
Filesystem
-
basename
::Return non-directory portion of a pathname; see also dirname -
cat
::Concatenate and print files -
cd
::Change the working directory -
chgrp
::Change the file group ownership -
chmod
::Change the file modes/attributes/permissions -
chown
::Change the file ownership -
cksum
::Write file checksums and sizes -
cmp
::Compare two files; see also diff -
compress
::Compress data -
cp
::Copy files -
dd
::Convert and copy a file -
df
::Report free disk space -
dirname
::Return the directory portion of a pathname; see also basename -
du
::Estimate file space usage -
file
::Determine file type -
find
::Find files -
link
::Create a hard link to a file -
ln
::Link files -
ls
::List directory contents -
mkdir
::Make directories -
mkfifo
::Make FIFO special files -
mv
::Move or rename files -
pathchk
::Check pathnames -
pwd
::Print working directory -
rm
::Remove directory entries -
rmdir
::Remove directories, if they are empty. -
touch
::Change file access and modification times -
unlink
::Call the unlink function -
fdisk
::Partition table manipulator for Linux -
timedatectl
::Control the system time and date, can be used to enable NTP (timedatectl set-ntp true
)
Batch utilities
qalter
::Alter batch jobqdel
::Delete batch jobsqhold
::Hold batch jobsqmove
::Move batch jobsqmsg
::Send message to batch jobsqrerun
::Rerun batch jobsqrls
::Release batch jobsqselect
::Select batch jobsqsig
::Signal batch jobsqstat
::Show status of batch jobsqsub
::Submit a script