I have simple goal of creating script to open terminal, run command and then keep terminal open.
Here is what I tried:
#!/bin/bash
xterm -e -hold ls
It generates the following error:
xterm: Can't execvp -hold: No such file or directory
Then I also tried
#!/bin/bash
konsole -e --noclose ls
This simple does not do anything, when I double-click it. (I made sure that script file is executable)
I do not want to use gnome-terminal
as it requires creating profile for gnome-terminal
first.
Would it be easier to do in python?
hold
is considered as a file or directory.