fg

Bring a background job to the foreground

fg brings a background job back to the foreground. fg without arguments brings the most recent job. Press Ctrl+C to stop it, Ctrl+Z to pause it again.

Example

$ fg %1
tail -f /var/log/app.log
(Ctrl+C to stop)
Tip: Type it yourself in the terminal below - reading is not the same as doing.