Post History
Many programs have a --version option, so that's the first thing I try when I need to find this out. If that doesn't work, --help usually produces a full list of options, so if version info is pro...
Answer
#2: Post edited
Many programs have a `--version` (or sometimes `-v`) option, so that's the first thing I try when I need to find this out. If neither of those works, `--help` or `-h` usually produces a full list of options, so if version info is provided in a non-standard way, that should lead you to it.- Unfortunately, not all applications provide this information. I don't know if you can get it from the OS.
- Many programs have a `--version` option, so that's the first thing I try when I need to find this out. If that doesn't work, `--help` usually produces a full list of options, so if version info is provided in a non-standard way, that should lead you to it. (Some programs support `-v` for version, but it's possible that's instead mapped to something else, as pointed out in a comment, so be careful.)
- Unfortunately, not all applications provide this information. I don't know if you can get it from the OS.
#1: Initial revision
Many programs have a `--version` (or sometimes `-v`) option, so that's the first thing I try when I need to find this out. If neither of those works, `--help` or `-h` usually produces a full list of options, so if version info is provided in a non-standard way, that should lead you to it. Unfortunately, not all applications provide this information. I don't know if you can get it from the OS.