qweewq123qwe 发表于 2018-8-26 08:46:25

20.Shell介绍,history,Tab键,通配符,重定向

# HISTTIMEFORMAT="%Y/%m/%d %H:%M:%S "  # echo $HISTTIMEFORMAT
  %Y/%m/%d %H:%M:%S
  # history
  12018/01/10 23:18:28 history
  22018/01/10 23:20:12 cat bash_history
  32018/01/10 23:20:38 cat .bash_history
  42018/01/10 23:25:45 ls -l .bash_history
  52018/01/10 23:25:49 ls
  62018/01/10 23:26:44 vi /etc/profile
  72018/01/10 23:32:44 echo $HISTSIZE
  82018/01/10 23:33:02 source /etc/profile
  92018/01/10 23:33:05 echo $HISTSIZE

页: [1]
查看完整版本: 20.Shell介绍,history,Tab键,通配符,重定向