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

Answer Posted / pramod krishna

Given file.c is a file in current dirctory.
So the command will remove the existing content and keep
the new content typing

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is it called grep?

565


Which command is used to find whether the system is 32 bit or 64 bit?

633


Enlist some filename manipulation commands in unix.

556


What command will change your prompt to myprompt?

708


What's a command word?

591






What are file commands?

656


What is ‘ps’ command for?

620


What is grep r?

595


What does grep v do?

562


How does the system know where one command ends and another begins?

1582


Why is awk called awk?

581


What is the command to view process running?

578


What is the difference between awk and grep?

561


How do you grep a case insensitive?

545


What does pipe () return?

599