what will this do $cat > file.c ?(file.c is a file in
current directory)
Answer Posted / manikya girish
if we consider the command as cat > file.c
If we run this command the user gets back the control and he
needs to type something and once done, hit Ctrl+C to come
out of the scope. Whatever you have typed after executing
the command will be there in the file file.c
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
Why is shebang used?
Write a command to display a file’s contents in various formats?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do I search a whole word in vim?
How does the system know where one command ends and another begins?
Which command is used to restrict incoming messages?
What is the difference between awk and grep?
What is command statement?
Is ‘du’ a command? If so, what is its use?
What is merge command in unix?
What is difference between grep and find command in unix?
What is the comma to display different lines that are found when compare two files?
Give the command for finding the current date.
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?