Print all files in a directory in Linux

Use a terminal command in Linux to print files in a directory


Here's how you can print all files in a directory in Linux, by using a terminal command.

1. Open a terminal window.

2. Go to the directory.

3. Type in the following command then hit Enter.

lpr -o landscape *.txt

For more, see the original article at the link below.


lpr: Print file from command line | Fresh Tutorial

This article is published as part of the IDG Contributor Network. Want to Join?

Now Read This: IT Resume Makeover: Our top 11 tips
View Comments
You Might Like
Join the discussion
Be the first to comment on this article. Our Commenting Policies