Andy Thomas wrote: > > Hi, > Running Linux from O'Reilly says that the search path can be set in > .bashrc > file, but the only .bashrc I'm finding is for a user I created, not >root. > Is there a bash configuration file for root?
To get to that file you have to be signed in as root or su to root and cd to the /root directory. >I'm trying to add some > directories to the search path. > > I found a file named /etc/profile with a PATH statement in it, but > attempts > to add to that don't work. The comment at the top says it's the > system-wide profile for bash(1) I'm by no means an expert on this but I've found that /etc/profile effects my console sessions and not my 'X' sessions. hth, kent