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

Answer Posted / ram

It will allow you to create file.c ( if file.c is
available, it will be overwritten with new data )

Is This Answer Correct ?    73 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of finger command?

603


What does the “echo” command do?

626


How can we use grep command in unix?

621


Which command is used to restrict incoming messages?

594


Can you enlist some commonly used network commands?

604






Why is awk called awk?

581


What does awk stand for?

615


How do I search a whole word in vim?

693


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

628


Write a command that will display files in the current directory, in a colored, long format.

689


Using unix command how to display no of records in oracle?

613


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1766


Enumerate some of the most commonly used network commands in unix?

620


What are file commands?

656


Why is grep called grep?

783