liquidzoo
May 29 2008, 02:24 AM
Can someone post the default /root/bashrc file for Mandriva 2008.1 x86_64? I screwed something up and I need to fix it.
As long as the PATH line is there, it doesn't matter if you've made any modifications.
[moved from Installing Mandriva by spinynorman]
paul
May 29 2008, 10:57 AM
looked in /etc/skel/ ???
or find wherever the skeleton directory
liquidzoo
May 29 2008, 11:48 AM
Don't know what I would be looking for there.
I overwrote the default .bashrc file for root, so now I need to find out what the PATH statement at the top is.
Otherwise, I have no urpmi, etc.
Greg2
May 29 2008, 02:15 PM
It's in the rootfiles package here:
rootfiles-11.0-1mdv2008.1.noarch.rpmI've extracted it here
CODE
# .bashrc
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME ENV PATH
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
It's the same as i586.
liquidzoo
May 29 2008, 02:37 PM
I could have sworn it explicitly listed lib64 in there...
Thanks, though. I appreciate it. This will help.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.