bash

Pimp your shell prompt – Add colors and themes in Linux terminal

| | | | | |

Most of us work with a shell prompt. By default most Linux distro displays hostname and current working directory as a prompt. You can easily customize your prompt to display information important to you. You change look and feel by adding colors. In this small howto I will explain howto setup:

a] Howto customizing a bash shell to get a good looking prompt
b] Configure the appearance of the terminal.
c] Apply themes using bashish
d] Howto pimp out your shell prompt

How to debug a Shell Script smartly

| | | |

This article shows you how to write your shell scripts smartly to make them easier to test and debug. You can use traditional set command. There is drawback of using set command. Before moving a script to production environment you need to remove all debug lines. This tip shows you how to solve this old problem without introducing any new errors.

Syndicate content