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 command is used to check the current users?
Write a command to display a file’s contents in various formats?
What is {} in find command?
How do I find previous commands in unix?
why metadb requires a seperate slice to create Solaris volume manager
Who wrote grep?
Describe the zip/unzip command using gzip.
What do know about tee command?
What are the commands in UNIX to list the files in a Directory?
How do you repeat a command in terminal?
How do I run a bash script?
What is the use of the tee command?
Which command is used to create a directory?
Why is awk called awk?
How do I use grep to search for a file?