You have to find out the version of bash shell package installed on your Oracle Linux system.
Which yum command can help you find the version information?
A.
# yum version bash
B.
# yum showversion bash
C.
# yum info bash
D.
# yum listversion bash
Explanation:
Example:
[oracle@oraclelinux6 ~]$ yum info bash
Loaded plugins: refresh-packagekit, security
Installed Packages
Name : bash
Arch : x86_64
Version : 4.1.2
Release : 9.el6_2
Size : 3.0 M
Repo : installed
From repo : ol6_u3_base
Summary : The GNU Bourne Again shell
URL : http://www.gnu.org/software/bash
License : GPLv3+
Description : The GNU Bourne Again shell (Bash) is a shell or command language
interpreter that is compatible with the Bourne shell (sh). Bash
incorporates useful features from the Korn shell (ksh) and the C
shell (csh). Most sh scripts can be run by bash without
modification.
Correct Answer C.
~]# yum info bash
Loaded plugins: fastestmirror, product-id, rhui-lb, security
Excluding Packages from Red Hat Enterprise Linux Server 5 (RPMs)
Finished
Installed Packages
Name : bash
Arch : x86_64
Version : 3.2
Release : 32.el5
Size : 5.0 M
Repo : installed
Summary : The GNU Bourne Again shell (bash) version 3.2
URL : http://www.gnu.org/software/bash
License : GPLv2+
Description: The GNU Bourne Again shell (Bash) is a shell or command language
: interpreter that is compatible with the Bourne shell (sh). Bash
: incorporates useful features from the Korn shell (ksh) and the C shell
: (csh). Most sh scripts can be run by bash without modification. This
: package (bash) contains bash version 3.2, which improves POSIX
: compliance over previous versions.
Available Packages
Name : bash
Arch : x86_64
Version : 3.2
Release : 33.el5_11.4
Size : 1.8 M
Repo : rhui-us-east-1-rhel-server
Summary : The GNU Bourne Again shell (bash) version 3.2
URL : http://www.gnu.org/software/bash
License : GPLv2+
Description: The GNU Bourne Again shell (Bash) is a shell or command language
: interpreter that is compatible with the Bourne shell (sh). Bash
: incorporates useful features from the Korn shell (ksh) and the C shell
: (csh). Most sh scripts can be run by bash without modification. This
: package (bash) contains bash version 3.2, which improves POSIX
: compliance over previous versions.