Views:
1,403
Votes: 2
✅ Solution
Tag :
command-line
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1060423
Title:
running two commands from a single terminal
ID:
/2018/07/29/running-two-commands-from-a-single-terminal
Created:
July 29, 2018
Edited: July 29, 2018
Upload:
November 23, 2025
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
You could type these commands after the $ prompt:
$ sudo apt update &
[1] 24966
$ firefox
[1]+ Stopped sudo apt update
The first command followed by & tells it to start in a second terminal (background session). The terminal immediately displays the process ID (24966) of the background session and prompts for another command. When the first command finishes you are notified in the terminal by:
[1]+ Stopped sudo apt update