diff --git a/topics/linux/README.md b/topics/linux/README.md index 7818c80..53c3b62 100644 --- a/topics/linux/README.md +++ b/topics/linux/README.md @@ -917,9 +917,13 @@ There are many answers for this question. One way is running `df -T`
How to create a - * new empty file - * a file with text (without using text editor) - * a file with given size
+ - new empty file + - a file with text (without using text editor) + - a file with given size
+ + * touch new_file.txt + * cat > new_file [enter] submit text; ctrl + d to exit insert mode + * truncate -s new_file.txt