Я знаю, что это должен быть очень простой вопрос, но я не могу понять, как открывать файлы, изображения, текст и PDF-файлы.
Команды, которые я пробовал:
open filename
xdg-open filename
evince filename
, но для каждой полученной мной ошибки было 'open' / 'xdg-open' / 'evince' не распознается как внутренняя или внешняя команда, работающая программа или пакет файл.
Любая помощь будет принята с благодарностью.
It seems that you do not have open
/xdg-open
/evince
installed. xdg-open
can be found in the xdg-utils
package and evince
in the evince
package so you can install them (xdg-open
, evince
) by firing up a terminal and executing the following command:
$ sudo apt install xdg-utils evince
Then, to double check that they are now available:
$ which xdg-open
/usr/bin/xdg-open
$ which evince
/usr/bin/evince
Now, to open a file:
If the file is a plain text file (e.g. example.txt
), execute:
$ xdg-open example.txt
Если файл является PDF-документом или аналогичным (например, example.pdf
), выполните:
$ evince example.pdf