LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
Question 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.
 
Old 11-28-2001, 11:20 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
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, 05:11 AM   #3
DMR
Member
 
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:
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?

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


Reply


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 01:03 AM
How to write a bash script to replace all "KH" to "K" in file ABC??? cqmyg5 Slackware 4 07-24-2007 09:00 AM
Where to download precompiled bash binaries, such as "time" and "top"? elinuxqs Linux - Newbie 12 11-14-2005 08:36 PM
bash equivalence of tcsh "alias em "emacs \!:1 &""? rgiggs Slackware 3 07-29-2004 02:07 AM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 10:43 AM


All times are GMT -5. The time now is 03:39 PM.

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