If your command or script is going to run for a long time then run it in background mode by adding & at the end of the command.