what will this do $cat > file.c ?(file.c is a file in
current directory)
Answer Posted / rohit
First of all it is 'cat' command '$' is representing the
shell on which this command will be executed.
After execution of this command the system will expect you
to type in the contents of the file and then press the Ctrl-
d to terminate. The text you typed in will be stored in
file.c file.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Explain ‘system calls’ with respect to unix commands?
How do I open a port?
What is the use of the tee command?
What is grep short for?
Differentiate cat command from more command.
How do I search for a file in unix command?
What is grep r?
What is updatedb?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
How do I delete files from command prompt?
What does the metacharacter mean?
Is command prompt unix?
Describe the usage and functionality of the command rm –r * in unix?
why metadb requires a seperate slice to create Solaris volume manager
How do I run a whois command?