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

Answer Posted / nagarjuna@rvr

the cat command is used to create and append info to the
files. by using the cat>file.c we create the file file.c.
if it is already in the current directory then it erise the
old info and place the new info onto the file file.c.

Is This Answer Correct ?    29 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you enlist some commonly used network commands?

604


What is updatedb?

590


Which command is used to kill the last background job?

786


What command will change your prompt to myprompt?

709


Which command is used to copy files?

558






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

693


What happens when we execute a unix command?

600


Explain the steps that a shell follows while processing a command.

683


What is the comma to show the space allocation of files?

562


Explain ‘library functions’ with respect to unix commands?

606


What is command statement?

543


Who wrote grep?

589


How do I use grep to search for a file?

584


What does the metacharacter mean?

612


why metadb requires a seperate slice to create Solaris volume manager

2558