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
What does 'mkdir' command do in UNIX?
What is command substitution?
What does the md command do?
How does pipe () work?
How do I run a bash script?
hw will u use awk in replacing cahrs and files
Write a command to display a file’s contents in various formats?
Which command is used to copy files?
What happens when we execute a unix command?
What is grep and how do you use it?
What is the significance of the 'tee' command?
What does find command return in unix?
What is awk used for?
Using unix command how to display no of records in oracle?
What do chmod, chown, chgrp commands do?