[Ilugc] One Day One GNU/Linux Command (JOBS)

  • From: sbharathi@xxxxxxxxxxxxx (Bharathi Subramanian)
  • Date: Thu Jun 26 11:15:20 2008

One Day One GNU/Linux Command
=============================

jobs -- Lists the active jobs

Summary :

jobs is bash build-in command, which is used to list the actives jobs 
in the current shell.

Examples :

$ sleep 60 & -- Just run this command 5 times. Create dummy active 
                jobs for testing.

$ jobs -- List all active jobs.

$ jobs -l -- List all active jobs with pid.

$ jobs -p -- List only the pid of all active jobs.

$ jobs -n -- List only jobs that have changed status since the 
             last notification are printed.

$ jobs -r -- Show only running jobs.

$ jobs -s -- Show only stopped jobs.

Read : man jobs / help jobs (in Bash Shell)

HTH :)
-- 
Bharathi S

Other related posts:

  • » [Ilugc] One Day One GNU/Linux Command (JOBS) - Bharathi Subramanian