I tried execute my script using:
nohup . test.sh
and
nohup . ./test.sh
However, I got: nohup: failed to run command `.': Permission denied
each time.
What I'm really trying to do is in my script be able to call commands that I've aliased, but it only works with ". test.sh
" or ". ./test.sh
", not "./test.sh
" or "sh ./test.sh
" as I get a "command not found". But I'd like to be able to run this with "nohup".