Welcome to the most active Linux Forum on the web.
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 06-13-2005, 04:16 PM   #1
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 -


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, 04:28 PM   #2
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, 04:29 PM   #3
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, 04:33 PM   #4
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, 04:46 PM   #5
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914Reputation: 914
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.



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

All times are GMT -5. The time now is 05:14 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
Open Source Consulting | Domain Registration