Question: assuming foo is an existing program, and bar is a writable file int the working directory, what will happen if we enter the fillowing command

assuming foo is an existing program, and bar is a writable file int the working directory, what will happen if we enter the fillowing command in a shell? foo > bar; the contents of bar will be sent to the input of foo, the output of foo will replace the current contents of bar, the output of foo will be appended to the contents of bar, the shell will not execute foo and report an error, all of the above, none of the above

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!