what will this do $cat > file.c ?(file.c is a file in
current directory)
Answer Posted / suvarna
cat >file.c -- wait for input data....
If we type something and press ctrl+d, whatever we typed
would be saved to file.c
else if we press ctrl+c, the file remains unchanged.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is command substitution?
What is the significance of the 'tee' command?
what is the advaantage of each user having its own copy of the shell?
What does sed command do in unix?
Explain ‘library functions’ with respect to unix commands?
What is the use of finger command?
What is grep in bash?
Name the unix command to find how many days the server has been up.
How do I run a bash script?
How does shebang work?
Why is awk called awk?
Name the general commands in using unix os for a beginner?
What is the use of egrep command in unix?
What is the command to find hidden files in the current directory?
What is the use of awk command in unix?