Cliff McDiarmid wrote: > > >> ----- Original Message ----- From: Bruce Dubbs Sent: 10/21/13 08:14 >> PM To: BLFS Support List Subject: Re: [blfs-support] PATH problem? >> >> Cliff McDiarmid wrote: >>> Hello >>> >>> I wonder if someone can shed some light on this problem which >>> has developed? >>> >>> I'm running a recent build of LFS(7.3)with kde 4.10. >>> >>> I made some minor PATH changes in /etc/.profile and ~.bashrc >>> which I have now deleted. But I'm left with a problem under >>> user. >> >> Is this a typo? /etc/.profile is meaningless. It needs to be >> /etc/profile > > Yes that's a typo > >>> I cannnot access the simplest of commands, e.g. ls, env, su, su >>> -l, startx etc. Command not found. What's going on here, can't >>> get into KDE now? >> >> What is `echo $PATH` ? > > I've corrected the prob. it's now: > > /usr/local/bin:/usr/bin:/opt/kde/bin:/sbin:/usr/sbin:/bin:/opt/jdk/bin:/opt/qt/bin:/opt/qt/include/QtCore > > I had the following in ~.bashrc '/opt/Adobe/Reader9/bin/acroread' > which was overriding the other PATHS - but why?
PATH needs to be updated with PATH=$PATH:new_path. Or you can make the pathappend function in /etc/profile persistent and use that. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page