Bash shopt command explained with examples Shopt(SHell OPTions) is a built-in command to change the properties of a shell such as.. Its history behavior Spell check Enable special characters for echo command by default and many more. This is an excellent command which give more control on Shell for you when you are working on bash and sh shells. This command is available after bash v2 and not available in other shells such as ksh, csh etc. Lets get familiarize with shopt command with some examples.
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.