Running application version easy way that works for all Linux users

Running Application Version
Running Application Version

In this tutorial, we will learn the way which works for all linux users to find out running application version. Beginners sometimes struggle to find out the running application version in linux operating systems.

In Linux operating systems, there is basic parameter or argument which you can use like -v, -V or –version to check running application version. Some linux applications won’t provide version info by using -v or –version parameters. Here, We will see some of the running application version which are difficult to check for beginner level sysadmin. 

Check Memcached Version

Memcached is great tool which is used for caching purpose. Memcached is a general-purpose distributed memory-caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source must be read. Memcached is free and open-source software, licensed under the Revised BSD license.

Memcached will not provide version information with help of -v or –version parameters. You can use below three ways to check the memcached version instead of –version.

  • dpkg -l | grep -i memcached

    memcached    1.4.21-1.1+deb8u1 amd64  high-performance memory object caching system

  • memcached -i

    memcached 1.4.21
  • telnet localhost 11211

    type: version
    VERSION 1.4.21

 2. Check Postfix Version

Postfix is a free and open-source mail transfer agent that routes and delivers electronic mail. Postfix is also not provide any version info using these well-known options -v or –version.

Sometimes it will be very challenging for new users who want to know the version of postfix installed on the system.

Here is one option to check postfix version,

  • postconf -d mail_version

The -d flag shows the default parameter settings in /etc/postfix/ file instead of other settings and mail_version variable displays the store’s package version.

3. Check Some Well-known Running Application Versions 

Below are some application version’s which we can check with -v, -V or –version parameter,

  • varnishd -V

    varnishd (varnish-4.0.3 revision b8c4a34)
    Copyright (c) 2006 Verdens Gang AS
    Copyright (c) 2006-2014 Varnish Software AS
  • apache2 -v

    Server version: Apache/2.4.10 (Debian)
    Server built:   Sep 15 2016 20:44:43
  • curl -V

    curl 7.38.0 (x86_64-pc-linux-gnu) libcurl/7.38.0 OpenSSL/1.0.1t zlib/1.2.8 libidn/1.29 libssh2/1.4.3 librtmp/2.3
  • bash --version

    GNU bash, version 4.3.30(1)-release (x86_64-pc-Linux-gnu)
  • nginx -v

    nginx version: nginx/1.17.10
  • php -v

    PHP 7.3.18-1+0~20200515.59+debian9~1.gbp12fa4f (cli) (built: May 15 2020 10:26:29) ( NTS )
  • mysql -V

    mysql Ver 14.14 Distrib 5.7.30, for Linux (x86_64) using EditLine wrapper

I hope you like the article if you have any other way to check running application version, do share with us or do you have questions or thoughts to share about this guide? If yes, reach us via comment section below.


Welcome to Linuxgrow. I'm Prashant, a tech-blogger from Mumbai, India. I started Linuxgrow as a passion and to share my knowledge about technologies. Here at Linuxgrow, I write about Linux technologies, Aws Cloud, Wordpress blogging and scripting knowledge. You can read more about me at About us page. Thank You :)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *