pickhardt / betty

Friendly English-like interface for your command line. Don't remember a command? Ask Betty.
2.61k stars 215 forks source link

Feature suggestion: what is my distro/OS version #117

Open DaVince opened 10 years ago

DaVince commented 10 years ago

"betty what is my os" gets me the name "Linux". Well, that's self-evident. What I'm more interested in is what distro and distro version I am running, like this:

> betty what is my os version (or distro)
Betty: Ubuntu 14.04 LTS (trusty)

For Linux, the command lsb_release can be used. I don't know what's available for OSX, but I can imagine that quickly finding out what kind of feline you're running on can sometimes be pretty useful, too.

Thanks for writing a very awesome tool, by the way. :+1: