Skip to content

Commit 3d12921

Browse files
adding linux answers (bregman-arie#290)
1 parent 5c6e491 commit 3d12921

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

topics/linux/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -917,9 +917,13 @@ There are many answers for this question. One way is running `df -T`
917917
<details>
918918
<summary>How to create a
919919

920-
* new empty file
921-
* a file with text (without using text editor)
922-
* a file with given size</summary><br><b>
920+
- new empty file
921+
- a file with text (without using text editor)
922+
- a file with given size</summary><br><b>
923+
924+
* touch new_file.txt
925+
* cat > new_file [enter] submit text; ctrl + d to exit insert mode
926+
* truncate -s <size> new_file.txt
923927
</b></details>
924928

925929
<details>

0 commit comments

Comments
 (0)