mirror of
https://github.com/cheat/cheat.git
synced 2025-09-03 02:28:29 +02:00
Made trivial changes to some of the cheatsheets to make them play more nicely with colorized output.
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
To clear the contents from a file:
|
||||
# To clear the contents from a file:
|
||||
truncate -s 0 file.txt
|
||||
|
||||
To truncate a file to 100 bytes:
|
||||
# To truncate a file to 100 bytes:
|
||||
truncate -s 100 file.txt
|
||||
|
||||
To truncate a file to 100 KB:
|
||||
# To truncate a file to 100 KB:
|
||||
truncate -s 100K file.txt
|
||||
|
||||
(M, G, T, P, E, Z, and Y may be used in place of "K" as required.)
|
||||
# (M, G, T, P, E, Z, and Y may be used in place of "K" as required.)
|
||||
|
Reference in New Issue
Block a user