3 ms·
Ask HN: Unix system version information
I am writing cross-platform shell scripts, and seeking advice on how to print the current unix system version information on BSD, Linux, macOS, etc.
Here's what I have so far: https://github.com/SixArm/unix-system-version-information
Can any HN system administrators suggest improvements or additions? Much appreciated!
- Pete_D 10y agoYou might like to compare with the detection code in screenFetch: https://github.com/KittyKatt/screenFetch https://github.com/KittyKatt/screenFetch
- jph 10y agoUseful discussion about this script on Reddit: https://www.reddit.com/r/unix/comments/515px6/unix_system_version_information_quick_script_to/ https://www.reddit.com/r/unix/comments/515px6/unix_system_ve...