How to find the WordPress version from commandline

WordPress is a content management system based on PHP & MySQL. Features include a plugin architecture and a template system. It is most associated with blogging but supports other types of web content including more traditional mailing lists and forums, media galleries, and online stores.

We can find the WordPress version from command line through the following steps.

Step1: Change the location to the folder where WordPress installed.

Step2: Run the following command.

#grep wp_version wp-includes/version.php

This will give the version of WordPress installed.

Leave a Reply