What is /dev/null

/dev/null 是一个特殊的文件,在 UNIX 和 Linux 系统中用于丢弃不需要的数据。当进行系统安全加固时,黑客可能会利用它来隐藏自己的行为,例如通过重定向日志到 /dev/null 来阻止系统记录 bash 命令历史。这个术语也被通俗地用来指代忽视或忽略某些事物。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 /dev/null: On UNIX, this is a virtual-file that can be written to. Data written to this file gets discarded. It is similar to the file call NUL on Windows machines. Key point: When rooting a machine, intruders will often redirect logging to /dev/null For example, the command ln -s /dev/null .bash_history will cause the system to stop logging bash commands. Culture: In the vernacular, means much the same thing as black hole. Typical usage: if you don't like what I have to say, please direct your comments to /dev/null.

 

 

come from: http://linux.about.com/cs/linux101/g/slshdevslshnull.htm

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值