How do you create a file in UNIX
Answer Posted / shiva ram prasad
there are many ways to create a file in unix like
1)cat
2)touch
3)vi
4)tee
for eg to create a file using cat is
$cat > filename
hi how r u
n hit ctrl+d to save n quit
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are the commands in UNIX to list the files in a Directory?
How to use grep command to list find the records of a file containing 10 different strings?
What is the use of the command 'ls -x chapter[1-5]' ?
How do I use grep to find a file?
What does awk stand for?
What is difference between grep and find command in unix?
Why is grep called grep?
Which command should you use to find the remaining disk space in unix server?
Enumerate some of the most commonly used network commands in unix?
What is grep command in unix with examples?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is the use of the tee command?
Differentiate cmp command from diff command.
How do I use grep to search for a file?