Another alternative:$ echo $BASH_VERSION 4.2.25(1)-release # Just the Major version: echo $BASH_VERSINFO 4
or even: (Ctrl-x Ctrl-v) , which shows$ bash --version GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gp +l.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
GNU bash, version 4.2.25(1)-release (x86_64-pc-linux-gnu)
Software efficiency halves every 18 months, thus compensating for Moore's Law.
In reply to Re: OT: unable to use the options of echo in my shell terminal bash ofcourse
by NetWallah
in thread OT: unable to use the options of echo in my shell terminal bash ofcourse
by ramachandrajr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |