Question: When redirecting the output, the difference between > and >> is: a. > is used with text files, while >> is used with displays and

When redirecting the output, the difference between > and >> is:

a. > is used with text files, while >> is used with displays and monitors

b. Nothing, the newer version of bash uses >>

c. > is used to direct the output to text files, while >> is used to direct the output to binary files

d. the first one (>) erases the file before writing, while >> adds to it

What is the result of the command

$cat < file1 >file2_that_does_not_exist

a.

It displays file1 on the monitor and issues error file 2 does not exist

b.

It copies file 1 to file 2

c.

Error, file2 does not exist

d.

It displays file 1 on the monitor and create another file called file2

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!