I’m not familiar with the -p flag on Firefox but in general, adding & to the end of your command backgrounds it and disown detaches it from your shell so it doesn’t close.
firefox -p &; disown should do what you’re looking for, if I’m understanding you right
I’m not familiar with the -p flag on Firefox but in general, adding
&to the end of your command backgrounds it anddisowndetaches it from your shell so it doesn’t close.firefox -p &; disownshould do what you’re looking for, if I’m understanding you rightYou don’t need disown if you’re closing the terminal. Just
firefox -p &~$ firefox -p &; disown bash: syntax error near unexpected token `;’
just omit the
;firefox -p & disown