Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
List of POSIX commands
List article

This is a list of POSIX (Portable Operating System Interface) commands as specified by IEEE Std 1003.1-2024, which is part of the Single UNIX Specification (SUS). These commands can be found on Unix operating systems and most Unix-like operating systems.

This is not a comprehensive list of all utilities that existed in the various historic Unix and Unix-like systems, as it excludes utilities that were not mandated by the aforementioned standard.

List

IEEE Std 1003.1-2024 utilities
NameCategoryStatus (Option code)DescriptionFirst appeared
adminSCCSOptional (XSI)Create and administer SCCS filesPWB UNIX
aliasMiscMandatoryDefine or display aliases
arMiscMandatoryCreate and maintain library archivesVersion 1 AT&T UNIX
asaText processingOptional (FR)Interpret carriage-control charactersSystem V
atProcess managementMandatoryExecute commands at a later timeVersion 7 AT&T UNIX
awkText processingMandatoryPattern scanning and processing languageVersion 7 AT&T UNIX
basenameFilesystemMandatoryReturn non-directory portion of a pathname; see also dirnameVersion 7 AT&T UNIX
batchProcess managementMandatorySchedule commands to be executed in a batch queue
bcMiscMandatoryArbitrary-precision arithmetic languageVersion 6 AT&T UNIX
bgProcess managementOptional (UP)Run jobs in the background
cc/c17C programmingOptional (CD)Compile standard C programsIEEE Std 1003.1-2024
calMiscOptional (XSI)Print a calendarVersion 5 AT&T UNIX
catFilesystemMandatoryConcatenate and print filesPDP-7 UNIX
cdFilesystemMandatoryChange the working directoryVersion 6 AT&T UNIX
cflowC programmingOptional (XSI)Generate a C-language call graphSystem V
chgrpFilesystemMandatoryChange the file group ownershipPWB UNIX
chmodFilesystemMandatoryChange the file modes/attributes/permissionsPDP-7 UNIX
chownFilesystemMandatoryChange the file ownershipPDP-7 UNIX
cksumFilesystemMandatoryWrite file checksums and sizes4.4BSD
cmpFilesystemMandatoryCompare two files; see also diffVersion 1 AT&T UNIX
commText processingMandatorySelect or reject lines common to two filesVersion 4 AT&T UNIX
commandShell programmingMandatoryExecute a simple command
compressFilesystemOptional (XSI)Compress data4.3BSD
cpFilesystemMandatoryCopy filesPDP-7 UNIX
crontabMiscMandatorySchedule periodic background workSystem V
csplitText processingMandatorySplit files based on contextPWB UNIX
ctagsC programmingOptional (SD)Create a tags file3BSD
cutText processingMandatoryCut out selected fields of each line of a fileSystem III
cxrefC programmingOptional (XSI)Generate a C-language program cross-reference tableSystem V
dateMiscMandatorySets or displays the date and timeVersion 1 AT&T UNIX
ddFilesystemMandatoryConvert and copy a fileVersion 5 AT&T UNIX
deltaSCCSOptional (XSI)Make a delta (change) to an SCCS filePWB UNIX
dfFilesystemMandatoryReport free disk spaceVersion 1 AT&T UNIX
diffText processingMandatoryCompare two files; see also cmpVersion 5 AT&T UNIX
dirnameFilesystemMandatoryReturn the directory portion of a pathname; see also basenameSystem III
duFilesystemMandatoryEstimate file space usageVersion 1 AT&T UNIX
echoShell programmingMandatoryWrite arguments to standard outputVersion 2 AT&T UNIX
edText processingMandatoryThe standard text editorPDP-7 UNIX
envMiscMandatorySet the environment for command invocationSystem III
exText processingOptional (UP)Text editor1BSD
expandText processingMandatoryConvert tabs to spaces3BSD
exprShell programmingMandatoryEvaluate arguments as an expressionVersion 7 AT&T UNIX
falseShell programmingMandatoryReturn false valueVersion 7 AT&T UNIX
fcMiscOptional (UP)Process the command history list
fgProcess managementOptional (UP)Run jobs in the foreground
fileFilesystemMandatoryDetermine file typeVersion 4 AT&T UNIX
findFilesystemMandatoryFind filesVersion 1 AT&T UNIX
foldText processingMandatoryFilter for folding lines1BSD
fuserProcess managementOptional (XSI)List process IDs of all processes that have one or more files openSystem V
gencatMiscMandatoryGenerate a formatted message catalog
getSCCSOptional (XSI)Get a version of an SCCS filePWB UNIX
getconfMiscMandatoryGet configuration values
getoptsShell programmingMandatoryParse utility options
gettextMiscMandatoryRetrieve text string from messages object
grepMiscMandatorySearch text for a patternVersion 4 AT&T UNIX
hashMiscMandatoryHash database access method
headText processingMandatoryCopy the first part of filesPWB UNIX
iconvText processingMandatoryCodeset conversionHP-UX
idMiscMandatoryReturn user identitySystem V
ipcrmMiscOptional (XSI)Remove a message queue, semaphore set, or shared memory segment identifierSystem V
ipcsMiscOptional (XSI)Report interprocess communication facilities statusSystem V
jobsProcess managementOptional (UP)Display status of jobs in the current session
joinText processingMandatoryMerges two sorted text files based on the presence of a common fieldVersion 7 AT&T UNIX
killProcess managementMandatoryTerminate or signal processesVersion 4 AT&T UNIX
lexC programmingOptional (CD)Generate programs for lexical tasksVersion 7 AT&T UNIX
linkFilesystemOptional (XSI)Create a hard link to a fileVersion 1 AT&T UNIX
lnFilesystemMandatoryLink filesVersion 1 AT&T UNIX
localeMiscMandatoryGet locale-specific information
localedefMiscMandatoryDefine locale environment
loggerShell programmingMandatoryLog messages4.3BSD
lognameMiscMandatoryReturn the user's login name4.4BSD
lpText processingMandatorySend files to a printerSystem V
lsFilesystemMandatoryList directory contentsVersion 1 AT&T UNIX
m4MiscMandatoryMacro processorPWB UNIX
mailxMiscMandatoryProcess messagesVersion 1 AT&T UNIX
makeProgrammingOptional (SD)Maintain, update, and regenerate groups of programsPWB UNIX
manMiscMandatoryDisplay system documentationVersion 2 AT&T UNIX
mesgMiscMandatoryPermit or deny messagesVersion 1 AT&T UNIX
mkdirFilesystemMandatoryMake directoriesVersion 1 AT&T UNIX
mkfifoFilesystemMandatoryMake FIFO special files4.4BSD[dubious – discuss]
moreText processingOptional (UP)Display files on a page-by-page basis3BSD
msgfmtMiscMandatoryCreate messages objects from messages object files
mvFilesystemMandatoryMove or rename filesVersion 1 AT&T UNIX
newgrpMiscMandatoryChange to a new groupVersion 6 AT&T UNIX
ngettextMiscMandatoryRetrieve text string from messages object with plural form
niceProcess managementMandatoryInvoke a utility with an altered nice valueVersion 4 AT&T UNIX
nlText processingOptional (XSI)Line numbering filterSystem III
nmC programmingOptional(SD, XSI)Write the name list of an object fileVersion 1 AT&T UNIX
nohupProcess managementMandatoryInvoke a utility immune to hangupsVersion 4 AT&T UNIX
odMiscMandatoryDump files in various formatsVersion 1 AT&T UNIX
pasteText processingMandatoryMerge corresponding or subsequent lines of filesVersion 32V AT&T UNIX
patchText processingMandatoryApply changes to files4.3BSD
pathchkFilesystemMandatoryCheck pathnames
paxMiscMandatoryPortable archive interchange4.4BSD
prText processingMandatoryPaginate or columnate files for printingVersion 1 AT&T UNIX
printfShell programmingMandatoryWrite formatted output4.3BSD-Reno
prsSCCSOptional (XSI)Print an SCCS filePWB UNIX
psProcess managementMandatoryReport process statusVersion 4 AT&T UNIX
pwdFilesystemMandatoryPrint working directoryVersion 5 AT&T UNIX
readShell programmingMandatoryRead a line from standard input
readlinkFilesystemMandatoryPrint destination of a symbolic link
realpathFilesystemMandatoryResolve a symbolic link
reniceProcess managementMandatorySet nice values of running processes4BSD
rmFilesystemMandatoryRemove directory entriesVersion 1 AT&T UNIX
rmdelSCCSOptional (XSI)Remove a delta from an SCCS filePWB UNIX
rmdirFilesystemMandatoryRemove directories, if they are empty.Version 1 AT&T UNIX
sactSCCSOptional (XSI)Print current SCCS file-editing activitySystem III
sccsSCCSOptional (XSI)Front end for the SCCS subsystem4.3BSD
sedText processingMandatoryStream editorVersion 7 AT&T UNIX
shShell programmingMandatoryShell, the standard command language interpreterVersion 7 AT&T UNIX(in earlier versions, sh was either the Thompson shell or the PWB shell)
sleepShell programmingMandatorySuspend execution for an intervalVersion 4 AT&T UNIX
sortText processingMandatorySort, merge, or sequence check text filesVersion 1 AT&T UNIX
splitMiscMandatorySplit files into piecesVersion 3 AT&T UNIX
stringsC programmingMandatoryFind printable strings in files2BSD
stripC programmingOptional (SD)Remove unnecessary information from executable filesVersion 1 AT&T UNIX
sttyMiscMandatorySet the options for a terminalVersion 2 AT&T UNIX
tabsMiscMandatorySet terminal tabsPWB UNIX
tailText processingMandatoryCopy the last part of a filePWB UNIX
talkMiscOptional (UP)Talk to another user4.2BSD
teeShell programmingMandatoryDuplicate the standard outputVersion 5 AT&T UNIX
testShell programmingMandatoryEvaluate expressionVersion 7 AT&T UNIX
timeProcess managementMandatoryDisplay elapsed, system and kernel time used by the current shell or designated process.Version 3 AT&T UNIX1
timeoutProcess managementMandatoryRun command with a time limitVersion 3 AT&T UNIX
touchFilesystemMandatoryChange file access and modification timesVersion 7 AT&T UNIX
tputMiscMandatoryChange terminal characteristicsSystem V
trText processingMandatoryTranslate charactersVersion 4 AT&T UNIX
trueShell programmingMandatoryReturn true valueVersion 7 AT&T UNIX
tsortText processingMandatoryTopological sortVersion 7 AT&T UNIX
ttyMiscMandatoryReturn user's terminal nameVersion 1 AT&T UNIX
typeMiscOptional (XSI)Displays how a name would be interpreted if used as a command
ulimitMiscOptional (XSI)Set or report file size limit
umaskMiscMandatoryGet or set the file mode creation maskSystem III
unaliasMiscMandatoryRemove alias definitions
unameMiscMandatoryReturn system namePWB UNIX
uncompressMiscOptional (XSI)Expand compressed data4.3BSD
unexpandText processingMandatoryConvert spaces to tabs3BSD
ungetSCCSOptional (XSI)Undo a previous get of an SCCS fileSystem III
uniqText processingMandatoryReport or filter out repeated lines in a fileVersion 3 AT&T UNIX
unlinkFilesystemOptional (XSI)Call the unlink functionVersion 1 AT&T UNIX
uucpNetworkOptional (UU)System-to-system copyVersion 7 AT&T UNIX
uudecodeNetworkMandatoryDecode a binary file4BSD
uuencodeNetworkMandatoryEncode a binary file4BSD
uustatNetworkOptional (UU)uucp status inquiry and job controlSystem III
uuxProcess managementOptional (UU)Remote command executionVersion 7 AT&T UNIX
valSCCSOptional (XSI)Validate SCCS filesSystem III
viText processingOptional (UP)Screen-oriented (visual) display editor1BSD
waitProcess managementMandatoryAwait process completionVersion 4 AT&T UNIX
wcText processingMandatoryLine, word and byte or character countVersion 1 AT&T UNIX
whatSCCSOptional (XSI)Identify SCCS filesPWB UNIX
whoSystem administrationOptional (XSI)Display who is on the systemVersion 1 AT&T UNIX
writeMiscMandatoryWrite to another user's terminalVersion 1 AT&T UNIX
xargsShell programmingMandatoryConstruct argument lists and invoke utilityPWB UNIX
xgettextC programmingOptional (CD)Extract gettext calls from C source code stringsIEEE Std 1003.1-2024
yaccC programmingOptional (CD)Yet another compiler compilerPWB UNIX
zcatText processingOptional (XSI)Expand and concatenate data4.3BSD

See also

The Wikibook Guide to UNIX has a page on the topic of: Commands Wikimedia Commons has media related to Unix reference cards.

References

  1. "FreeBSD Manual Pages: time". man.freebsd.org. July 7, 202. Retrieved Mar 23, 2025. https://man.freebsd.org/cgi/man.cgi?query=time