Unix and Linux Command Line Commands

I have put together a list of useful commands for Unixes and Linux. These are Linux variants of the commands.

ls -alh
list directory
history
lists a history of commands run
cat
Display file on screen
grep
keyword search
less
read a file and format for pages
host
displays server name
clear
clears the terminal screen
exit
exits terminal log in
kill
kills processes
rm
remove file
cp
copy a file
mv
move a file
vi
advanced text editor
nano
text editor
strings
Interprets Binary files and shows what can be printed on the screen
cd
change working directory
pwd
print working directory
tail
displays the last 10 lines of the file unless -n is used to tell it how many lines to go up -c is how many bytes you want. -f to follow the log.
touch
creates an empty text file and updates the modified
date
outputs the current date of the system
which
gives full binary path to commands
Written on July 10, 2012