Copy one file to multiple directories
Had a client ask to copy a file to multiple public_html directories, came across this little bash script which worked beautifully: touch copy.sh vim copy.sh add this to file, modifying…
Had a client ask to copy a file to multiple public_html directories, came across this little bash script which worked beautifully: touch copy.sh vim copy.sh add this to file, modifying…
From askwpgirl.com Q. I’ve installed my website in a subdirectory of our domain, because I didn’t want visitors to see the site until I was finished with our development. Now…
https://github.com/busyloop/lolcat
From Linux.com By Joe 'Zonker' Brockmeier GNU grep is one of my go-to tools on any Linux box. But grep isn't the only tool in town. If you want to…
Not saying this is a good idea, but a client requested it... 0_o Here is crontab -e ### Reboot the server every day at 3:00 am 0 3 * *…
If you find yourself with a customer requesting to know where all the domains associated with a cpanel account are pointing to or are migrating accounts, you can do the…
From From http://lkubuntu.wordpress.com Apt-Undo, a simple way of undoing Apt actions I have done many actions with apt-get that I later regretted, so I decided to make a script to…