-bash-3.00$ After deleting files

Posted on 2006-05-03
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
Question by:mindlessacts
    LVL 45

    Accepted Solution

    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.


    Author Comment


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
    I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
    This video discusses moving either the default database or any database to a new volume.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now