$ dd if=/dev/zero of=junk.data bs=1M count=1

参数:

if  (input file)

of (output file)

bs(block size)

count(需要复制的块数)

bs 单位(c w B K M G)

 

/dev/zero 特殊的字符设备,返回0值字节(\0)

 

相关文章:

  • 2022-12-23
  • 2021-10-02
  • 2021-11-05
  • 2021-09-30
  • 2021-10-18
  • 2022-12-23
  • 2021-08-11
  • 2022-02-23
猜你喜欢
  • 2022-12-23
  • 2021-12-07
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案