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 13:55:33 GMT 2004


On Tuesday 06 January 2004 13:24, Darragh wrote:
> echo 'export PATH=$PATH:/bin:/sbin:/usr/bin:/usr/local/bin' > .bashrc
>
> Ok, I've got slightly further now.  I edited the .bashrc file with the
> right path and that has solved most of it.  However the command startx
> doesn't work.  I expect that's just a matter of finding where that command

Find the package that /etc/profile belongs to
then do
# rpm -e --nodeps the-name-of-the-package
# rpm -Uvh the-name-of-the-package

This will get you the default /etc/profile back

> is and adding it to the path, however I'm getting a few lines of errors
> when I log in which may help to diagnose what's causing this.
>
> -bash: id: command not found
> -bash: id: command not found
> -bash: id: command not found
> -bash: [: too many arguements
> -bash: put: command not found
> -bash: put: command not found
> -bash: wc: command not found
> -bash: [: : integer expression expected
>
> Thanks

-- 
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