Sunday, March 15, 2009

A Quick Unix Command Reference Guide

Alias      This allows the user to view the current aliases

awk       This will allow the user to search for a pattern within a file

bdiff     Compares two large files together

bfs      Command used to scan a large file

cal      Will show a calendar

cat      Concatenates and  prints a file

cc       A useful c compiler

cd    Used to change directories

chgrb   Changes a file groups ownership

chmod    Changes the permission on a file

chown    Used to changes the individual ownership of a file

cmp    Used to compare two files together

comm    Used to find the common line in two files

cp     Command to copy files to another location

cu      Will call another Unix System

date    Returns the date and time information

df         Shows all mounted drives on your machine

diff     Displays the difference between two files

du   Shows the disk usage in blocks for a directory

echo     Echoes the data to the screen or file

ed    Simple text editor

env     Lists the current environment variables

ex   Just another text editor

expr      Evaluates a mathmatical formula

find    Name should say enough used to find a file

f77       A Fortran Complier

format    Initializes a floppy disk

grep        Searches for a pattern within a file

help      Used for when you need help

kill        Will stop a running process

ln       Creates a link between two files

lpr      Copies the file to the line printer

ls     Lists all the files in a directory

mail    This allows the user to send/receive mail

mkdir    Used to make new directories

more    Displays a data file to the screen

mv      Command used to move or rename files

nohup     Allows a command to continue running when you log out

nroff       Editor used to format text

passwd   Allows you to change your password

pkgadd    Installs a new program onto your machine

ps       Shows a listing of  the current processes running

pwd      Displays the name of the working directory

rm      Used to remove files

rmdir   Used to remove directories

set      Lists all the variables in the current shell

setenv   Sets the environment variables

sleep      Causes a process to become inactive

source    Allows the user to execute a file

sort     Command used to sort files

spell     Used to check for spelling errors in a file

split        Divides a file in half

stty         Sets the terminal options

tail         Will display the end of a file

tar         Copies all specified files into one

touch      Creates an empty file

troff        Outputs formatted output

tset        Sets the terminal type

umask    Specify a new creation mask

uniq     Compares two files

uucp      A Unix to Unix execute

vi            A full screen editor

vipw      Opens the vi editor as well as password file for editing

volcheck  Checks to see if there is a floppy disk mounted

wc      Outputs detail in the full size

who      Shows other people online

write       Allows you to send a message to another user

!                Used to repeat last used command

No comments:

Post a Comment