How do you create a file in UNIX
Answer Posted / punit sharma
There are diffferent ways of crating a file on Unix
1. touch <filename>
2. cat <filename>
3. echo > <filename>
4. > <filename>
5. Using Vi editor
Is This Answer Correct ? | 78 Yes | 31 No |
Post New Answer View All Answers
What does the command ' $who | sort –logfile > newfile' do?
Which command is used to delete all files in the current directory and all its sub-directories?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What command will change your prompt to myprompt?
What is the general format of unix command syntax?
What is the use of the tee command?
Enumerate some of the most commonly used network commands in unix?
What happens when we execute a unix command?
Does cp command overwrite files?
What does pipe () return?
What does find command return in unix?
What does grep v do?
What is the difference between grep and grep?
How does pipe () work?
What command is used to switching between users in unix?