JOBS(1)
π NAME π
jobs β print currently running jobs.
okay bestie, welcome to the JOBS(1) page from fish-shell πβ¨ β this is the fish builtin jobs, and sheβs here to show you whatβs currently running. main character energy fr fr π
β¨ SYNOPSIS β¨
jobs [OPTIONS] [PID | %JOBID]
π¦ DESCRIPTION π¦
β οΈ NOTE: this page documents the fish builtinjobs. Wanna see the documentation on any non-fish versions? Runcommand man jobs, bestie π«Ά
jobs prints a list of the currently running jobs (#syntax-job-control) and their status. lowkey iconic.
jobs accepts the following options:
-c,--commandβ prints the command name for each process in jobs.-g,--groupβ only prints the group ID of each job.-l,--lastβ prints only the last job to be started.-p,--pidβ prints the process ID for each process in all jobs.-q,--queryβ prints no output; itβs for evaluation of jobs by exit status only. For compatibility with old fish versions this is also--quiet(but heads up: that one is deprecated π).-h,--helpβ displays help about using this command.
On systems that support this feature, jobs will print the CPU usage of each job since the last command was executed. The CPU usage is expressed as a percentage of full CPU activity. Note that on multiprocessor systems, the total activity may be more than 100% β yes, literally more than a hundo, no cap π₯.
Arguments of the form PID or %JOBID restrict the output to jobs with the selected process identifiers or job numbers respectively. sheβs selective like that π
If the output of jobs is redirected or if it is part of a command substitution, the column header that is usually printed is omitted, making it easier to parse. yes maβam, built for the script girlies π
The exit status of jobs is 0 if there are running background jobs and 1 otherwise. thatβs the whole vibe check β¨
πΈ EXAMPLE πΈ
jobs outputs a summary of the current jobs, such as two long-running tasks in this example:
Job Group State Command
2 26012 running nc -l 55232 < /dev/random &
1 26011 running python tests/test_11.py &
π Copyright π
fish-shell developers
mwah π β this page is fish-shell version 4.9, dated Sep 08, 2026, and itβs the JOBS(1) manual. byeee bestie π«Άβ¨
π¦ where this page comes from
- arch rolling: fish 4.9.3-1 Β· GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms