Is there any way to run a .sh script in a terminal window on boot?

My computer boots slowly and I want to be able to press the button and leave to save a lot of time.

This script is a looping server and requires command input and monitoring. It must not run invisible or I will be unable to shut it down properly, which will result in damage to the files.

Ubuntu 14.04LTS 32bit

  • 1
    When do you want to run it? After login or even before? And which Ubuntu flavour (Desktop Environment) are you using or do you prefer a terminal solution to set the autostart up?
    – Byte Commander
    Mar 20, 2015 at 11:33
  • What is a 'terminal solution'? I added the rest of the questions to the OP
    – Myst
    Mar 20, 2015 at 18:58

1 Answer 1


You can try openvt , though interactive script on boot will be tricky.

this answer might help. answer implements openvt

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .