what will this do $cat > file.c ?(file.c is a file in
current directory)

Answer Posted / prakash reddy

if file.c exists in current directory, entire content will
be erased, if it is not present a new file by the name
file.c is created

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rmdir command?

555


How do I search a whole word in vim?

693


Differentiate cmp command from diff command.

587


Who command in unix operating system?

662


What is the use of sed command in unix?

601






What is the command to view process running?

577


What is command statement?

543


What is s and g in sed command?

561


What is the search command in unix?

603


How does pipe () work?

597


What are some command words?

567


What are reported commands?

568


What are grep patterns?

579


What is the use of egrep command in unix?

626


Explain ‘system calls’ with respect to unix commands?

604