Setting up your BASH prompt. How to get the most out of the BASH shell.

Setting up your BASH prompt. A nice BASH shell prompt. This shows the current time and the current folder you are in as well as a full directory path if you are in a subfolder. PS1="-\t– \u@\h [\w]\$ "PS1="-\t– \u@\h [\w]\$ " How to set the contents of the Xterm title bar. Using the PROMPT_COMMAND … Read more

Some useful Linux configuration files. How the system is setup.

Some system configuration files on Linux and what they do /etc/profile This configuration file controls the system-wide environment variables. This contains the PATH variable that controls where binaries may be run from system-wide. /etc/motd This file contains a message that will be visible above the login prompt on the virtual console. Usually this is auto-generated … Read more

How to erase the configuration of a Cisco 2950 switch with Putty.

I am assuming that you already know how to access your switch and you do not need any help with this. Log into the switch using Putty and wait until the prompt appears awaiting commands. % Please answer ‘yes’ or ‘no’. Would you like to enter the initial configuration dialog? [yes/no]: no       … Read more

Linux Mint 14, Unity and dual monitors. Seems to work fairly well indeed.

This is what the Ubuntu Unity desktop looks like with a dual monitor configuration. The launcher bar is on both desktops; but the dash when clicked on either desktop is independent of the other. And the wallpaper will span both desktops. This is on Linux Mint 14 and it is clear to see that this … Read more