Here is my alias.
alias myAlias='myScript --option& && exit'
I want to run the script myScript with option option in background and then exit from bash. I want to set it up as an alias called myAlias in my bashrc file. However, I am getting an syntax error when I try to run myAlias. How to fix it?
Thanks
nohup myScript --option& exit--option&looks like typo, is it really legal?geditputs itself in background.