Get OPNSense version from command line

Started by zefanja, November 20, 2018, 12:21:26 AM

Previous topic - Next topic
Hi,

is there a way to check from the cli if the platform is OPNSense and what version is running beside uname -a?

pfSense e.g. has /etc/version and /etc/platform.

Regards,
zefanja

Hi,

Easy :)

# opnsense-version
OPNsense 19.1.b_264 (amd64/LibreSSL)


Cheers,
Franco

Thanks! But this command is not in the latest stable release, right? (I'm on 18.7)

Right, it was added in OPNsense 18.7.4, but latest stable is 18.7.7.


Cheers,
Franco