我读到的/dev/null是一个特殊文件,它会“丢弃”写入其中的所有内容,但是直接写入它是否会以任何方式使用硬盘?或者RAM怎么样?
/dev/null
例如:
wget http://speedtest.wdc01.softlayer.com/downloads/test500.zip -o /dev/null
同样对于 Windows,写 to 的NUL行为也一样吗?
NUL
windows linux
linux ×1
windows ×1