[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

-bash-3.00$ After deleting files

Posted on 2006-05-03
2
Medium Priority
?
200 Views
Last Modified: 2013-12-06
Hello, I added a user in fedora core 4, using 'adduser name' and installed some files under their folder in /home/name' I then deleted those files under their folder, and when I logged in using putty, it said '-bash-3.00$' instead of their user name, how could I fix this. Thanksin advance


Sorry for all the noob questions, but it's the only way to learn, right?

Thanks again

Regards, Brad
0
Comment
Question by:mindlessacts
2 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 500 total points
ID: 16594142
Hi mindlessacts,

In your ~/.bash_profile, add
PS1=[\u@\h \W]\$

export PS1

PS1 is the primary prompt.\u is username \h is hostname and \W is current working directory.

http://www.davidpashley.com/articles/bash-prompts.html
http://networking.ringofsaturn.com/Unix/Bash-prompts.php

Cheers!
Sunnycoder
0
 

Author Comment

by:mindlessacts
ID: 16604460
Thanks!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question