LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   need root .bashrc .bash_profile (https://www.linuxquestions.org/questions/slackware-14/need-root-bashrc-bash_profile-290986/)

darkRoom 02-16-2005 10:50 AM

need root .bashrc .bash_profile
 
Hi
Would someone mind posting here their .bashrc and .bash_profile for root please. Preferably unmodified from the defualt install.

Thanks

-X- 02-16-2005 11:23 AM

I always symbolic link (ln -s) root's files to my home's files for
.bashrc
.bash_profile
.vim
.gvim
and any others where I want to keep the same config when in root.

My .bash* files are simple with only;
source /etc/profile

Keeping with the kiss method.

darkRoom 02-16-2005 11:37 AM

Hi
The thing is i don't have those files in my home directory either, i accidently deleted them all. I don't remember exactly how those files are for root and im not gonna reinstall, asking someone on here to post them is the fastest way i can think to repair those files for root.

ringwraith 02-16-2005 11:47 AM

sorry but those files do not exist by default. You have to create them.

darkRoom 02-16-2005 11:54 AM

ok cool
i ran a script which put a bashrc and bash_profile in roots directory so i was thinking i'd have to rewrite them, i didn't realise they didn't exist as default to start with !!

thanks

grief 04-30-2005 03:24 AM

Very helpfull :D


All times are GMT -5. The time now is 01:07 AM.