I am trying to perosnalize my Shell. What I am trying to do first is source my .bashrc from .bash_profile and that way I can just modify the .bashrc. The problem is....I load up ~/.bash_profile in nano, and the file loads but it is completely empty. In the book I am useing, Debian Bible, it saids there should be 3 lines:
#if [ -f `/.bashrc ]; then
# .~/.bashrc
#fi
but, again, my ~/.bash_profile file doesn't have those and it is empty.
any suggestions?
thanks,
-dman777
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Personalizeing my Shell....problem with ~./bash_profile
this is how mine looks, remember to leave the last line empty
Code: Select all
# ~/.bash_profile: executed by bash(1) for login shells.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/login.defs
#umask 022
# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# set PATH so it includes user's private bin if it exists
if [ -d ~/bin ] ; then
PATH=~/bin:"${PATH}"
fi
Eagles may soar, but weasels don't get sucked into jet engines...