Shell prompt

Arnaldo Bento arnaldo_bento at clix.pt
Sun Aug 29 18:46:34 UTC 2004


Sorry any badly understood.



Subject: Re: Shell prompt

Am So, den 29.08.2004 schrieb Arnaldo Bento um 19:08:

> You deleted your ~/.bashrc. Recreate it as root:
> 
> cp /etc/skel/.bashrc ~/.bashrc
> chown $USER:$USER ~/.bashrc
>       (where $USER is the user for which you have to repair the .bashrc)

> --->It works as a root but not as a user.

Please be more verbose. In your initial posting about this problem it
was visible that you was logged in as root. So the copying of the
skeleton .bashrc did fix it for root? 


YES. As a root it worked well.

You too had the problem with a
missing PS1 set as a normal user?

Yes. 



> Copying the .bashrc from skeleton into the user's home directory did not
fix
> it?
> 
> --->No
> --->I copy it to a user directory /home/aabento 

ls -al /home/aabento/.bashrc
cat /home/aabento/.bashrc
ls -al /etc/bashrc

Please post the output of the 3 commands.

Alexander

[root at aabento html]# ls -al /home/aabento/.bashrc
-rw-r--r--  1 aabento nosso 124 May 22 23:24 /home/aabento/.bashrc
[root at aabento html]#




[root at aabento html]# cat /home/aabento/.bashrc
# .bashrc

# User specific aliases and functions

# Source global definitions
if [ -f /etc/bashrc ]; then
        . /etc/bashrc
fi
[root at aabento html]#






[root at aabento html]# ls -al /etc/bashrc
-rw-r--r--  1 root root 1180 Mar  3 03:52 /etc/bashrc
[root at aabento html]#




I hope this could help you to understand my "problem ???"

Tyanks.





More information about the fedora-list mailing list