开发者

Enable History Logging In TCSH Shell

开发者 https://www.devze.com 2023-01-13 07:57 出处:网络
How can I enable logging of all the commands e开发者_运维百科ntered in the tcsh shell? I\'ve tried:

How can I enable logging of all the commands e开发者_运维百科ntered in the tcsh shell?

I've tried:

  1. Setting the $history variable to 100.
  2. The $savehist to 99.
  3. Set the $histfile to $home/.history

Typing commands into the shell doesn't save the commands in the history file.


In my .tcshrc:

set history=2000
set savehist=(2000 merge)
0

精彩评论

暂无评论...
验证码 换一张
取 消