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


Please Help Members By Posting Answers For Below Questions

What is a bash command?

629


Explain command to display different lines that are found when compare two files?

682


What does this command do? Cat food 1 > kitty

984


What do chmod command do?

609


What are the dos commands?

662






Is it inbetween or in between?

592


Which command is used to kill the last background job?

787


What does this command do,"$more readme.txt“?

695


What is time_t?

596


What does grep v do?

566


What are reported commands?

572


What is updatedb?

594


Explain ‘system calls’ with respect to unix commands?

608


What is the use of awk command in unix?

585


Can you explain a little bit about command substitution?

622