RE: Shell prompt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@aabento html]# ls -al /home/aabento/.bashrc
-rw-r--r--  1 aabento nosso 124 May 22 23:24 /home/aabento/.bashrc
[root@aabento html]#




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

# User specific aliases and functions

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






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




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

Tyanks.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux