Posted By

cczona on 03/12/08


Tagged

Shell Bash commandline cli terminal cd shopt


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

srinivasga


shopt (shell options)


 / Published in: Bash
 

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

  1. // display all shell options with their status
  2. shopt
  3.  
  4. // display only set (on) options
  5. shopt -s
  6.  
  7. //display only unset (off) options
  8. shopt -u
  9.  
  10. //set (turn on) an option
  11. shopt -s foo
  12.  
  13. //unset (turn off) an option
  14. shopt -u bar

Report this snippet  

You need to login to post a comment.