LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   unable to go into BASH (bash: not found) (https://www.linuxquestions.org/questions/solaris-opensolaris-20/unable-to-go-into-bash-bash-not-found-936644/)

Vishruth Reddy 03-27-2012 05:11 AM

unable to go into BASH (bash: not found)
 
Hi,

i made changes in /etc/default/login and changed the path and supath from /usr/bin to /usr/sfw/bin . And i thing this would be the cause for it.

Any way to rollback to previous config...

no command is working
# vi /etc/default/login
vi: not found
# edit /etc/default/login
edit: not found
# help
help: not found
# bash
bash: not found

The exact reason for making this changes is to get wget working ....

jlliagre 03-27-2012 05:25 AM

Code:

# /usr/bin/vi /etc/default/login
...
PATH=/usr/bin:/usr/sbin:/sbin:/usr/sfw/bin
SUPATH=/usr/bin:/usr/sbin:/sbin:/usr/sfw/bin


catkin 03-27-2012 05:34 AM

Try /usr/bin/vi /etc/default/login or /bin/vi /etc/default/login

Vishruth Reddy 04-11-2012 04:24 PM

thanks guys....:)


All times are GMT -5. The time now is 06:25 PM.