LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Commands have stopped working

[ILUG] Commands have stopped working

John Allen john.allen at online.ie
Tue Jan 6 12:23:20 GMT 2004


On Tuesday 06 January 2004 12:12, Darragh wrote:
> > Aaargh.  Have a look in /etc/profile or in .bashrc/.bash_profile in your
> > home directory.  You've clobbered the default path somewhere.  Looks
> > like you've probably quoted it somewhere i.e. export PATH='$PATH':
>
> Ok, I've made a backup of my .bashrc file in /root and coppied a .bashrc
> from my account.  Still the same result so I looked at the /etc/profile
> file.
>

You either don't have /usr mounted, or you have screwed up your /etc/profile.

do an rpm -qf /etc/profile
then
an rpm --verify whatever-package-contained-/etc/profile

replace whatever-package-contained-/etc/profile with the package named spewed 
foeth from the rpm -qf

> Sorry about this, but I'm going to have to include it as an attachment. 
> the screen reader in Windows cant understand it so I cant extract the lines
> with the path.
>
> While reading it in linux I noticed something like
> PATH=:$PATH
>

This prepends the current directory to the PATH; bad idea, this is a DOS'ism 
and should be avoided.

> This is frustrating, two steps forward and one step back.  After spending
> nearly eight hours on the access bridge I really hope I don't have to
> reinstall.
>
> Thanks
>
>
> Darragh

-- 
John Allen,                          Email:  mailto:john.allen at dublinux.net
MandrakeClub Silver Member.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell