Return to Snippet

Revision: 5512
at March 12, 2008 20:31 by cczona


Initial Code
// display all shell options with their status
shopt

// display only set (on) options
shopt -s

//display only unset (off) options
shopt -u

//set (turn on) an option
shopt -s foo

//unset (turn off) an option
shopt -u bar

Initial URL

                                

Initial Description
//for options available, see:
http://www.ss64.com/bash/shopt.html

Initial Title
shopt (shell options)

Initial Tags
Bash, terminal

Initial Language
Bash