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…
Make a php info test file on your webserver
- No Comments
- Mar, 12, 2011
- Angelo Schalley
- html / php, IIS, joomla, Linux, Plesk Linux, Plesk Windows
put a file in your websites root directory or a in some folder :
info.php :
<?php
phpinfo();
?>
save and give execute writes : chmod +x