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

Very useful .vimrc file for Linux users.

A very nice .vimrc file for any Linux user, this makes VI or VIM easier to use. " ~/.vimrc (configuration file for vim only) " skeletons function! SKEL_spec() 0r /usr/share/vim/current/skeletons/skeleton.spec language time en_US if $USER != ” let login = $USER elseif $LOGNAME != ” let login = $LOGNAME else let login = ‘unknown’ endif … Read more

Very useful Linux files to setup your installation.

Linux configuration files Here are a few useful Linux configuration files to get your installation setup and working just fine. ~/.vimrc. This is to setup the VIM editor and make it easier to use for the average Linux user. " ~/.vimrc (configuration file for vim only) " skeletons function! SKEL_spec() 0r /usr/share/vim/current/skeletons/skeleton.spec language time en_US … Read more