Help - Search - Members - Calendar
Full Version: x86_64 $PATH [solved]
MandrivaUsers.org > Advanced Topics > Command Line, Kernel and Programming
liquidzoo
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
looked in /etc/skel/ ???

or find wherever the skeleton directory
liquidzoo
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
It's in the rootfiles package here: rootfiles-11.0-1mdv2008.1.noarch.rpm

I'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
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.
Invision Power Board © 2001-2008 Invision Power Services, Inc.