Common Linux Commands
-
awk - Pattern scanning and processing language
-
bash - GNU Bourne-Again Shell
-
biff - Be notified when mail arrives (currently not installed)
-
cat - Concatenate files and print on the standard output
-
cd - Change directory
-
chage - Change user password expiry information
-
chgrp - Change group ownership
-
chmod - change file access permissions
-
chown - change file owner and group
-
chroot - run command or interactive shell with special root directory
-
chsh - change login shell
-
clear - clear the terminal screen
-
cp - copy files and directoriesman
-
crontab - maintain crontab files for individual users
-
cut - remove sections from each line of files
-
date - print or set the system date and time
-
dd - convert and copy a file
-
df - report file system disk space usage
-
diff - compare files line by line
-
dig - DNS look up utility
-
dmesg - print or control the kernel ring buffer
-
dnsdomainname - show the system’s DNS domain name
-
echo - display a line of text
-
env - run a program in a modified environment
-
false - do nothing, unsuccessfully
-
fdisk - partition table manipulator for linux (be careful when you use it)
-
find - search for files in a directory hierarchy
-
free - display amount of free and used memory in the system
-
ftp - internet file transfer program
-
fuser - identify processes using files or sockets
-
gcc - GNU project C and C++ compiler
-
grep - grep, egrep, fgrep, rgrep – print lines matching a pattern
-
groupadd – create a new group
-
groupdel - delete a group
-
groupmod - modify a group definition on the system
-
groups - print the groups a user is in
-
gunzip - gzip, gunzip, zcat – compress or expand files
-
host - DNS look up utility
-
hostname - show or set the system’s host name
-
id - print user identity
-
ifconfig - configure a network interface
-
info - read info document
-
finger – locate the binary, source, and manual page files for a command
-
kill - send a signal to a process
-
last - last, lastb – show listing of last logged in users
-
lastlog - lastlog - reports the most recent login of all users or of a given user
-
ln - make links between files
-
ls - list directory contents
-
man - an interface to the on-line reference manuals
-
mesg - control write access to your terminal
-
mkdir - make directories
-
more - paging through text one screenful at a time
-
mount - mount a file system
-
mtr - a network diagnostic tool
-
mv - move (rename) files
-
netcat - TCP/IP swiss army knife
-
netstat – Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
-
nice - run a program with modified scheduling priority
-
nslookup - query Internet name servers interactively
-
passwd - change user password
-
ping - send ICMP ECHO_REQUEST to network hosts
-
ps - report a snapshot the current processes
-
pwd - print name of current/working directory
-
rm - remove files or directories
-
rmdir - remove empty directories
-
route - show / manipulate the IP routing table
-
sed - stream editor for filtering and transforming text
-
shutdown - bring the system down
-
sleep - delay for a specified amount of time
-
sort - sort lines of text files
-
ssh - OpenSSH SSH client (remote login program)
-
strace - trace system calls and signals
-
strings - print the strings of printable characters in files
-
su - change user ID or become super-user
-
tail - output the last part of files
-
tar - The GNU version of the tar archiving utility
-
telnet - user interface to the TELNET protocol
-
time - run programs and summarize system resource usage
-
true -do nothing, successfully
-
umount - unmount file systems
-
uname - print system information
-
useradd - create a new user or update default new user information
-
userdel - delete a user account and related files
-
uptime - Tell how long the system has been running
-
vi - a programmers text editor
-
vim - Vi IMproved, a programmers text editor
-
w - Show who is logged on and what they are doing
-
wc - print the number of newlines, words, and bytes in files
-
whatis - display manual page description
-
whereis - locate the binary, source, and manual page files for a command
-
which - locate a command
-
who - show who is logged on
-
whoami - print effective user id
-
write - send a message to another user




