How do I make a file larger in Linux?

Kim Thu Đoàn

New member
How do I make a file larger 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.
27 нояб. 2013 г.
 

Tìm kiếm

Back
Top