Ранее я мог запускать сценарий оболочки в моем терминале, выполняя его для:
sudo chmod a+x /path/to/script
Бег с
/path/to/script/./scriptToRun.sh
Вот вывод:
Файл: dir, Node: Top Это вершина дерева информации
This (the Directory node) gives a menu of major topics.
Typing "q" exits, "?" lists all Info commands, "d" returns here,
"h" gives a primer for first-timers,
"mEmacs<Return>" visits the Emacs manual, etc.
In Emacs, you can click mouse button 2 on a menu item or cross reference
to select it.
* Menu:
Texinfo documentation system
* Info: (info). How to use the documentation browsing system.
* Texinfo: (texinfo). The GNU documentation format.
* info stand-alone: (info-stnd). Read Info documents without Emacs.
* infokey: (info-stnd)In
Теперь он открывает emacs, и я, кажется, не могу его просто запустить скрипт.
Файлы имеют шебанг, т.е. #!/bin/bash -e
Был бы признателен, если бы у кого-то было исправление для этого.