Linux

Archive for the ‘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 [...]


Hide the desktop icons in Gnome

To hide the icons that show up on the Gnome desktop, launch gconf-editor and go to apps > nautilus > preferences. Uncheck the box at the right of show_desktop and close gconf-editor. [...]


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 al[...]


Set the clock from the Linux command line

If you want to set the date from the Linux command line, you can use the date command: sudo date nnddhhmmyy where nn is the monthdd is the dayhh is the hourmm is the minuteyy is the year For example, date 080717292009 wo[...]