Closed MikeOpenHWGroup closed 3 months ago
The ampersand (&
) creates a fork to execute the proceeding command. Typing firefox index.html
will launch firefox, but the terminal will "hang" until Firefox is terminated. Typing firefox index.html &
will run Firefox on a new thread and the terminal will be ready for the next command.
I wasn't sure why the "&" firefox index.html &