Home » Archive

Articles tagged with: Unix/Linux

Unix/Linux »

[3 Nov 2009 | No Comment | 378 views]

I installed Sendmail mail daemon in my linux machine. It took some time to configure the mail server. I was able to send mails to users using (as root),
mail –s “hi” username
data
.
I also can check the mail of the users using
mail –u username
But when I login to machine as that user I can not see any mails, I also noticed that id commands doesn’t return the use name, but also shows the id of the user.
>id
uid=3880 gid=124(e2m) groups=124(e2m),200(cvsusers)
I also checked that while login to system using username other …

Featured, Unix/Linux »

[27 Jul 2009 | One Comment | 1,294 views]
Very useful VI commands handbook

Useful Vi editor commands.
If you are using Unix then you must have used the VI editor for text edition. Vi Editor is the best editor in my view. If you have practiced enough and mastered the frequent command then you can understand its power.
I have summarized the basic commands and some useful command one should know to speed up VI editor use. I will not go in to details of how commands work.
There are mainly three modes of commands in VI editor, Insert mode, Command mode and colon mode. …