Bob has written a Shell program to calculate the salary of ABC
Organization and mail the calculated salary to the employees. Bob assured
that there will be no human intervention required to run the shell program.
Manager of Bob, decided to run this shell program on the last working day of
every month and he wants to view the run time errors after the execution of
this shell script. Suggest him the solution

sh filename.sh 1> errorLog.txt
sh filename.sh 1>> errorLog.txt
sh filename.sh 2>> errorLog.txt
sh filename.sh 0> errorLog.txt
Correct Option - c

To get all Infosys Certified L2 Junior Open Source Programmer Exam questions Join Group https://bit.ly/infy_premium_group

We're passionate about offering best placement materials and courses!! A one stop place for Placement Materials. We daily post Offcampus updates and Placement Materials.

Qtr No. 213, New Town Yehlanka Indore 454775

admin@prepflix.in