LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is "bash" ? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-bash-9324/)

jalm 11-28-2001 09:05 AM

What is "bash" ?
 
Hi,

Recently I installed Red Hat 6.1 to try Linux,
well I think I changed a kind of boot secuence or
something and now I fall into "bash" line command
but it doesn't recognize my root password and can't
load xwindow. What do I do to get back to normal ?

Any help will be appreciated by this newbie.

Thanks

Jose.

trickykid 11-28-2001 11:20 AM

at the lilo prompt, try typing Linux 1 and this will get you into single mode that won't ask for a password. From there, you can change the root password, check the inittab file for your runlevel, which you want it to be either 3 or 5 usually.. runlevel 3 for command line login, or runlevel 5 for graphical login...

DMR 11-29-2001 05:11 AM

Bash is the "Bourne Again SHell", a pun on the earlier Bourne shell. It is one of many command-line environments available in *nix systems. Csh, tcsh, sh (the original Bourne shell), and zsh are some of the others.

As trickykid alludes to: you are now, for some reason, booting into a non-graphical runlevel (for Redhat, probably runlevel 3). To fire up the GUI from there, you should be able to type "startx" (no quotes) at the command prompt. Check your /etc/inittab file and check the line which looks like this:
Code:

id:3:initdefault:
In the case above, the "3" refers to runlevel 3. To boot directly into the GUI, edit the file to change that value to "5".

BTW- What exactly were you doing when your original configuration changed?


All times are GMT -5. The time now is 02:17 AM.