Nguyễn Thành Huy
New member
How do you add a file to a directory in Unix?
Answer
There are multiple ways to create a file in unix.
Answer
There are multiple ways to create a file in unix.
- touch command: It will create an empty file in directory specified. …
- vi command (or nano): You can use any editor to create a file. …
- cat command: Although cat is used to view file, but you can use this to create file as well from terminal.