Thursday, December 13, 2007

UNIX and me


My first need at the moment is to get enough exposure on the Unix working environment....
I started off with the basic commands like the ls, ls -lut, rm, mv, date, cp, uniq, sort, whoami, who, grep, mkdir,
editor(ed, gedit, vi), ps, ">"file, ">>"filename, "<","<<"files, pr, cat, head, tail, echo,cd, pwd, su,chmod,chown, du ,
pipes, processes etc...

Some of the facts that really interested me are:
echo * would work the same way as ls command would.
One could tailor the Terminal appearance etc..by editing the ".bashrc" file.
Type:

$ gedit .bashrc

You would find a file which has quite a lot of information....By typing in the following one can get the later said outputs:

PS1 = 'Welcome:'
date
echo "Welcome NARAYANAN to the TERMINAL"



and save the file. Exit the current terminal and restart a new terminal..you'll find the following changes in the terminal environment:


Welcome: Dec 13 18:45:35 EST 2007
Welcome NARAYANAN to the TERMINAL
Welcome:

No comments: