cPanel, How to fix “cat: /dev/fd/63: No such file or directory” error

This appears when you run simple cd command via cPanel –>  Terminal, for example:

cd public_html
cat: /dev/fd/63: No such file or directory

The fix is pretty simple, just suppress output of cd command

Update .bashrc with the following alias:

alias cd='cd &>/dev/null'

source .bashrc
Read the rest

Bad bots list .htaccess

#####
#block bad bots with a 403
#####
SetEnvIfNoCase User-Agent ^$ bad_bot
SetEnvIfNoCase User-Agent "360Spider" bad_bot
SetEnvIfNoCase User-Agent "80legs" bad_bot
SetEnvIfNoCase User-Agent "Abonti" bad_bot
SetEnvIfNoCase User-Agent "Aboundex" bad_bot
SetEnvIfNoCase User-Agent "^AESOP_com_SpiderMan" bad_bot
SetEnvIfNoCase User-Agent "^AIBOT" bad_bot
SetEnvIfNoCase User-Agent "AITCSRobot/1.1" bad_bot
SetEnvIfNoCase User-Agent "^Alexibot" bad_bot
SetEnvIfNoCase User-Agent "Anonymouse.org"
Read the rest