I have been using an &
at the end of some commands, to free up the terminal. However, if it requires sudo, it doesn't work. I can get around this by running a random sudo command before it, but this is a pain, and I could also type the password in the command but this is insecure. Is there any alternative way of getting these commands to work.
Thanks.