LinuxForum.Fans
Тема

Скрипт: запускается консоль а в ней команда

Автор: Vitalik85 3 сообщений 2992 просмотров
#335388

Подскажите, как создать скрипт чтобы запускался сначала xterm, а в нем определенная команда.
Вот пример, но не работает:
#!/bin/bash
/usr/bin/xterm
/usr/каталог/исполняемый_файл

#335393
text

man xterm
...
-e program [ arguments ... ]
   This option specifies the program (and its command line arguments) to be run in the xterm window.  It also sets the  window  title  and  icon
   name  to  be  the basename of the program being executed if neither -T nor -n are given on the command line.  This must be the last option on
   the command line.
...
#335398

Спасибо! Можно закрывать)))

Войдите или зарегистрируйтесь, чтобы ответить.