crontab missing in centos 6
- No Comments
- Oct, 31, 2012
- Angelo Schalley
- Linux
yum -y install vixie-cron
/sbin/service crond start
/sbin/chkconfig crond on
using diff on linux
- No Comments
- Sep, 16, 2012
- Angelo Schalley
- Linux, Plesk Linux
diff -rq DIR1 DIR2
or
diff -rqb DIR1 DIR2
-r is recursive
-q is for brief, and will just tell you if the files are different (i.e., it won’t show the line-by-line differences)
Read more on using diff on linux…
Configuring Persistent static route in Linux
- No Comments
- Dec, 22, 2011
- Angelo Schalley
- Linux, Plesk Linux, security
Static routes will be added usually through “route add” command. The drawback of ‘route’ command is that, when Linux reboots it will forget static routes. But to make it persistent across reboots, you have to add it to /etc/sysconfig/network-scripts/route-<eth> .
To add static route using “route add”:
Read more on Configuring Persistent static route in Linux…