记录黑客技术中优秀的内容, 传播黑客文化,分享黑客技术精华

Execute a command without saving it in the history

2019-03-24 13:11

<space>command
Prepending one or more spaces to your command won't be saved in history. Useful for pr0n or passwords on the commandline. Tested on BASH.
Sample Output
$ echo this goes to history
this goes to history

$   echo this wont go to history
this wont go to history

$ history
    1  echo this goes to history
    2  history
知识来源: https://www.commandlinefu.com/commands/view/1512/execute-a-command-without-saving-it-in-the-history

阅读:33916 | 评论:0 | 标签:无

想收藏或者和大家分享这篇好文章→复制链接地址

公告

关注公众号hackdig,学习最新黑客技术

推广

工具

标签云

本页关键词