如何从命令行在特定页面打开PDF? (OSX或Linux) [英] how do you open a PDF at a specific page from the command line? (OSX or Linux)

查看:148
本文介绍了如何从命令行在特定页面打开PDF? (OSX或Linux)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从命令行在特定页面打开一个PDF文档,类似 vim + n [file]

I want to open a PDF document at a specific page from the command line, sort of like vim +n [file]. Is there any way to do that in OSX, with any PDF reader program?

推荐答案

可以使用 Evince 使用 -p --page-label = PAGE 命令行参数如下:

You can do this with Evince using the -p or --page-label=PAGE command line argument like so:

evince -p 5 foo.pdf

这篇关于如何从命令行在特定页面打开PDF? (OSX或Linux)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆