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 does the “echo” command do?
What is the behavioural difference between cmp and diff commands?
What is grep and how do you use it?
Why is it called a shebang?
What is command statement?
What is .sh file?
What is the first character of the output in ls l command?
What command will change your prompt to myprompt?
Who command in unix?
What is the use of cut command in unix?
Which command is used to create a directory?
Explain ‘library functions’ with respect to unix commands?
Describe the usage and functionality of the command rm –r * in unix?
How do I search for a file in unix command?
What is the use of the tee command?