Can not edit Crontab File
My system doesn’t have vi program installed but I do have vim-common-7.0.109-6.el5 .
How can I change default crontab editor to vim ?
# crontab -e
/bin/sh: /bin/vi: No such file or directory
crontab: “/bin/vi” exited with status 127
After googling for a while, Here is the answer.
# export EDITOR=/usr/bin/vim
To make the command automatically executed when you logged in as […]
How to login SSH without password
The answer is using private-key & public-key.
Theory is very simple, first generate pair key (Private&public key ) then put the public key into the server machine, so when another machine request login from ssh, it will compare the public key on server machine with the private-key.
Here is the example.
You want to login from computer A […]
Advertisement
More about Linux, Hostings, Website, Server, Microsoft and various advertisements will appear below.Force Kill
Kill running process is important. When you have software ruining your machine, just kill them.
But hey, some process is not easy to kill, and that is happening to me.
I found this solution when you already tried killing process on unix with the standard syntax kill PID number.
You can get PID number by running syntax # […]
Welcome Message on SSH
Trick to create the welcome message after user logged into ssh of your server.
Edit file motd on /etc
# vi /etc/motd
This computer system is for authorized users only. All activity is logged and regulary checked by systems personal. Individuals using this system without authority or in excess of their authority are subject to having all their […]