shell question
From: accy guy (accy_guy_at_yahoo.com)
Date: 08/29/03
- Previous message: Osama Ahmed: "[SUMMARY] Knowing EOT or EOF from a shell script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Aug 2003 02:52:40 -0700 (PDT) To: sunmanagers@sunmanagers.org
hi ,
I hv inherited a few Solaris boxes (Solaris 8) and I installed the latest SUNWexplo package(4.1.1) on them . However , when i try to run it ...it returns the foll error and exits
./explorer[49]: sed: not found
./explorer[55]: ksh: not found
./explorer[85]: cat: not found
./explorer[86]: ps: not found
./explorer[86]: grep: not found
./explorer[86]: grep: not found
./explorer[86]: grep: not found
./explorer[86]: wc: not found
./explorer[87]: test: argument expected
Explorer starting.
./explorer[32]: date: not found
./explorer[32]: uname: not found
./explorer[32]: date: not found
./explorer[32]: sed: not found
./explorer[32]: uname: not found
Root's shell is /sbin/sh which on my boxes are linked to /usr/bin/bash (/usr is not a separate file system ,but is part of / ) .i tried running sh explorer, ksh explorer etc ...still it gives same error . Any idea why this is happening ?
I can think of some workarounds
1) remove the link to /usr/bin/bash and copy /sbin/sh from another machine running the same OS
2) change root's shell in /etc/passwd to /bin/ksh .
Just wanted to know if the above workarounds are safe ...or will I land up with a broken system
Thanks
accy
Yahoo! SiteBuilder - Free, easy-to-use web site design software
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Previous message: Osama Ahmed: "[SUMMARY] Knowing EOT or EOF from a shell script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|