« Exporting from Oulook tool | Main | DNS registering at godaddy.com »

Simple bash profile setup

As user robert, I edit/create files .bashrc and .bash_profile with the following content: alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' set -o noclobber alias startx='startx -- -dpi 100' PS1="\u@\h:\w> " export PS1 The first three lines force me to answer "yes/no" when I respectively remove, copy (overwrite) and move (overwrite) a file. The "set -o noclobber" parameter prevents me from overwriting a file with other commands such as "cat". Tiny menu fonts are hard on my poor tired eyes. Rather than replace my eyeglass lenses with magnifying glass, I want to make the fonts larger. My above-mentioned "startx" alias will increase the font size significantly (I could use "120" instead of "100" but that would be ridiculously large). Note that this neat trick won't work unless you are starting X manually with "startx" (as opposed to automatic graphic login with gdm). The lines containing "PS1" refer to my prompt at the command line. I really like a prompt that tells me what directory I'm in, like this: robert@sonic:~/programs/python> All of the above modifications that I've made to .bashrc and .bash_profile won't take effect until I log out and log back in again.