history

From Initq

Jump to: navigation, search

The shell history keeps track of every command you type. it is stored in

  [alibaba@ohnonono ~]$ ls -la ~/.bash_history
  -rw------- 1 alibaba alibaba 176 May 25 11:18 /home/alibaba/.bash_history
  [alibaba@ohnonono ~]$ cat .bash_history
  type ls
  type cat
  type time
  ls -la /bin/pwd
  man cd
  cd /var/www/html
  cd ~
Personal tools