Linux Command (A-Z)


Linux is one of the most popular operating systems being widely used in modern IT industry. It is a free & open source software program available under the GNU General Public License. The most used & favorite distributions of LINUX are : CentOS, Ubuntu, Fedora & Debian. Red-Hat is also a Linux distro but available now on a license purchase.
Linux Commands

List of A-Z Linux Commands :

CommandDescription
aliasCreate an alias
aproposSearch manual for keyword
atSchedule a job to run in the future.
awkFind and Replace text within file(s)
breakExit from a loop
builtinRun a shell builtin
bunzip2Decompress file from bzip2 format
bzip2Compress file to bzip2 format
calDisplay a calendar
caseConditionally perform a command
catConcatenate files to standard output
cdChange Directory
cfdiskPartition table manipulator for Linux
chgrpChange group ownership
chmodChange access permissions
chownChange file owner and group
chrootRun a command with a different root directory
chvtChange the virtual Terminal
cksumPrint CRC checksum and byte counts
clearClear terminal screen
cmpCompare two files
commCompare two sorted files line by line
commandRun a command – ignoring shell functions
compressCompress file(s) to old Unix compress format
continueResume the next iteration of a loop
convmvA perl script that converts filenames from one encoding to another
cpCopy one or more files to another location
cronDaemon to execute scheduled commands at predefined time
crontabSchedule a command to run at a later time
csplitSplit a file into context-determined pieces
cutDivide a file into several parts
dateDisplay or change the date & time
dcDesk Calculator
ddData Dump – Convert and copy a file
declareDeclare variables and give them attributes
dfDisplay free disk space
diffDisplay the differences between two files
diff3Show differences among three files
dirBriefly list directory contents
dircolorsColour setup for `ls’
dirnameConvert a full pathname to just a path
dirsDisplay list of remembered directories
duEstimate file space usage
echoDisplay message on screen
edA line-oriented text editor (edlin)
egrepSearch file(s) for lines that match an extended expression
ejectEject CD-ROM
enableEnable and disable builtin shell commands
envDisp, set, or remove environment variables
evalEvaluate several commands/arguments
execExecute a command
exitExit the shell
expandConvert tabs to spaces
exportSet an environment variable
exprEvaluate expressions
factorPrint prime factors
falseDo nothing, unsuccessfully
fdformatLow-level format a floppy disk
fdiskPartition table manipulator for Linux
fgrepSearch file(s) for lines that match a fixed string
fileDetermine type of file
findSearch for files that meet a desired criteria
fmtReformat paragraph text
foldWrap text to fit a specified width.
forExpand words, and execute commands
formatFormat disks or tapes
freeDisp, s memory usage
fsckFilesystem consistency check and repair.
fstatList open files
functionDefine Function Macros
fuserIdentify process using file
gawkFind and Replace text within file(s)
getoptsParse positional parameters
grepSearch file(s) for lines that match a given pattern
groupsPrint group names a user is in
gunzipDecompress file(s) from GNU zip format
gzcatShow contents of compressed file(s)
gzipCompress file(s) to GNU zip format
hashRemember the full pathname of a name argument
headOutput the first part of file(s)
historyCommand History
hostnamePrint or set system name
iconvConverts the encoding of characters from one code page encoding scheme to another.
idPrint user and group id’s
ifConditionally perform a command
importCapture an X server screen and save the image to file
infoHelp info
installCopy files and set attributes
joinJoin lines on a common field
killStop a process from running
lessDisplay output one screen at a time
letPerform arithmetic on shell variables
lnMake links between files
localCreate variables
locateFind files
lognamePrint current login name
logoutExit a login shell
lpcLine printer control program
lprOff line print
lprintPrint a file
lprintdAbort a print job
lprintqList the print queue
lprmRemove jobs from the print queue
lsList information about file(s)
ll#ls -l List information about file(s)
lsofList open files
m4Macro processor
makewhatisRebuild whatis database
manPrint manual pages
mkdirCreate new folder(s)
mkfifoMake FIFOs (named pipes)
mknodMake block or character special files
moreDisplay output one screen at a time
mountMount a file system
mtoolsManipulate MS-DOS files
mvMove or rename files or directories
netconfigConfigure your network
niceSet the priority of a command or job
nlNumber lines and write files
nohupRun a command immune to hangup
odView binary files
passwdModify a user password
pasteMerge lines of files
pathchkCheck file name portability
popdRestore the previous value of the current directory
prConvert text files for printing
printcapPrinter capability database
printenvPrint environment variables
printfFormat and print data
psProcess status
pushdSave and then change the current directory
pwdPrint Working Directory
quotaDisplay disk usage and limits
quotacheckScan a file system for disk usage
quotactlSet disk quotas
paxArchive file(s)
ramram disk device
rcpCopy files between two machines.
readread a line from standard input
readonlyMark variables/functions as readonly
remsyncSynchronize remote files via email
returnExit a shell function
rmRemove (delete) files
rmdirRemove folder(s)
rpmRPM Package Manager (was RedHat Package Manager)
rsyncRemote file copy (Synchronize file trees)
screenTerminal window manager
sdiffMerge two files interactively
sedStream Editor
selectAccept keyboard input
seqPrint numeric sequences
setManipulate shell variables and functions
shiftShift positional parameters
shoptShell Options
shutdownShutdown or restart linux
sleepDelay for a specified time
sortSort text files
sourceRun commands from a file `.’
splitSplit a file into fixed-size pieces
stringsprint the strings of printable characters in (binary) files.
suSubstitute user identity
sumPrint a checksum for a file
symlinkMake a new name for a file
syncSynchronize data on disk with memory
tacPrint files out in reverse line order
tailOutput the last part of files
tarTape ARchiver
teeRedirect output to multiple files
testEvaluate a conditional expression
timeMeasure Program Resource Use
timesUser and system times
timidityPlay midi files and set up software synth to play midi files with other commands.
touchChange file timestamps
topList processes running on the system
tracerouteTrace Route to Host
trapRun a command when a signal is set(bourne)
trTranslate, squeeze, and/or delete characters
trueDo nothing, successfully
tsortTopological sort
ttyPrint filename of terminal on stdin
typeDescribe a command
ulimitLimit user resources
umaskUsers file creation mask
umountUnmount a filesystem
unaliasRemove an alias
unamePrint system information
unexpandConvert spaces to tabs
uniqUniquify files (remove all duplicate lines)
unitsConvert units from one scale to another
unsetRemove variable or function names
unsharUnpack shell archive scripts
untilExecute commands (until error)
useraddCreate new user account
usermodModify user account
usersList users currently logged in
uuencodeEncode a binary file into 7-bit ASCII characters
uudecodeDecode a file created by uuencode
vVerbosely list directory contents (`ls -l -b’)
vdirVerbosely list directory contents (`ls -l -b’)
watchExecute/display a program periodically
whatisList manual pages by name
wcPrint byte, word, and line counts of a file
whereisReport all known instances of a command
whichLocate a program file in the user’s path.
whileExecute commands
whoPrint all usernames currently logged in
whoamiPrint the current user id and name (`id -un’)
xargsExecute utility, passing constructed argument list(s)
yesPrint a string until interrupted
zcatShow contents of compressed file(s)
zipCompress and archive file(s) to zip format
.periodRun commands from a file
###Comment / Remark