Timeline for How can I reliably get the operating system's name?
Current License: CC BY-SA 3.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 24, 2019 at 12:25 | comment | added | Jeff Learman |
@JosephR. Oops! It's /proc/version not /proc/release. Thanks!
|
|
| Jul 23, 2019 at 20:18 | comment | added | Joseph R. |
@JeffLearman I just checked and there's no /proc/release on my Arch box.
|
|
| Jul 23, 2019 at 16:20 | comment | added | Jeff Learman |
Add /proc/release to your list of sources. I find it to be available even when none of the above are, and it's a lot easier to remember.
|
|
| Feb 18, 2016 at 18:42 | comment | added | Parthian Shot |
@new123456 Technically, that should be ... | sort -u. uniq only finds adjacent unique elements.
|
|
| Jul 24, 2014 at 15:57 | comment | added | Yauhen Yakimovich | what about /etc/os-release ? | |
| S May 7, 2014 at 11:37 | history | suggested | CommunityBot | CC BY-SA 3.0 |
Added /etc/centos-release to list of files
|
| May 7, 2014 at 11:36 | review | Suggested edits | |||
| S May 7, 2014 at 11:37 | |||||
| Sep 25, 2013 at 6:50 | comment | added | Joseph R. | @terdon No worries. It's your question :) | |
| Sep 25, 2013 at 1:36 | comment | added | terdon♦ | Sorry about unaccepting this but @slm's answer is just too comprehensive to ignore :). | |
| Sep 24, 2013 at 23:26 | comment | added | Joseph R. | @new123456 Right. Thanks. The key word here is "quickly" :) | |
| Sep 24, 2013 at 23:12 | comment | added | new123456 |
"I'm sorry if you find duplicates in this list, I produced it quickly with grep." ... | uniq?
|
|
| Sep 24, 2013 at 19:44 | history | edited | Joseph R. | CC BY-SA 3.0 |
added 3 characters in body
|
| Sep 24, 2013 at 19:43 | vote | accept | terdon♦ | ||
| Sep 25, 2013 at 1:36 | |||||
| Sep 24, 2013 at 19:33 | history | answered | Joseph R. | CC BY-SA 3.0 |