Timeline for bash - get pid for a script using the script filename
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S May 19, 2022 at 9:26 | history | edited | AdminBee | CC BY-SA 4.0 | Fixed typo. More info about using $$ |
| S May 19, 2022 at 9:26 | history | suggested | Pablo A | CC BY-SA 4.0 | Fixed typo. More info about using $$ |
| May 19, 2022 at 4:05 | review | Suggested edits | |||
| S May 19, 2022 at 9:26 | |||||
| May 19, 2022 at 4:01 | comment | added | Pablo A | Maybe you mean ps -ef | grep -v grep | awk '/script_name/ {print $2}'. With pgrep you avoid the nasty grep -v grep | |
| S Feb 22, 2016 at 12:55 | history | edited | FelixJN | CC BY-SA 3.0 | added missing echo command - and code block for the additional line |
| S Feb 22, 2016 at 12:55 | history | suggested | CommunityBot | CC BY-SA 3.0 | added missing echo command |
| Feb 22, 2016 at 12:50 | review | Suggested edits | |||
| S Feb 22, 2016 at 12:55 | |||||
| Oct 22, 2015 at 13:22 | history | edited | glenn jackman | CC BY-SA 3.0 | format as code |
| Oct 22, 2015 at 13:00 | review | First posts | |||
| Oct 22, 2015 at 13:02 | |||||
| Oct 22, 2015 at 12:52 | history | answered | ObiWanKenobi | CC BY-SA 3.0 |