How do I check my bash version?

How do I check my bash version?

To check the version of Bash (Bourne Again SHell) that is installed on your system, you can use the "bash --version" command. This command will print the version number of Bash to the terminal.

For example, to check the version of Bash on a Linux system, you can open a terminal and type the following command:

bash --version
Source:w‮al.ww‬utturi.com

This will print the version number of Bash to the terminal, along with some other information such as the release date and the name of the maintainer.

For example, the output of the "bash --version" command might look something like this:

GNU bash, version 5.0.17(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

With the "bash --version" command, you should be able to check the version of Bash that is installed on your system.

Created Time:2017-10-28 21:38:54  Author:lautturi