LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-13-2005, 03:16 PM   #1
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Rep: Reputation: 15
10.1 - console & Bash


Hi There - I wonder if someone could help me with this please, I am using 10.1

When I su in the console window and enter my password, instead of my path showing all I get now is this -

bash-2.05#

I think I might have pressed a wrong key or something. Is it ok to still use as it is, if not, could you please advise me on how to get back too where I was.

Thanks for looking.
 
Old 06-13-2005, 03:28 PM   #2
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
This is to indicate that you are root. You can change this look in /etc/profile.

But you need not.

It is still bash.

to see where in the system you are, type pwd and it will print out the working directory.
 
Old 06-13-2005, 03:29 PM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It's OK. It's just root prompt. In most distributions it's configured to look different than the normal one. You can use it, just remember you're root, so this promot is much more powerful than the normal one. If you want to go back to your normal user, use the command 'exit' or ctrl+d key combination.
 
Old 06-13-2005, 03:33 PM   #4
High-gain
Member
 
Registered: Dec 2004
Location: London,UK
Distribution: Mandriva 2007
Posts: 156

Original Poster
Rep: Reputation: 15
Thanks for your quick reply, much appreciated. Good Luck.
 
Old 06-13-2005, 03:46 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Instead of su use "su -" ...

That'll give you roots environment, and most likely a
different prompt. The difference between a user and
a root prompt is the # as opposed to $, not the lack of
the path, username or host.



Cheers,
Tink
 
  


Reply



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
How to get a bash console on a home page??? ankur_linuxfan Linux - Software 6 07-17-2005 05:43 PM
[Req]: How to config WebSvr & DNS Svr from console by Bash shell script CiF Linux - Networking 2 03-22-2005 12:31 AM
console like bash for windows biiiep General 3 07-16-2004 01:38 AM
Linux Console & Bash outsider Linux - Newbie 1 09-13-2001 03:07 PM
BASH Console Stephanie Linux - General 1 07-13-2001 03:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:23 AM.

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
Open Source Consulting | Domain Registration