Category Archives: System

See who’s poking your Linux box

If you’re using SSH and you have your ports wide open to the world, your best bet would be to install fail2ban. If you’re curious though as of whom is trying to get in by bruteforcing your SSH passwords, you might get a clear view with the following command: grep “POSSIBLE BREAK-IN ATTEMPT” /var/log/auth.log This… Read More »

Change the color of your Linux prompt

You can change the color of your BASH prompt to red with this command: export PS1=”\e[0;31m[\u@\h \W]\$ \e[m” To make the change permanent, create a .bash_profile in your home directory (if one isn’t already present): touch ~/.bash_profile and paste the line directly into the file. Save and close. For other colors please see the attached… Read More »