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
> 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.
>
I'd bet that this is the file that is knackered.
/etc/rc.d/init.d/functions
> -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.
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!