jobs

List background jobs in the current shell session

jobs shows processes you've backgrounded in the current shell. The number in brackets is the job ID used by fg and bg. Jobs are local to the shell; they are lost when you close the terminal.

Example

$ jobs
[1]+  Running   tail -f /var/log/app.log &
Tip: Type it yourself in the terminal below - reading is not the same as doing.