Reputation
Top tag
Next privilege 125 Rep.
Vote down
Badges
3
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 36 votes cast
Dec
26
comment How can you trim files using the command line?
@ChrisDown Because /dev/null contains no data when you read, but /dev/zero contains infinte zeros. Oh, count=1, the number of bytes to write must not be zero.
Dec
25
comment How can you trim files using the command line?
You should read from /dev/zero: if=/dev/zero