LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   10.1 - console & Bash (https://www.linuxquestions.org/questions/linux-newbie-8/10-1-console-and-bash-333191/)

High-gain 06-13-2005 03:16 PM

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.

marghorp 06-13-2005 03:28 PM

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.

Mara 06-13-2005 03:29 PM

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.

High-gain 06-13-2005 03:33 PM

Thanks for your quick reply, much appreciated. Good Luck.

Tinkster 06-13-2005 03:46 PM

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


All times are GMT -5. The time now is 09:27 AM.