Skip to content

Instantly share code, notes, and snippets.

View neeltom92's full-sized avatar
πŸ‘¨β€πŸ’»
SRE!

tomneel92 neeltom92

πŸ‘¨β€πŸ’»
SRE!
View GitHub Profile
#!/bin/bash
n=domain_name;
#REPLACE HERE WITH THE DOMAIN NAME
dn=(/scripts/whoowns $n)
cd /home/$dn/public_html;
archive_directory="/home/$dn/public_html/archive"
#!/bin/bash
#Author : Neel
#Purpose : Convert a file to another format
for i in `find . -iname "*.txt"`; do mv $i ${i%.txt}.html; done