ceheck version of centos code example Example 1: check laravel version php artisan --version Example 2: check ubuntu version cmd lsb_release -a