Some Cpanel Commands & Info
Login Info: # WHM - Secure SSL https://sitename.com:2087 Notice: Root user should only ever login using the secure HTTPS login! - Regular http://sitename.com:2086 and http://yourdomain.com/whm # Cpanel - Secure SSL…
Login Info: # WHM - Secure SSL https://sitename.com:2087 Notice: Root user should only ever login using the secure HTTPS login! - Regular http://sitename.com:2086 and http://yourdomain.com/whm # Cpanel - Secure SSL…
There's a reason why cp is aliased to cp -i in _root's_ .bashrc and .cshrc/.tcshrc. After all, do you really want root to be able to overwrite a file without…
This blinks the LED on the interface for five seconds–without interrupting network traffic. ethtool -p eth0 5 supported only by the following drivers: ewrk3 s2io sky2 tg3 e100 pcnet32 bnx2…
This will run top once write the output to a file and exit. The command top can also be run so that it will give multiple reports. top -b -n1…
1) Install ffmpeg via admin-ahead.com (http://scriptmantra.info/ffmpeg.html) 2) Register here: http://installers.admin-ahead.com/ (Name, Email, Server IP, Country, Hit Submit) 3) Reply to email 4) Download script to server using wget in /root…
touch spf.sh vim spf.sh select and copy the following code (ctrl+A) #!/usr/bin/python import commands,os,time curdate = time.strftime("%Y%m%d") # Just in case things blow up os.system("cp -Rp /var/named /var/named.backup") os.chdir("/var/named") files…
watch -d 'w | awk 'NR==4 {print "/dev/"$2}' | xargs fuser -k'