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 grep in bash?
Does cp command overwrite files?
What is a command and examples?
What is command substitution?
How to use grep command to list find the records of a file containing 10 different strings?
What is the difference between grep and grep?
How do I search for a file in unix command?
What is the functionality of a top command?
What does the command ' $who | sort –logfile > newfile' do?
how to sort the content of the file based on numeric values
What is updatedb?
What is the command to find maximum memory taking process on the server?
Explain mount and unmount command.
What does #!/ Bin sh do?
Write a command to kill the last background job?