In this linux article, we will be looking how to see shell options in linux shell.
Following command is used for it.
Output is as follows:
root@stargate21c: /home/nevada/test# set -o
allexport off
braceexpand on
emacs on
errexit off
errtrace off
functrace off
hashall on
histexpand on
history on
ignoreeof off
interactive-comments on
keyword off
monitor on
noclobber off
noexec off
noglob off
nolog off
notify off
nounset off
onecmd off
physical off
pipefail off
posix off
privileged off
verbose off
vi off
xtrace off
root@stargate21c: /home/nevada/test#
As output indicates, each our echo string gets appended to the "numbers.txt".