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

Configuration for GNU Linux Fedora Computer using Linux Command


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

Fedora Linux .bashrc File Location:



The Linux command example below use the cat command to view the contents of hidden file .bashrc under the root home directory.

.bashrc file view using cat command

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

# .bashrc


# User specific aliases and functions


alias rm='rm -i'

alias cp='cp -i'

alias mv='mv -i'


# Source global definitions

if [ -f /etc/bashrc ]; then

. /etc/bashrc


[root@fedora ~]#


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

Properties file permission for .bashrc file

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

-rw-r--r-- 1 root root 176 2006-07-12 20:06 /root/.bashrc

[root@fedora ~]#