Exemplos, conforme solicitado.
Falha ao tentar usar bash
:
mintvm ~ # echo $BASH_VERSION
4.3.11(1)-release
mintvm ~ # echo $ZSH_VERSION
mintvm ~ # history 1 5
-su: history: too many arguments
mintvm ~ #
Funciona ao usar zsh
:
mintvm ~ # zsh
mintvm# echo $BASH_VERSION
mintvm# echo $ZSH_VERSION
5.0.2
mintvm# history 1 5
1 echo $BASH_VERSION
2 echo $ZSH_VERSION
3 history 1 5
mintvm#