.bash_profile configuration file under /root home directory on Linux Fedora 9



Configuration for GNU Linux Fedora Computer using Linux Command

 

    Below is the .bash_profile configuration file for Linux fedora 9.  The example below use the cat command to view the .bash_profile configuration file under the /root home directory

Fedora Linux .bash_profile File Location:

/root/.bash_profile

 

The example below use Linux cat command to view the hidden file .bash_profile under /root home directory.

contents of .bash profile under root home directory

[root@fedora ~]# cat /root/.bash_profile

# .bash_profile

 

# Get the aliases and functions

if [ -f ~/.bashrc ]; then

. ~/.bashrc

fi

 

# User specific environment and startup programs

 

PATH=$PATH:$HOME/bin

 

export PATH

unset USERNAME

[root@fedora ~]#

 

Use ls -l command to show the .bash_profile file permission, owner, group owner, file size, date created or edited and file location.

bash profile

[root@fedora ~]# ls -l /root/.bash_profile

-rw-r--r-- 1 root root 191 2006-07-12 20:06 /root/.bash_profile

[root@fedora ~]#

 




0 comments: