get ispconfig3 version from command line

Discussion in 'General' started by Doug G, Sep 21, 2010.

  1. Doug G

    Doug G Member

    How can you find the version of the running ispconfig3 from a root terminal cli?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The version number is in the file /usr/local/ispconfig/interface/lib/config.inc.php
     
  3. Doug G

    Doug G Member

    Thank you till
     
  4. victortruica

    victortruica New Member

    Quick one-liner to get version number on the cli - can be added to an alias for faster accessing.
    cat /usr/local/ispconfig/interface/lib/config.inc.php | grep "define('ISPC_APP_VERSION'," | awk '{print $2}' | cut -c2-10
     

Share This Page