Question: Please answer these 2 questions in operating system course Write a shell script that can find all files with virus name and then move it

 Please answer these 2 questions in operating system course Write a

Please answer these 2 questions in operating system course

Write a shell script that can find all files with "virus" name and then move it to the folder named "viruses". The script check the number of arguments and give an usage if it is not 2. * Please hand-write this exercise on a paper with your name and ID then upload it Your answer What is the result of this below code * 1 #include 2 int main() 3 { 4 printf("Parent PID Ad ", getpid()); 5 if (fork () ==0) 6 { 7 printf("child 1 - "); 8 if(fork () ==0) 9 { 10 printf("child 2 - "); 11 if (fork() ==0) 12 printf("child 3 - 13 } 15 return 0; 16 }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!