Commands for opening PDF files and HTML files from the command line under Linux

Source: Internet
Author: User
Commands for opening PDF files and HTML files from the command line under Linux
[Date: 2012-06-18] Source: Linux Community Author: hipercomer [Font: big medium Small]

If you often work at a Linux terminal and need to look at some documents at some point (such as PDFs or HTML documents), it is often necessary to switch to the file system to open the files. In fact, you just need to knock a command to open the file, there is absolutely no need to leave the terminal.

For example, when you open an HTML file, you can use the Firefox command. Firefox is a shell script-written command that sets the environment according to the parameters and prepares for starting Firefox-bin.

For example, open the LINUXIDC Web site:

Firefox http://www.linuxidc.com

Also open the local file, just pass in a path to a local file.

When you open a PDF, the more generic command under Linux is the evince command.

For example, when opening the current directory of the Hdfs_design.pdf file: evince hdfs_design.pdf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.