문서의 이전 판입니다!


shopt 설정

shopt 명령어로 옵션 설정하는 방법

shopt 옵션 설명
autocd
cdable_vars 이 변수를 설정하면 cd 내장명령의 인수로 디렉터리가 아닐 때 이동하고자 하는 디렉터리를 값으로 갖고 있는 변수 이름으로 간주한다.
cdspell cd 명령에서 디렉터리명 스펠리의 작은 에러를 교정한다. 교환 문자, 빠진 문자 그리고 너무 많은 문자를 체크하는데, 교정이 되면 교정된 경로가 프린트되고 명령을 처리한다. 단, 인터렉티브 쉘에서만 사용된다.
checkhash 배시는 명령을 실행하기 전에 존재하는 해시 테이블에 명령이 있는지 체크한다. 만약 명령이 존재하지 않으면 일반 경로 검색을 수행한다.
checkjobs
checkwinsize
cmdhist
compat31
compat32
compat40
dirspell
dotglob
execfail
expand_aliases
extdebug
extglob
extquote
failglob
force_fignore
globstar
gnu_errfmt
histappend
histreedit
histverify
hostcomplete
huponexit
interactive_comments
lithist
login_shell
mailwarn
no_empty_cmd_completion
nocaseglob
nocasematch
nullglob
progcomp
promptvars
restricted_shell
shift_verbose
sourcepath
xpg_echo
로그인하면 댓글을 남길 수 있습니다.
  • shopt_설정.1502255916.txt.gz
  • 마지막으로 수정됨: 2017/08/09 05:18
  • 저자 koov