Chrome 可以查看 PDF 文件,因此我决定将其设为我的默认 PDF 查看器。但是,我不知道如何通过我的终端模拟器在 chrome 中打开 PDF 文件。
我尝试了一个命令google-chrome example.pdf,但它失败了,而地址不是file:///path/to/example.pdf/but http://example.pdf/。
google-chrome example.pdf
file:///path/to/example.pdf/
http://example.pdf/
我的英语不好,所以你可以根据需要编辑问题。
谢谢!
更新:抱歉,我没有提到该解决方案必须对 GNU/Linux 有效。
linux pdf google-chrome command-line
command-line ×1
google-chrome ×1
linux ×1
pdf ×1