Saturday, February 19, 2011

Check the version of shell

1> echo $SHELL   (Since it is an environment variable)
    /bin/bash
2>/bin/bash --version
   this will give the version of shell as output.

No comments:

Post a Comment