How do I create a dummy file in Linux?

Bảo Vy

Member
How do I create a dummy file in Linux?
Answer
Linux / UNIX: Create Large 1GB Binary Image File With dd Command
  1. fallocate command – Preallocate space to a file.
  2. truncate command – Shrink or extend the size of a file to the specified size.
  3. dd command – Convert and copy a file i.e. clone/create/overwrite images.
  4. df command – Show free disk space.
 

Tìm kiếm

Back
Top