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



Configuration for GNU Linux Fedora Computer using Linux Command

 

    The .bash_history contains all Linux command history that you already use or execute on your Linux shell.  Below is the .bash_history configuration file for Linux fedora 9.  The example below use the cat command to view the bash command history .bash_history configuration file under the /root home directory

Fedora Linux .bash_history File Location:

/root/.bash_history

 

The Linux command example below use the cat command to view the .bash_history file in the /root home directory:

View list of Linux command.  Using the cat command to view the .bash_history file

[root@fedora ~]# cat /root/.bash_history | less

passwd labu

ls

cd /home

ll

shutdown -h now

ls

cd fedora9/

ls

rpm -Uvh mt-st-0.9b-5.fc9.i386.rpm mtx-1.3.11-3.fc9.i386.rpm

shutdown -h now

gedit&

rpm -q mt*

mt

uname -a

uname -a

uname -a

ping 192.168.1.15

service network stop

service network start

ifconfig

df -h

df -h ./

df -h ./root

:

 

Hit 'q' key to exit

 

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

bash history file properties and permission

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

-rw------- 1 root root 9240 2008-08-22 07:13 /root/.bash_history

[root@fedora ~]#

 




0 comments: