Answer the question
In order to leave comments, you need to log in
How to launch konsole in kubuntu and immediately execute a command in it?
The task is this. Every time I start the system, I have to execute several commands in the console.
Of course, you can write a bash script and put it on autoload, but not everything is so simple. After executing the commands, I need this terminal.
For example.
1. Start vagrant up
2. Connect to vagrant ssh
3. Run commands from under vagrant.
And keep the window open.
Answer the question
In order to leave comments, you need to log in
to autoload:
konsole -e /bin/bash -c /home/user/bin/script.sh
and write your commands in the script.
Checked on fedora c kde, it works.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question