Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-28-2001, 10:05 AM   #1
LQ Newbie
Registered: Nov 2001
Location: San Jose, Costa Rica
Posts: 2

Rep: Reputation: 0
Question What is "bash" ?


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.


Old 11-28-2001, 12:20 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
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...
Old 11-29-2001, 06:11 AM   #3
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
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:
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?

Last edited by DMR; 11-29-2001 at 06:16 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 02:03 AM
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 10:00 AM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 09:36 PM
bash equivalence of tcsh "alias em "emacs \!:1 &""? rgiggs Slackware 3 07-29-2004 03:07 AM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 11:43 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:44 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration