• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

jobs Command Options In Linux

by admin

Each bash shell keeps track of the processes that are running from that shell. These processes are referred to as jobs. To list the currently running jobs, execute the jobs command from the bash shell, like so:

$ jobs
[1]- Running sleep 250 & 
[2]+ Running sleep 999 &

Each job is assigned a job number that controls the job. Refer to this job number using the following syntax:

%job_number

jobs Command Options

Option Description
-l Provide more information about each job listed. This information shall include the job number, current job, process group ID, state, and the command that formed the job.
-p Display only the process IDs for the process group leaders of the selected jobs.

Filed Under: Linux

Some more articles you might also be interested in …

  1. soxi: command not found
  2. How to install/get packages from Oracle EPEL Repository on OEL 7
  3. btrbk: command not found
  4. groupmod: command not found
  5. How to Manage Zimbra Account Status from CLI
  6. fprintd-verify: command not found
  7. User Environment Variables With “su” and “sudo” in Linux
  8. nmcli device Command Examples in Linux
  9. e2image Command Examples in Linux
  10. avahi-browse: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • pw-cat Command Examples in Linux
  • pvs: command not found
  • pulseaudio: command not found
  • pulseaudio Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright