Using the & command to launch an application and keep the shell
I know the & character can be tagged after an application name to keep the shell prompt (perhaps this opens the app in a new session). However I am not sure how to use this when the app has parameters after it.
For instance, I'm trying to do:
while keeping my shell usable, however niether
pppd & dial mymodem
work. Anyone know the correct syntax to do this?
pppd dial mymodem &
Re: Using the & command to launch an application and keep the shell
What it does is that it runs the command in the background. I think you can get the command back into the foreground (and tying up your shell session) with the fg (foreground) command.
Originally Posted by ngmlinux