OPNsense Forum

English Forums => General Discussion => Topic started by: zefanja on November 20, 2018, 12:21:26 am

Title: Get OPNSense version from command line
Post by: zefanja on November 20, 2018, 12:21:26 am
Hi,

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

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

Regards,
zefanja
Title: Re: Get OPNSense version from command line
Post by: franco on November 20, 2018, 06:16:43 am
Hi,

Easy :)

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


Cheers,
Franco
Title: Re: Get OPNSense version from command line
Post by: zefanja on November 20, 2018, 07:40:56 am
Thanks! But this command is not in the latest stable release, right? (I'm on 18.7)
Title: Re: Get OPNSense version from command line
Post by: franco on November 20, 2018, 07:49:22 am
Right, it was added in OPNsense 18.7.4, but latest stable is 18.7.7.


Cheers,
Franco