PrepAway - Latest Free Exam Questions & Answers

What command should be entered to print and then delete the file, foobar.txt?

What command should be entered to print and then delete the file, foobar.txt?

A.
lpr -0 delete foobar.txt

B.
lpr -d foobar.txt

C.
lpr -r foobar.txt

D.
lpr -0 remove foobar.txt

Explanation/Reference:
From the man pages:
lpr – print files
      -r            Specifies  that  the  named  print  files  should be deleted after printing them.


Leave a Reply