Bash 매뉴얼 간단 요약 #12
codeyoma
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
built_inecho
The return status is 0 unless a write error occurs.
cd
If a non-empty directory name from CDPATH is used, or if ‘-’ is the first argument, and the directory change is successful, the absolute pathname of the new working directory is written to the standard output.
pwd
The return status is zero unless an error is encountered while determining the name of the current directory or an invalid option is supplied.
export
The return status is zero unless an invalid option is supplied, one of the names is not a valid shell variable name, or -f is supplied with a name that is not a shell function.
unset
If no options are supplied, each name refers to a variable; if there is no variable by that name, a function with that name, if any, is unset.
The return status is zero unless a name is readonly.
exit
Exit the shell, returning a status of n to the shell’s parent. If n is omitted, the exit status is that of the last command executed.
+. 서브쉘이거나, 파이프 열리면 exit 문구 출력 X, 끝의 exit_status 받아옴
Simple Commandswaitpidfunction, or 128+n if the command was terminated by signal n.$_ :$_지난 명령의 마지막 인자로 설정된 특수 변수( cmd )→ subshellenvironment variablessignalhere doc*redirections*pipelineBeta Was this translation helpful? Give feedback.
All reactions