This is a mirror of official site: http://jasper-net.blogspot.com/

how to make your bash aliases available as a root in ubuntu

| Sunday, February 20, 2011
Create a ~/.bash_aliases file and put all your cute little aliases in there to use these as your own user, add the following into your local ~/.bashrc file:

if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi

to use these as root, add the following into your /root/.bashrc file:

if [ -f ~/.bash_aliases ]; then    
. ~/.bash_aliases

Read more: Ruby Newbie

Posted via email from Jasper-net

0 comments: