Saturday, 23 June 2012

Unix Commands


> cal - Calendar 2000
>  who - Who is logged on
>  finger - Details of logged on users
>  write - To send messages to users
>  ctrl+D - End of file
>  mesg n - To deny talking
>  mesg - To know the status
>  man - Help command
>  cat - Display multiple files.
>  clear - Clear screen.
>  date - Displays the system date.
cd - Change directories.
chmod - Change security mode of a
file or directory.
cp - copy files from one directory to
another.
>     mv - Move or rename files.
>  cut - Select and extract columns or
fields from a file.
>  echo - Display the specified
Arguments on the output device.
find - Locate a file which meet the
search criteria.
grep - Select lines or rows that
match a specified pattern.
kill - End a process.
ln - Creates link directories between
files,thereby allowing more than
one name for a file.
> lp - Print a file.
> ls - lists a directory’s contents,
including its files and
subdirectories
> mkdir - Make a new directory.
> passwd - Change your Unix password.
> pwd - Display your current path.
> rm - Remove a file
> rmdir - Remove a directory
sh - Execute a shell script.
> sort - Sort and merge multiple files.
> trap - Executes a command when a
specified signal is received from
the operating system.
> Type cd and press enter to make sure you are
in your home directory.
> mkdir to make a new directory
> ls to see the contents in your directory.
> ll to see the contents in your directory.
> cat to create a new file.
> ctrl + z to save the file.