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
Can you explain a little bit about command substitution?
What are filter commands in unix?
How does pipe () work?
What does the command ' $who | sort –logfile > newfile' do?
What is the function of grep command in unix?
What does pipe () return?
Which command should you use to find the remaining disk space in unix server?
What is grep command in unix with examples?
Which command is used to delete all files in the current directory and all its sub-directories?
What are grep patterns?
How do I search for text in vi?
What is grep and how do you use it?
What does the “echo” command do?
What is in grep command?
What is awk used for?