Use terminal command to print text file in Linux

Print a text file by using a terminal command

Here's how you can print a text file from the terminal in Linux.

1. Open a terminal window.

2. Type in the following command then hit Enter.

lpr filename

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

LinkArrow6.jpg

lpr: Print file from command line | Fresh Tutorial

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

From CIO: 8 Free Online Courses to Grow Your Tech Skills
Notice to our Readers
We're now using social media to take your comments and feedback. Learn more about this here.