Terminology disambiguation
Reading the man's page of bash's wait ("man 1 wait"), I've found myself with the problem of not being able to clarify the difference between the "process Id" and "job specification". So far I could have said that both terms are the same, but the man explicitly says (within the wait paragraph ): " n may be a process ID or a job specification". Could anyone give me an example of the difference between these two terms?
Regards |
The job specification is related to job control. Suppose you launch a command in background:
Code:
$ sleep 10 & Code:
$ wait %1 |
The man page does give some definitions:
Quote:
|
Actually, colucix is correct and : jobid & pid are completely different entities.
Quote:
|
All times are GMT -5. The time now is 05:59 PM. |