man or help
cd
: change directoryls
: list directory contentspwd
: print name of current working directoryless
: view file contentsfile
: determine file typesln
: create hard and symbolic linkscp
: copy file and directoriesmv
: move/rename files and directoriesrm
: remove files and directoriesmkdir
: create directoriestype
: indicate how a command line name is interpretedwhich
: display which executable program will be executedhelp
: get help for shell builtinsman
: display a command's manual page
man or help
chmod
: change a file's modesudo
: execute a command as another usersu
: return a shell as another userchown
: change a file's ownerchgrp
: change a file's group ownerid
: display the user identitygroups
: print the groups a user is inwhoami
: print effective useridadduser
: creates a new user in the systemuseradd
: creates a new useraddgroup
: creates a new group in the system
man or help
echo
: display a line of textcat
: concatenate fileshead
: output the first part of a filetail
: output the last part of a filefind
: search for files in a directory hierarchywc
: print newline, word, and byte counts for each filesort
: sort lines of textuniq
: report or omit repeated linesgrep
: print lines matching a patterntr
: translate or delete charactersrev
: reverse lines characterwisecut
: remove sections from each line of filespasswd (5)
(i.e.man 5 passwd
): passwd - password file
man or help
printenv
: print all or part of environmentset
: set or unset options and positional parametersunset
: unset values and attributes of variables and functionsexport
: set the export attribute for variablesalias
: define or display aliasesunalias
: remove alias definitions.
: execute commands in the current environmentsource
: contains sample profile files for general or individual useprintf
: format and print data
man or help
env
: run a program in a modified environmentcut
: remove sections from each line of filesfor
: repeatedly execute a set of commands for every element presentwhile
: repeatedly execute a set of commands as long as the COMMAND returns trueuntil
: executes a set of commands as long as the final command has an exit status which is not zeroif
: executes commands based on conditions
man or help
ps
: report a snapshot of the current processespgrep
: looks through the currently running processes and lists the process IDS which match the selection criteria to stdoutpkill
: will send the specified signal (by defaultSIGTERM
) to each process instead of listing them on stdoutkill
: terminate a processexit
: cause normal process terminationtrap
: trap signals