Cited from change shell properties with linux shopt command
Example1: To enable an option with shopt you have to use -s (Set) option
shopt -s optiontype
Example2: To disable already set option use -u along with shopt
shopt -u optiontype
Example3: To see what are the options set or unset execute below command.
shopt
or
shopt -p
No comments:
Post a Comment