Run the terminal from the script.
#!/bin/bash
xterm -e sudo apt-get install vlc -y
Other terminals might have a different way how to run a command than -e
.
Run the terminal from the script.
#!/bin/bash
xterm -e sudo apt-get install vlc -y
Other terminals might have a different way how to run a command than -e
.