From 3d129216e0e871fdf7f2895eed9762d6873276c6 Mon Sep 17 00:00:00 2001 From: iqtheengineer <82541131+iqtheengineer@users.noreply.github.com> Date: Wed, 14 Sep 2022 04:23:55 -0400 Subject: [PATCH] adding linux answers (#290) --- topics/linux/README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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