Home Linux How to see hidden history file in Linux?
How to see hidden history file in Linux? PDF Print E-mail
Written by Siva   
Sunday, 06 March 2011 09:49

 

How to see hidden history file in Linux?

 

You may type "history" in the prompt to see the all command key strokes that you used. To see the location/ file where it is stored, use this yellow highlighted commands!

 

 

[root@my-lin-box /]# cd ~

[root@my-lin-box ~]# ls -A

anaconda-ks.cfg  .bash_logout   .bashrc  .forward     install.log.syslog  .ks.cfg   .rhosts  .ssh

.bash_history    .bash_profile  .cshrc   install.log  .kickstart          .meminfo  .shosts  .tcshrc

[root@my-lin-box ~]# 

[root@my-lin-box ~]# less .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

umask 022

[root@my-lin-box ~]# less .bash_history

chmod +x /tmp/prep_vm_template.pl

/tmp/prep_vm_template.pl --prep --upgrade

ls -la

 
 

Advertisement

Featured Links:
HREmail.com
Looking for job? Try HREmail.com
Want to have CMS based Websites?
Try siliconwebcreators.com to CMS based websites.
VM Solutions Inc
For best VM solutions..
Digital Procedure Inc.
Looking for Oracle /SAP /Weblogic Consulting services? visit digitalprocedure.com