Re:請問有支援 shell history 功能的工具嗎?
Monday, January 10, 2005 2:04:07 PM 解決我全部的問題
--------------------------------------------------------------------------------
Hi :
The posix shell (/usr/bin/sh) is the default luser\'s login shell.
Set up the follows in ~/.profile
EDITOR=vi
export EDITOR
will let you access the command buffer by vi syntax, such as ESC k for last line, ESC j for next line.
More environment can control the command history file, such as
HISTFILE for name of command history file.
HISTSIZE for the size of history file.
For more detail, please reference man page by
$ man sh-posix作者: beyond_wyc 時間: 2008-01-08 10:36
不僅要看歷史命令的名稱,還看其執(zhí)行用戶和執(zhí)行時間,是否可做到?作者: sway2004009 時間: 2008-01-09 13:58
可以被自定義。
可以check一下所有的.profile 或者其他啟動腳本里面,有沒有對histfile進行設(shè)置。