How do you create a file in UNIX
Answer Posted / kanta harikrishna
by using touch command we can create an empty file:
syntax:touch <file-name>
by using cat command.......
syntax:cat ><file-name>
by using vi editor.......
syntax:vi <file-name>
(or)
><file-name>
| Is This Answer Correct ? | 7 Yes | 4 No |
Post New Answer View All Answers
What does 'mkdir' command do in UNIX?
What are reported commands?
What is the difference between cat command and more command?
how to sort the content of the file based on numeric values
What are awk commands?
Differentiate cat command from more command.
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
Write a command to display a file’s contents in various formats?
How do I find previous commands in unix?
How do I search a whole word in vim?
What does this command do? Cat food 1 > kitty
What is the use of the tee command?
Is command prompt unix?
What does sed command do in unix?
Who invented grep?