Timeline for How do I get the version of a command inside a bash script
Current License: CC BY-SA 4.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 8, 2022 at 9:20 | comment | added | Antas Sharma | Lol I was confused when I first looked at the answer, but it worked. Thanks a lot :) | |
| Jul 8, 2022 at 9:18 | vote | accept | Antas Sharma | ||
| Jul 8, 2022 at 8:39 | history | edited | Stephen Kitt | CC BY-SA 4.0 |
Mention that dpkg -S is dpkg-query too.
|
| Jul 8, 2022 at 7:01 | history | edited | Stephen Kitt | CC BY-SA 4.0 |
No need for which. dpkg-query avoids all the post-processing.
|
| Jul 8, 2022 at 6:27 | history | edited | Kamil Maciorowski | CC BY-SA 4.0 |
debugged
|
| Jul 8, 2022 at 5:54 | history | edited | Stewart | CC BY-SA 4.0 |
added 342 characters in body
|
| Jul 8, 2022 at 5:46 | history | answered | Stewart | CC BY-SA 4.0 |