linux commands

cmd-name description
alias allows you to set aliases and view the current aliases
awk search for a pattern within a file.
badblocks searches a device for bad blocks.
bg move a job running in the foreground to the background.
bzip2 used to compress and decompress files. Similar to gzip.
cp copy
chattr changes the attributes of a file or folder.
chroot change the root directory for a command.
chmod used to change permissions on a directory or file.
chown used to change the owner of a file or directory.
chgrp used to change the group a file belongs to.
clear clears the screen
cpio copies file.
cat displays the content of a file
cd changes directories.
cron used to execute commands at a certain time.
crontab allows you to view or edit the current cron jobs.
date prints current date to the screen
du lists disk usage in a directory.
df reports disk usage information. df -h
edquota sets quotas for specific users.
env lists current environment variables.
fdisk used to create/edit/delete partitions.
fsck checks a file system for consistency.
fg used to send jobs to the background.
fuser checks to see what processes and users have open files.
find searches for a file.
free will show total memory, used memory, and free memory.
gpasswd used to set a password for a group.
grep used to search through a file for a specified pattern.
gunzip uncompress files compressed by gzip.
head displays the first 10 lines of a file to the screen.
hdparm gets disk information.
history lists recently executed commands.
host used to get DNS info.
id display information about yourself or another user.
jobs used to show jobs running in the background.
join join lines of two sorted.
kill used to kill a process.
killall kill processes by command name.
kernelcfg a graphical application configures Linux.
klogd control which kernel messages.
linuxconf command line GUI which lets you configure your linux
ls displays a directories contents.
ln used to create hard and symbolic links.
less display the contents of a file
ldd shows what shared libraries a program is dependent on.
ldconfig used to configure/view shared libraries.
last lists logins and reboots.
lastlog print the last login times for system accounts.
lsmod lists loaded modules.
lsattr lists the attributes for a file or folder.
mount used by itself, reports the currently mounted files.
modinfo give info about the module.
modprobe queries modules.
man displays the Man page for a given command.
mkdir make directory
mv move/Rename
merge merge multiple files together.
more lets you page through text one screen full at a time.
nice used to set process priorities.
nslookup used to get DNS info from name servers.
netstat shows active sockets.
ps displays current processes
ping used to test connectivity between two hosts.
pwd present Working Directory
rm remove
rmdir remove directory
rpcinfo used to see what rpc services are available.
route used to view/change routes between you and other hosts.
smbclient used to connect to Windows shares or Samba.
smbadduser maps linux user names to Windows NT user names.
smbpasswd used to update the smbpasswd file with new accounts.
set used to read and write variables.
setquota used to set disk quotas.
sort sorts lines in a file by alphabetical order.
su change to Super User (root).
shutdown shutdown machine
showmount shows mount information for an NFS server.
swapon turns on the swapfile.
swapoff turns off the swapfile.
testparm used to troubleshoot Samba.
tar used to compress multiple files.
tac view a file from the last line up.
touch creates an empty file.
tail displays the last 10 lines of a file to the screen.
tr converts one set of characters to another.
traceroute used to track the path a packet takes to a host.
top shows information about the most CPU-intensive Apps.
umount removes a device from the filesystem.
uname determines OS name, version and machine name.
vmstat lists information on memory usage.
whereis finds documentation files.
who tells you who is logged into your server.
whoami tells you your user information.
wc print the number of bytes, words, and lines in files
which finds the full path for a command.
zcat read files that have been compressed with gzip.