linux的history命令

admin 2017-07-10 0 次浏览

linux的history命令

  Linux系统下history命令是一个可以显示历史记录的命令,下面由小编为大家整理了linux的history命令的相关知识,希望大家喜欢!

  linux的history命令详解

  History命令主要用于显示历史指令记录内容, 下达历史纪录中的指令。

  1.History命令语法

  [allen@linux]# history [n]

  [allen@linux]# history [-c]

  [allen@linux]# history [-raw] histfiles

  2.参数

  n :数字,要列出最近的 n 笔命令列表请关闭浏览器的畅读模式或者取消屏蔽JavaScript的正常运行,避免出现内容显示不全或者段落错乱。

原网页地址:https://www.qnalx.net/xuexi/3623850.html