Sunday, August 23, 2009

Commit changes in .bashrc without logging out

I wanted to commit changes I made in my .bashrc without logging out. Easiest was to source it.
source ~/.bashrc
Now I no longer need to log out and then log in a new terminal to see the changes take effect.

No comments:

Print chess board in command line

The following bash one-liner will print a chess board in a terminal (the script works for the shells bash and ksh only) for (( i = 1; i ...