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
What is unix command line?
What is “chmod” command?
How do I clear my terminal history?
What does 'mkdir' command do in UNIX?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
Explain ‘library functions’ with respect to unix commands?
How do you grep recursively?
How can you see the command line history?
Describe the zip/unzip command using gzip.
What is the comma to show the space allocation of files?
What will the following command do?
What are awk commands?
Is ‘du’ a command? If so, what is its use?
What does the “echo” command do?
What is the command to find hidden files in the current directory?