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
Can you explain a little bit about command substitution?
Is ‘du’ a command? If so, what is its use?
What is the use of the tee command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is .sh file?
Explain how to use grep command to list find the records of a file containing 10 different strings?
Write a command that will display files in the current directory, in a colored, long format.
How many unix commands are there?
What is grep short for?
What is the use of awk command in unix?
How to find $ai_serual resolved path by using unix
What do know about tee command and its usage?
Explain ‘library functions’ with respect to unix commands?
What command will change your prompt to myprompt?
What is the use of the command 'ls -x chapter[1-5]' ?