It will remove the ls command from history." />
开发者

How can ignore more than one commands from history?

开发者 https://www.devze.com 2023-02-05 23:26 出处:网络
If we 开发者_开发技巧want to remove one command from history we can use, For Example, export HISTIGNORE=\"ls\" -> It will remove the ls command from history.

If we 开发者_开发技巧want to remove one command from history we can use,

For Example,

export HISTIGNORE="ls" -> It will remove the ls command from history.

But I want to know how to ignore more than one commands from history?

Thanks in Advance.


Input the list with commands separated by colons:

export HISTIGNORE="&:ls:[bf]g:exit"
0

精彩评论

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