Broke my login shell. Fresh install. No GUI installed yet.
I have been searching high and low for an answer to this and I am unable to find anything.
This is what happened. I am going through the book "From Bash to Zsh, Conquering the command line" and I wanted to check if I had installed the Zsh. I went into /bin and did an ls. I saw sh was hard linked to a shell and I typed in Code:
(gentoo)# sh By doing that i messed something up. after typing that "sh" the prompt changed to this..... Code:
sh-3.2# I tried getting back to my regular prompt by entering in Code:
sh-3.2#/bin/bash Quote:
When i reboot everything gets mounted...but I can not log in as my user or root and end up with the "sh-3.2#" prompt. Let me add here. This is a fresh 2009 install using minimal CD Pentium 3 Desktop. I have not added any software yet. Kernel version 2.6.30-r6 Zsh was never installed. Regards, Rick |
Neither typing sh nor /bin/bash will cause any changes that persist over reboot. Might you have entered any other commands?
|
Quote:
I do not remember entering any other commands. I remember doing sh and it kicked me into the shell prompt described above. Is there any way to extract my command line history from that session? I am in a (chroot) environment off the cd. Rick |
deleted
|
All times are GMT -5. The time now is 12:43 AM. |