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
How can we use grep command in unix?
Using unix command how to display no of records in oracle?
What is the use of the tee command?
What command will change your prompt to myprompt?
What are the commands in UNIX to list the files in a Directory?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Describe the usage and functionality of the command rm –r * in unix?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What are awk commands?
What command is used to switching between users in unix?
What is “chmod” command?
How do I find previous commands in unix?
What is ‘ps’ command for?
What is the use of cut command in unix?
What is the size of time_t?