On Tue, 06 Jan 2004, Darragh wrote:
> Hello,
> when I started the machine in Linux this morning I found that none of the
> commands work.
>> I can so far use:
> clear
> cd
> and pwd
> but commands like ls cat grep locate etc don't work.
Do you get "command not found" or some other error? You say "don't work"
which is a little non-specific.
Things that occur to me:
1. $PATH is set wrong or unset. I know you did this from memory but a
simple typo in that script, ie ommitting the $ before PATH would have that effect.
export PATH=/usr/local/OpenOffice.org1.1.0/program:$PATH
export PATH=/usr/local/OpenOffice.org1.1.0/program:PATH
Try:
/bin/echo $PATH
2. Upgrade of C library or some such has broken the binaries. You should
get a different error if it's this.
3. A filesystem is not mounted. You almost certainly have /bin on the root
partition though so 'ls' would be working if this were the problem.
Gavin
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!