Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

commande shell "jobs"

24 réponses
Avatar
josephb
Bonsoir,

Est-ce un cas particulier, chez moi (Lion), mais la commande bash
builtin <jobs> avec ou sans argument, ne répond pas dans le terminal.

Pouvez-vous tester et me dire ce qu'il en est chez vous, merci.

Le help de jobs :
jobs [-lnprs] [jobspec ...] or jobs -x command [args]
Lists the active jobs. The -l option lists process id's in addition
to the normal information; the -p option lists process id's only.
If -n is given, only processes that have changed status since the
last notification are printed. JOBSPEC restricts output to that job.
The -r and -s options restrict output to running and stopped jobs only,
respectively. Without options, the status of all active jobs is
printed. If -x is given, COMMAND is run after all job specifications
that appear in ARGS have been replaced with the process ID of that
job's process group leader.

--
J. B.

10 réponses

1 2 3
Avatar
someone
Joseph-B wrote:

Bonsoir,

Est-ce un cas particulier, chez moi (Lion), mais la commande bash
builtin <jobs> avec ou sans argument, ne répond pas dans le terminal.

Pouvez-vous tester et me dire ce qu'il en est chez vous, merci.

Le help de jobs :
jobs [-lnprs] [jobspec ...] or jobs -x command [args]
Lists the active jobs. The -l option lists process id's in addition
to the normal information; the -p option lists process id's only.
If -n is given, only processes that have changed status since the
last notification are printed. JOBSPEC restricts output to that job.
The -r and -s options restrict output to running and stopped jobs only,
respectively. Without options, the status of all active jobs is
printed. If -x is given, COMMAND is run after all job specifications
that appear in ARGS have been replaced with the process ID of that
job's process group leader.



Cette commande ne répond plus depuis le 5 octobre 2011.

--
[SbM]
"If the French were really intelligent, they'd speak English" (W. Sheed)
Avatar
J.P
In article <1mkoodb.7r6een5x8nzwN%,
(Joseph-B) wrote:

Bonsoir,

Est-ce un cas particulier, chez moi (Lion), mais la commande bash
builtin <jobs> avec ou sans argument, ne répond pas dans le terminal.


........
Cette commande ne montre rien sous SL.
C'est un truc qui date des jobs sur carte perforées ?

--
Jean-Pierre
Avatar
josephb
SbM wrote:

Cette commande ne répond plus depuis le 5 octobre 2011.



Ah, merci, et tu as vu ça où ?
--
J. B.
Avatar
DV
SbM a écrit ceci :

Cette commande ne répond plus depuis le 5 octobre 2011.



Un peu de poésie dans ce monde de brutes, ça fait du bien. ;-)

--
DV
Avatar
Le Moustique
Le 25/03/2016 20:58, SbM a écrit :
Cette commande ne répond plus depuis le 5 octobre 2011.



J'allais le dire! :-D

--
/)
-:oo= Guillaume
)
Je nettoyais mon clavier, et le coup est parti tout seul.
Avatar
eric.hamery
Joseph-B wrote:

SbM wrote:

> Cette commande ne répond plus depuis le 5 octobre 2011.

Ah, merci, et tu as vu ça où ?



c'est pas la date ou Steve Jobs est partis au Paradis ?






















--
/ Mes Services - http://www.metamaitre.com
--o-- Forum "Méta-Science" - http://www.meta-science-forum.info/
/ <08-D<X=8 - Il doit bien y avoir... http://minilien.fr/a0pn0y
------------------------> La Vie Est Belle <----------------------<<<
Avatar
J.P
In article <56f5b52b$0$3323$,
Le Moustique wrote:

Le 25/03/2016 20:58, SbM a écrit :
> Cette commande ne répond plus depuis le 5 octobre 2011.

J'allais le dire! :-D



Mais pourquoi cette date ?
Après un googling ... OK, vu :-)

--
Jean-Pierre
Avatar
josephb
J.P wrote:

Après un googling ... OK, vu :-)



Pour en être à se rappeler la date de sa mort il faut vraiment avoir peu
de vie à soi.
--
J. B.
Avatar
someone
Joseph-B wrote:

J.P wrote:

> Après un googling ... OK, vu :-)

Pour en être à se rappeler la date de sa mort il faut vraiment avoir peu
de vie à soi.



Je te rassure : je ne m'en rappelais pas, merci Google. :)

Sur ce je retourne à ma vie à moi. :)

--
[SbM]
"If the French were really intelligent, they'd speak English" (W. Sheed)
Avatar
Philippe Weill
Le 25/03/2016 20:27, Joseph-B a écrit :
Bonsoir,

Est-ce un cas particulier, chez moi (Lion), mais la commande bash
builtin <jobs> avec ou sans argument, ne répond pas dans le terminal.



si ma memoire est bonne ce n'est que pour les sous process du shell courant
donc si dans ton terminal tu a des process suspendsu ou bien en arriere plan


[ ~]$ less toto &
[1] 29593
[ ~]$ jobs -l
[1]+ 29593 Arrêté (via la sortie sur tty) less toto
[ ~]$ kill %1
[1]+ Complété less toto



Pouvez-vous tester et me dire ce qu'il en est chez vous, merci.

Le help de jobs :
jobs [-lnprs] [jobspec ...] or jobs -x command [args]
Lists the active jobs. The -l option lists process id's in addition
to the normal information; the -p option lists process id's only.
If -n is given, only processes that have changed status since the
last notification are printed. JOBSPEC restricts output to that job.
The -r and -s options restrict output to running and stopped jobs only,
respectively. Without options, the status of all active jobs is
printed. If -x is given, COMMAND is run after all job specifications
that appear in ARGS have been replaced with the process ID of that
job's process group leader.

1 2 3