Hi,

Wanted to have suggestions to modify below 1 liner so that it can also print
Shell (preferably Bash) version and along with Operating System Kernel
version.

Currently I am just printing the place holders for Shell and Kernel version
numbers.

perl -MConfig -le 'print
"$Config{perlpath}:$^V\n$ENV{SHELL}:<Bash_or_Shell_Version>\n/kernel/$^O:<Kernel_Version>"'

TIA

~Parag

Reply via email to