0

I made this script and when i execute it I got the following error

#!/bin/bash
# shell script that launchs all commands lines i need


gnome-terminal --window-with-profile=DEV-e 'cd /home/user/path/'

Error is

line 5: gnome-terminal: command not found

got a Xubuntu Xenial

  • 1
    Run which gnome-terminal, what's the ouput? – George Udosen Sep 8 '17 at 11:24
  • 2
    How do you execute the script? From where? Is gnome-terminal installed? What is the output of type -a gnome-terminal? Please edit your question and clarify. – terdon Sep 8 '17 at 11:27
  • thanks, I had just a terminal installed but not gnome s one. please answer to install gnome terminal and i accept! – Nicolas D Sep 8 '17 at 13:05
  • Feel free to answer your own question. – glenn jackman Sep 8 '17 at 13:57
0

I just had to make a

sudo apt-get install gnome-terminal

and thats it. Thanks

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.