How Do I Open a Pdf in Linux Command Line?
Contents

How do I convert a PDF to Linux?

2 Methods to Convert PDF to Text on Linux

  1. sudo apt install calibre.
  2. sudo apt install poppler-utils [Works for Debian, Mint, Ubuntu, etc.]
  3. pdftotext -layout source.pdf target.txt [Source is the original PDF and Target is the final output]
  4. pdftotext -layout -f M -l N source. …
  5. Windows:

How do I open a file in Linux command line?

To open any file from the command line with the default application, just type open followed by the filename/path. Edit: as per Johnny Drama’s comment below, if you want to be able to open files in a certain application, put -a followed by the application’s name in quotes between open and the file.

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest