1.创建一个大小为500M的文件

 dd if=/dev/zero of=test.log bs=1M count=500

2.查看文件大小

[root@]$ ls -lh test.log
-rw-r--r-- 1 root root 500M Mar 6 14:20 test.log
[root@  ]$

相关文章:

  • 2021-10-13
  • 2022-03-01
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2021-08-17
猜你喜欢
  • 2021-11-17
  • 2022-01-17
  • 2021-11-15
  • 2022-12-23
  • 2021-06-22
  • 2021-12-06
相关资源
相似解决方案