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

How can ignore more than one commands 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜