Question: As a Linux script developer you are trying to debug a shell script that has the command ls - s in it . You suspect

As a Linux script developer you are trying to debug a shell script that has the command ls -s in it. You suspect that an error is occurring, and want to send the results of the operation and any errors to a file named ~/Friday in order to examine it later.
Which of the following commands should you use?
answer
ls -s &> ~/Friday
ls -s >> ~/Friday
ls -s < ~/Friday
ls -s > ~/Friday

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!