•        OS : openKylin-0.7.5-x86_64
  •        blog : 师万物

history 查看执行过的命令

root@sww:/home# history
    1  fdisk -l
    2  cd ~
    3  fdisk -l
    4  cd /boot/
    5  ls -aa
    6  ls -a
    7  ls -l
    8  cd /boot/
    9  ls -l
   10  tree
   11  apt-get install tree
   12  tree /F
   13  tree
   14  init
   15  init /?
   16  man init 
   17  help init
   18  info init
   19  .
   20  cd .
   21  \q
   22  quit
   23  exit
   24  who
   25  echo $SHELL
   26  alias
   27  alias cdhome='cd /home/'
   28  cdhome
   29  unalias cdhome
   30  cdhome
   31  vim /etc/bash.bashrc 
   32  history

root@sww:/home# history 3
   31  vim /etc/bash.bashrc 
   32  history
   33  history 3

学习资源


感恩曾经帮助过 师万物 的同学们。