Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to check the bash shell version

Answer:

To check the current bash shell version

# bash -version
GNU bash, version 3.2.48(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2007 Free Software Foundation, Inc.
  1. Check if a file exist in Bash Shell
  2. How to get the PID in current bash shell script
  3. How to check what Linux version I am using?
  4. Simple for loop in Bash shell
  5. How do I know if I am running a shell inside another shell?

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>