run command sleep1000, and remember the process id
Clash Royale CLAN TAG#URR8PPP
up vote
-3
down vote
favorite
My task is run command sleep 1000 and remember the process id, maybe I dont understend, but how can I do it?
linux bash process
New contributor
add a comment |
up vote
-3
down vote
favorite
My task is run command sleep 1000 and remember the process id, maybe I dont understend, but how can I do it?
linux bash process
New contributor
This should get you started: How to get the pid of the last executed command in shell script?
– eyoung100
6 hours ago
(1) Do you mean run the commandsleep 1000
in such a way that, after the 1000th second, you still remember what the PID was? Or are you allowed or required to approach it some other way? (2) What techniques do you know that might allow you to learn the PID of a process? (3) What have you tried? What were the results?
– Scott
6 hours ago
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
My task is run command sleep 1000 and remember the process id, maybe I dont understend, but how can I do it?
linux bash process
New contributor
My task is run command sleep 1000 and remember the process id, maybe I dont understend, but how can I do it?
linux bash process
linux bash process
New contributor
New contributor
New contributor
asked 7 hours ago
Dima Petruniak
1
1
New contributor
New contributor
This should get you started: How to get the pid of the last executed command in shell script?
– eyoung100
6 hours ago
(1) Do you mean run the commandsleep 1000
in such a way that, after the 1000th second, you still remember what the PID was? Or are you allowed or required to approach it some other way? (2) What techniques do you know that might allow you to learn the PID of a process? (3) What have you tried? What were the results?
– Scott
6 hours ago
add a comment |
This should get you started: How to get the pid of the last executed command in shell script?
– eyoung100
6 hours ago
(1) Do you mean run the commandsleep 1000
in such a way that, after the 1000th second, you still remember what the PID was? Or are you allowed or required to approach it some other way? (2) What techniques do you know that might allow you to learn the PID of a process? (3) What have you tried? What were the results?
– Scott
6 hours ago
This should get you started: How to get the pid of the last executed command in shell script?
– eyoung100
6 hours ago
This should get you started: How to get the pid of the last executed command in shell script?
– eyoung100
6 hours ago
(1) Do you mean run the command
sleep 1000
in such a way that, after the 1000th second, you still remember what the PID was? Or are you allowed or required to approach it some other way? (2) What techniques do you know that might allow you to learn the PID of a process? (3) What have you tried? What were the results?– Scott
6 hours ago
(1) Do you mean run the command
sleep 1000
in such a way that, after the 1000th second, you still remember what the PID was? Or are you allowed or required to approach it some other way? (2) What techniques do you know that might allow you to learn the PID of a process? (3) What have you tried? What were the results?– Scott
6 hours ago
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Dima Petruniak is a new contributor. Be nice, and check out our Code of Conduct.
draft saved
draft discarded
Dima Petruniak is a new contributor. Be nice, and check out our Code of Conduct.
Dima Petruniak is a new contributor. Be nice, and check out our Code of Conduct.
Dima Petruniak is a new contributor. Be nice, and check out our Code of Conduct.
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481175%2frun-command-sleep1000-and-remember-the-process-id%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
This should get you started: How to get the pid of the last executed command in shell script?
– eyoung100
6 hours ago
(1) Do you mean run the command
sleep 1000
in such a way that, after the 1000th second, you still remember what the PID was? Or are you allowed or required to approach it some other way? (2) What techniques do you know that might allow you to learn the PID of a process? (3) What have you tried? What were the results?– Scott
6 hours ago