ã·ã§ã«ã¹ã¯ãªãããä½ãä¸ã§ã以å¤ã¨ä¾¿å©ãªã®ãsetã³ãã³ãã ãªãã·ã§ã³ãã¨ã«é¢é£æ§ãèãã®ã§è¦ãã«ããã®ã ãã使ãããªããã°çµæ§å½¹ã«ç«ã¤äºãå¤ãã³ãã³ãã ã ä»åã¯ããããªsetã³ãã³ãã§è¦ãã¦ãããã使ãæ¹ã«ã¤ãã¦ãç´¹ä»ããã 1.å¼æ°ã»ãªãã·ã§ã³ãªãã§å®è¡(å¤æ°ã®ä¸è¦§ã表示ãã) setã³ãã³ãã¯ãå¼æ°ç¡ãã§å®è¡ããã¨ç¾å¨è¨å®ããã¦ããå¤æ°ã®ä¸è¦§ã表示ããããã¨ãåºæ¥ãã set [root@test-centos7 ~]# set BASH=/bin/bash BASHOPTS=checkwinsize:cmdhist:expand_aliases:extquote:force_fignore:histappend:hostcomplete:interactive_comments:login_shell:progcomp:promptvars:sourcepath BASH_AL
shoptã¨ã¯ï¼ bashã®ãªãã·ã§ã³ãè¨å®ããããã®ãbashçµã¿è¾¼ã¿ã³ãã³ãã bashã®ç§ããããåãéæ¾ãããã¨ãã§ããã shopt ã§ãªãã·ã§ã³ä¸è¦§ã表示ã»ç¢ºèªãããã¨ãã§ããã shopt -s {ãªãã·ã§ã³å} setãæå®ãããªãã·ã§ã³ãONã«ã§ããã shopt -u {ãªãã·ã§ã³å} unsetãæå®ãããªãã·ã§ã³ãOFFã«ã§ããã bashã®ãªãã·ã§ã³ã¯æ°å¤ããããã ããã©ã«ãã§ONã«ããã¦ãã¦æ®æ®µæèããå¿ è¦ããªããã®ãã æ®æ®µä½¿ãã§ã¯æ°ã«ããªãã¦ãããã®ãããã ä»åã¯ãbashã®å ¨ãªãã·ã§ã³ã®ä¸ããã ãããããããã¦ããã°ï¼å²ãªãã±ã¼ãªã¤ã±ã¡ã³ãªãã·ã§ã³ãç´¹ä»ãããã¨æãã autocd ãã£ã¬ã¯ããªåã®ã¿ãå ¥åããã¨ãã cdã®å¼æ°ã«æå®ããããã®ã¨ãã¦æ±ãã 対話çã·ã§ã«ã®ã¿ã§æå¹ã autocd: OFF $ shopt -u autocd # ãã£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}