Define
Just a quick script for looking up the definition of a word via the commandline... touch define vim define add the following code then :wq to save #! /bin/bash #…
Scripts
Just a quick script for looking up the definition of a word via the commandline... touch define vim define add the following code then :wq to save #! /bin/bash #…
This script will copy everything necessary for a full cpanel -> cpanel transfer. You need to open the script up and change 127.0.0.1 to the FQDN or IP of the…
from http://www.labradordata.ca/home/13 vpsinfo is a Linux server monitoring script, written in PHP, that provides web access to system status information. It gathers the output from several common Linux commands into…
With this little tool you can extract almost any archive in Linux so you do not need to remember which tool and what command lines are necessary. Usage: # Extract…
Here is a little script that will add domainkeys to all cpanel user accounts. #!/bin/bash for i in `ls /var/cpanel/users` ;do /usr/local/cpanel/bin/domain_keys_installer $i ;done cd /var/named localdomains=$(cat /etc/localdomains | grep…
#!/bin/bash cd /var/cpanel/users for user in * do chown -R $user.$user /home/$user/public_html/* done