Þ•4¼õ\#0/*1/\/<o/$¬/ Ñ/Ü/ë/ò/0&0F0]0 s0}00¦0½0Ü0ó01$1 41U1\1p1ˆ1(¤1/Í1;ý1$92:^2™2¬2Ã2(Ú2"3&3;3X33v3 ª3&Ë3&ò3/4/I4y44.¥4Ô4"ó45-5?5X5t5’5"¦5É5Ý5î5 6(6/>6n6„6š6-­6Û6ñ67797J7j7‚7—7!°7Ò7)ï7888S8j8}8•8©8 Ç8!è8 9,$9Q9 d9…9 œ90ª9.Û9 :0&:W:w:Š:š:­:Ä:Ü:ö:; *;8;V;&v;;/»;ë;<)<A<&P<3w<«<È<ä< ù<&=,=== L=Z=9q=#«=Ï=æ= ø=å>HêA3ECE SEF_E¦FµF ÅF ÒF ÞF èFúòFíL» M½W¿ÆW†Y]ž[Øü\UÕ`+c­Hg+öjL"m©ono?r]ubukut{uòðxìãyº О‹Œw*÷¢šñž‘g’òø”u땬a—×™wæœ^ž|fžÖ㞈ºŸ C N àg H¥c¥~¥?‘¥ËÑ¥¦´¦ͦ è¦ §§§ -§7§K§ _§i§Np§¿§AªQ®,áµ=·fL¸³¸B¸†ÀŒÁ¬‘ÁP>ÊxÊ Ð Й ÓªºÖÔe×ø:ÙŽ3ܬÂÞoà‘sáFãFLãL“ãÆàäS§æûæç>ç,Uê?‚ñÂó»ÒõDŽûÓûããû ÇüÄÑü–ž¯Ã ØOä*4 _jˆ¡5ºOðB@ÕƒBY Eœ â ó    }# ¡ Xµ *, W ebsŠÖaép¬Z 3>Oa%€$¦'Ëó :U!t–³ ÏÜ'ó0.L{9šÔÝï$4H Yg&p'—3¿9ó-“?.Ó:3= q{!” ¶3Äø=-Uƒ'£&Ë*ò*)H)r%œ% è1 #;1_&‘&¸&ß5 < K !h !Š :¬ ç ! !1@!”r!¥"#­"'Ñ"$ù" #$+##P#'t#œ#/¤#.Ô#$"$8$N$ e$s$‘$¥$»$,Õ$%%,(%%U%{%.Š%@¹%ú% &&,%&R&#f&@Š& Ë&Ù&ö&-',?''l'”'.¯',Þ'& (02(6c(Pš((ë())1)[)l)"†)?©)Té)>*O* e*8s*V¬*&+'*+R+r+ Š+(—+À+Ó+â+÷+" , 0,5=,Os,Ã,Õ,ç, í,÷,5-F-f- n- y-+„-9°-;ê-$&.K.di.$Î.ó. / /*/C/ a/‚//³/HÄ/ 00 90F0"Y0+|0¨0 Ä04Ñ0 1D1?V1,–1Ã1×1!î1"2"32V2h2 ƒ2o2ý2[31l3/ž3)Î33ø3,4&F42m45 4,Ö4 5 515IK54•5.Ê58ù5(26,[6,ˆ60µ6)æ6 7 7 &7"G7j7†7  7 ­7&º7=á78:8'Q8y88,­8)Ú89$#9H9 ^9j9}9"9³9Ï9-í9):E:\:%y:.Ÿ:-Î:7ü:64;2k;1ž;*Ð;,û;,(<;U<#‘<µ<½<Ó<!ó<=6.=e=x=*‡="²=Õ=6õ= ,>6>-F>-t>!¢>Ä>'Ô>'ü>$?B?´Q?$A+A@AA"‚A¥AºAÍAÑAéA ÿA B',>1T>†>>3²>$æ>! ?.-?\?d?5s?5©?ß? ý?' @(3@\@ {@ ÛÑ ØÈ_¤• \£Œ¶“8}‡L¾a’W#ÄÿGx É7€º¯~4õýÓ!»§Q© ϵ !Àfí);Ü+V¸j.Bt$·óF2%¼®JZ¿ab Ž(³«¸šÿþÊlv—×?˜e °(fsöVœCÇ9Å‘c¾ï g>k¤šx)5qHµ®¯çêò§ã뙃¶Þâ/Òè…¢¨±ìCÌk¨ˆ(Y!›_-±à½-úÆÚX´1i/û`Tî4@ ÁrZSK"O>Wð Í5"0w–àñØ™ËMó3,I³c².+TÉ݆RÑáþ<Æò*l8Ï'»)žözÐôJïù‰?h"Žsßw|D¥‚ý<¢&qg#¬â]-ÊÎèS'%Ÿ1üE,‰•Îܪ&oæ ‚÷Є6N:=$ÞL:ÁdOuí¡@ü+yæŸÄ]p¹—9äDzÕéÅÈ%GäÙ­`Y”{y/QHÙFøXb;zñ}tá|joA¼×^0MÓ4ƒmnª= Ôú$À˜¥Ö°3^'û2¦øÛ Í3å“õ”ÕÔ÷,1\Œ2I Aìçi´ h6…›’ ‡.ðù–Ò·¹î¡Ö ‹ÂmRPœßN¬B&#7*¦[*º ž[¿KÃÂnÌ~åpP£ˆ€Ýd†êvr„­ EëË‹é0«uD©ÃÚ㽊eUŠ{‘ôUtimed out waiting for input: auto-logout -%s or -o option -ilrsD or -c command or -O shopt_option (invocation only) malloc: %s:%d: assertion botched (wd: %s) (core dumped) line $%s: cannot assign in this way%c%c: invalid option%d: invalid file descriptor: %s%s can be invoked via %s has null exportstr%s is %s %s is a function %s is a shell builtin %s is a shell keyword %s is a special shell builtin %s is aliased to `%s' %s is hashed (%s) %s is not bound to any keys. %s out of range%s%s%s: %s (error token is "%s")%s: %s%s: %s out of range%s: %s: bad interpreter%s: %s: cannot open as FILE%s: %s: compatibility value out of range%s: %s: invalid value for trace file descriptor%s: %s: must use subscript when assigning associative array%s: %s:%d: cannot allocate %lu bytes%s: %s:%d: cannot allocate %lu bytes (%lu bytes allocated)%s: Is a directory%s: ambiguous job spec%s: ambiguous redirect%s: arguments must be process or job IDs%s: bad network path specification%s: bad substitution%s: binary operator expected%s: cannot allocate %lu bytes%s: cannot allocate %lu bytes (%lu bytes allocated)%s: cannot assign fd to variable%s: cannot assign list to array member%s: cannot assign to non-numeric index%s: cannot convert associative to indexed array%s: cannot convert indexed to associative array%s: cannot create: %s%s: cannot delete: %s%s: cannot destroy array variables in this way%s: cannot execute binary file%s: cannot execute binary file: %s%s: cannot execute: %s%s: cannot export%s: cannot get limit: %s%s: cannot modify limit: %s%s: cannot open temp file: %s%s: cannot open: %s%s: cannot overwrite existing file%s: cannot read: %s%s: cannot unset%s: cannot unset: readonly %s%s: circular name reference%s: command not found%s: error retrieving current directory: %s: %s %s: expression error %s: file is too large%s: file not found%s: first non-whitespace character is not `"'%s: hash table empty %s: history expansion failed%s: host unknown%s: illegal option -- %c %s: inlib failed%s: integer expression expected%s: invalid action name%s: invalid argument%s: invalid array origin%s: invalid associative array key%s: invalid callback quantum%s: invalid file descriptor specification%s: invalid indirect expansion%s: invalid limit argument%s: invalid line count%s: invalid option%s: invalid option name%s: invalid service%s: invalid shell option name%s: invalid signal specification%s: invalid timeout specification%s: invalid variable name%s: invalid variable name for name reference%s: is a directory%s: job %d already in background%s: job has terminated%s: line %d: %s: maximum function nesting level exceeded (%d)%s: maximum source nesting level exceeded (%d)%s: missing colon separator%s: nameref variable self references not allowed%s: no completion specification%s: no job control%s: no such job%s: not a function%s: not a regular file%s: not a shell builtin%s: not an array variable%s: not an indexed array%s: not dynamically loaded%s: not found%s: numeric argument required%s: option requires an argument%s: option requires an argument -- %c %s: parameter null or not set%s: quoted compound array assignment deprecated%s: readonly function%s: readonly variable%s: reference variable cannot be an array%s: restricted%s: restricted: cannot redirect output%s: restricted: cannot specify `/' in command names%s: substring expression < 0%s: unary operator expected%s: unbound variable%s: usage: %s: variable may not be assigned value(( expression ))(core dumped) (wd now: %s) . filename [arguments]/dev/(tcp|udp)/host/port not supported without networking/tmp must be a valid directory nameABORT instructionAborting...Add directories to stack. Adds a directory to the top of the directory stack, or rotates the stack, making the new top of the stack the current working directory. With no arguments, exchanges the top two directories. Options: -n Suppresses the normal change of directory when adding directories to the stack, so only the stack is manipulated. Arguments: +N Rotates the stack so that the Nth directory (counting from the left of the list shown by `dirs', starting with zero) is at the top. -N Rotates the stack so that the Nth directory (counting from the right of the list shown by `dirs', starting with zero) is at the top. dir Adds DIR to the directory stack at the top, making it the new current working directory. The `dirs' builtin displays the directory stack. Exit Status: Returns success unless an invalid argument is supplied or the directory change fails.Adds a directory to the top of the directory stack, or rotates the stack, making the new top of the stack the current working directory. With no arguments, exchanges the top two directories. Options: -n Suppresses the normal change of directory when adding directories to the stack, so only the stack is manipulated. Arguments: +N Rotates the stack so that the Nth directory (counting from the left of the list shown by `dirs', starting with zero) is at the top. -N Rotates the stack so that the Nth directory (counting from the right of the list shown by `dirs', starting with zero) is at the top. dir Adds DIR to the directory stack at the top, making it the new current working directory. The `dirs' builtin displays the directory stack.Alarm (profile)Alarm (virtual)Alarm clockArithmetic for loop. Equivalent to (( EXP1 )) while (( EXP2 )); do COMMANDS (( EXP3 )) done EXP1, EXP2, and EXP3 are arithmetic expressions. If any expression is omitted, it behaves as if it evaluates to 1. Exit Status: Returns the status of the last command executed.BPT trace/trapBad system callBogus signalBroken pipeBus errorCPU limitChange the shell working directory. Change the current directory to DIR. The default DIR is the value of the HOME shell variable. The variable CDPATH defines the search path for the directory containing DIR. Alternative directory names in CDPATH are separated by a colon (:). A null directory name is the same as the current directory. If DIR begins with a slash (/), then CDPATH is not used. If the directory is not found, and the shell option `cdable_vars' is set, the word is assumed to be a variable name. If that variable has a value, its value is used for DIR. Options: -L force symbolic links to be followed: resolve symbolic links in DIR after processing instances of `..' -P use the physical directory structure without following symbolic links: resolve symbolic links in DIR before processing instances of `..' -e if the -P option is supplied, and the current working directory cannot be determined successfully, exit with a non-zero status -@ on systems that support it, present a file with extended attributes as a directory containing the file attributes The default is to follow symbolic links, as if `-L' were specified. `..' is processed by removing the immediately previous pathname component back to a slash or the beginning of DIR. Exit Status: Returns 0 if the directory is changed, and if $PWD is set successfully when -P is used; non-zero otherwise.Child death or stopCommon shell variable names and usage. BASH_VERSION Version information for this Bash. CDPATH A colon-separated list of directories to search for directories given as arguments to `cd'. GLOBIGNORE A colon-separated list of patterns describing filenames to be ignored by pathname expansion. HISTFILE The name of the file where your command history is stored. HISTFILESIZE The maximum number of lines this file can contain. HISTSIZE The maximum number of history lines that a running shell can access. HOME The complete pathname to your login directory. HOSTNAME The name of the current host. HOSTTYPE The type of CPU this version of Bash is running under. IGNOREEOF Controls the action of the shell on receipt of an EOF character as the sole input. If set, then the value of it is the number of EOF characters that can be seen in a row on an empty line before the shell will exit (default 10). When unset, EOF signifies the end of input. MACHTYPE A string describing the current system Bash is running on. MAILCHECK How often, in seconds, Bash checks for new mail. MAILPATH A colon-separated list of filenames which Bash checks for new mail. OSTYPE The version of Unix this version of Bash is running on. PATH A colon-separated list of directories to search when looking for commands. PROMPT_COMMAND A command to be executed before the printing of each primary prompt. PS1 The primary prompt string. PS2 The secondary prompt string. PWD The full pathname of the current directory. SHELLOPTS A colon-separated list of enabled shell options. TERM The name of the current terminal type. TIMEFORMAT The output format for timing statistics displayed by the `time' reserved word. auto_resume Non-null means a command word appearing on a line by itself is first looked for in the list of currently stopped jobs. If found there, that job is foregrounded. A value of `exact' means that the command word must exactly match a command in the list of stopped jobs. A value of `substring' means that the command word must match a substring of the job. Any other value means that the command must be a prefix of a stopped job. histchars Characters controlling history expansion and quick substitution. The first character is the history substitution character, usually `!'. The second is the `quick substitution' character, usually `^'. The third is the `history comment' character, usually `#'. HISTIGNORE A colon-separated list of patterns used to decide which commands should be saved on the history list. ContinueDefine local variables. Create a local variable called NAME, and give it VALUE. OPTION can be any option accepted by `declare'. Local variables can only be used within a function; they are visible only to the function where they are defined and its children. Exit Status: Returns success unless an invalid option is supplied, a variable assignment error occurs, or the shell is not executing a function.Define or display aliases. Without arguments, `alias' prints the list of aliases in the reusable form `alias NAME=VALUE' on standard output. Otherwise, an alias is defined for each NAME whose VALUE is given. A trailing space in VALUE causes the next word to be checked for alias substitution when the alias is expanded. Options: -p print all defined aliases in a reusable format Exit Status: alias returns true unless a NAME is supplied for which no alias has been defined.Define shell function. Create a shell function named NAME. When invoked as a simple command, NAME runs COMMANDs in the calling shell's context. When NAME is invoked, the arguments are passed to the function as $1...$n, and the function's name is in $FUNCNAME. Exit Status: Returns success unless NAME is readonly.Display directory stack. Display the list of currently remembered directories. Directories find their way onto the list with the `pushd' command; you can get back up through the list with the `popd' command. Options: -c clear the directory stack by deleting all of the elements -l do not print tilde-prefixed versions of directories relative to your home directory -p print the directory stack with one entry per line -v print the directory stack with one entry per line prefixed with its position in the stack Arguments: +N Displays the Nth entry counting from the left of the list shown by dirs when invoked without options, starting with zero. -N Displays the Nth entry counting from the right of the list shown by dirs when invoked without options, starting with zero. Exit Status: Returns success unless an invalid option is supplied or an error occurs.Display information about builtin commands. Displays brief summaries of builtin commands. If PATTERN is specified, gives detailed help on all commands matching PATTERN, otherwise the list of help topics is printed. Options: -d output short description for each topic -m display usage in pseudo-manpage format -s output only a short usage synopsis for each topic matching PATTERN Arguments: PATTERN Pattern specifiying a help topic Exit Status: Returns success unless PATTERN is not found or an invalid option is given.Display information about command type. For each NAME, indicate how it would be interpreted if used as a command name. Options: -a display all locations containing an executable named NAME; includes aliases, builtins, and functions, if and only if the `-p' option is not also used -f suppress shell function lookup -P force a PATH search for each NAME, even if it is an alias, builtin, or function, and returns the name of the disk file that would be executed -p returns either the name of the disk file that would be executed, or nothing if `type -t NAME' would not return `file' -t output a single word which is one of `alias', `keyword', `function', `builtin', `file' or `', if NAME is an alias, shell reserved word, shell function, shell builtin, disk file, or not found, respectively Arguments: NAME Command name to be interpreted. Exit Status: Returns success if all of the NAMEs are found; fails if any are not found.Display or execute commands from the history list. fc is used to list or edit and re-execute commands from the history list. FIRST and LAST can be numbers specifying the range, or FIRST can be a string, which means the most recent command beginning with that string. Options: -e ENAME select which editor to use. Default is FCEDIT, then EDITOR, then vi -l list lines instead of editing -n omit line numbers when listing -r reverse the order of the lines (newest listed first) With the `fc -s [pat=rep ...] [command]' format, COMMAND is re-executed after the substitution OLD=NEW is performed. A useful alias to use with this is r='fc -s', so that typing `r cc' runs the last command beginning with `cc' and typing `r' re-executes the last command. Exit Status: Returns success or status of executed command; non-zero if an error occurs.Display or set file mode mask. Sets the user file-creation mask to MODE. If MODE is omitted, prints the current value of the mask. If MODE begins with a digit, it is interpreted as an octal number; otherwise it is a symbolic mode string like that accepted by chmod(1). Options: -p if MODE is omitted, output in a form that may be reused as input -S makes the output symbolic; otherwise an octal number is output Exit Status: Returns success unless MODE is invalid or an invalid option is given.Display possible completions depending on the options. Intended to be used from within a shell function generating possible completions. If the optional WORD argument is supplied, matches against WORD are generated. Exit Status: Returns success unless an invalid option is supplied or an error occurs.Display process times. Prints the accumulated user and system times for the shell and all of its child processes. Exit Status: Always succeeds.Display status of jobs. Lists the active jobs. JOBSPEC restricts output to that job. Without options, the status of all active jobs is displayed. Options: -l lists process IDs in addition to the normal information -n lists only processes that have changed status since the last notification -p lists process IDs only -r restrict output to running jobs -s restrict output to stopped jobs If -x is supplied, COMMAND is run after all job specifications that appear in ARGS have been replaced with the process ID of that job's process group leader. Exit Status: Returns success unless an invalid option is given or an error occurs. If -x is used, returns the exit status of COMMAND.Display the list of currently remembered directories. Directories find their way onto the list with the `pushd' command; you can get back up through the list with the `popd' command. Options: -c clear the directory stack by deleting all of the elements -l do not print tilde-prefixed versions of directories relative to your home directory -p print the directory stack with one entry per line -v print the directory stack with one entry per line prefixed with its position in the stack Arguments: +N Displays the Nth entry counting from the left of the list shown by dirs when invoked without options, starting with zero. -N Displays the Nth entry counting from the right of the list shown by dirs when invoked without options, starting with zero.DoneDone(%d)EMT instructionEnable and disable shell builtins. Enables and disables builtin shell commands. Disabling allows you to execute a disk command which has the same name as a shell builtin without using a full pathname. Options: -a print a list of builtins showing whether or not each is enabled -n disable each NAME or display a list of disabled builtins -p print the list of builtins in a reusable format -s print only the names of Posix `special' builtins Options controlling dynamic loading: -f Load builtin NAME from shared object FILENAME -d Remove a builtin loaded with -f Without options, each NAME is enabled. To use the `test' found in $PATH instead of the shell builtin version, type `enable -n test'. Exit Status: Returns success unless NAME is not a shell builtin or an error occurs.Evaluate arithmetic expression. The EXPRESSION is evaluated according to the rules for arithmetic evaluation. Equivalent to "let EXPRESSION". Exit Status: Returns 1 if EXPRESSION evaluates to 0; returns 0 otherwise.Evaluate arithmetic expressions. Evaluate each ARG as an arithmetic expression. Evaluation is done in fixed-width integers with no check for overflow, though division by 0 is trapped and flagged as an error. The following list of operators is grouped into levels of equal-precedence operators. The levels are listed in order of decreasing precedence. id++, id-- variable post-increment, post-decrement ++id, --id variable pre-increment, pre-decrement -, + unary minus, plus !, ~ logical and bitwise negation ** exponentiation *, /, % multiplication, division, remainder +, - addition, subtraction <<, >> left and right bitwise shifts <=, >=, <, > comparison ==, != equality, inequality & bitwise AND ^ bitwise XOR | bitwise OR && logical AND || logical OR expr ? expr : expr conditional operator =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= assignment Shell variables are allowed as operands. The name of the variable is replaced by its value (coerced to a fixed-width integer) within an expression. The variable need not have its integer attribute turned on to be used in an expression. Operators are evaluated in order of precedence. Sub-expressions in parentheses are evaluated first and may override the precedence rules above. Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise.Evaluate conditional expression. Exits with a status of 0 (true) or 1 (false) depending on the evaluation of EXPR. Expressions may be unary or binary. Unary expressions are often used to examine the status of a file. There are string operators and numeric comparison operators as well. The behavior of test depends on the number of arguments. Read the bash manual page for the complete specification. File operators: -a FILE True if file exists. -b FILE True if file is block special. -c FILE True if file is character special. -d FILE True if file is a directory. -e FILE True if file exists. -f FILE True if file exists and is a regular file. -g FILE True if file is set-group-id. -h FILE True if file is a symbolic link. -L FILE True if file is a symbolic link. -k FILE True if file has its `sticky' bit set. -p FILE True if file is a named pipe. -r FILE True if file is readable by you. -s FILE True if file exists and is not empty. -S FILE True if file is a socket. -t FD True if FD is opened on a terminal. -u FILE True if the file is set-user-id. -w FILE True if the file is writable by you. -x FILE True if the file is executable by you. -O FILE True if the file is effectively owned by you. -G FILE True if the file is effectively owned by your group. -N FILE True if the file has been modified since it was last read. FILE1 -nt FILE2 True if file1 is newer than file2 (according to modification date). FILE1 -ot FILE2 True if file1 is older than file2. FILE1 -ef FILE2 True if file1 is a hard link to file2. String operators: -z STRING True if string is empty. -n STRING STRING True if string is not empty. STRING1 = STRING2 True if the strings are equal. STRING1 != STRING2 True if the strings are not equal. STRING1 < STRING2 True if STRING1 sorts before STRING2 lexicographically. STRING1 > STRING2 True if STRING1 sorts after STRING2 lexicographically. Other operators: -o OPTION True if the shell option OPTION is enabled. -v VAR True if the shell variable VAR is set. -R VAR True if the shell variable VAR is set and is a name reference. ! EXPR True if expr is false. EXPR1 -a EXPR2 True if both expr1 AND expr2 are true. EXPR1 -o EXPR2 True if either expr1 OR expr2 is true. arg1 OP arg2 Arithmetic tests. OP is one of -eq, -ne, -lt, -le, -gt, or -ge. Arithmetic binary operators return true if ARG1 is equal, not-equal, less-than, less-than-or-equal, greater-than, or greater-than-or-equal than ARG2. Exit Status: Returns success if EXPR evaluates to true; fails if EXPR evaluates to false or an invalid argument is given.Evaluate conditional expression. This is a synonym for the "test" builtin, but the last argument must be a literal `]', to match the opening `['.Execute a simple command or display information about commands. Runs COMMAND with ARGS suppressing shell function lookup, or display information about the specified COMMANDs. Can be used to invoke commands on disk when a function with the same name exists. Options: -p use a default value for PATH that is guaranteed to find all of the standard utilities -v print a description of COMMAND similar to the `type' builtin -V print a more verbose description of each COMMAND Exit Status: Returns exit status of COMMAND, or failure if COMMAND is not found.Execute arguments as a shell command. Combine ARGs into a single string, use the result as input to the shell, and execute the resulting commands. Exit Status: Returns exit status of command or success if command is null.Execute commands as long as a test does not succeed. Expand and execute COMMANDS as long as the final command in the `until' COMMANDS has an exit status which is not zero. Exit Status: Returns the status of the last command executed.Execute commands as long as a test succeeds. Expand and execute COMMANDS as long as the final command in the `while' COMMANDS has an exit status of zero. Exit Status: Returns the status of the last command executed.Execute commands based on conditional. The `if COMMANDS' list is executed. If its exit status is zero, then the `then COMMANDS' list is executed. Otherwise, each `elif COMMANDS' list is executed in turn, and if its exit status is zero, the corresponding `then COMMANDS' list is executed and the if command completes. Otherwise, the `else COMMANDS' list is executed, if present. The exit status of the entire construct is the exit status of the last command executed, or zero if no condition tested true. Exit Status: Returns the status of the last command executed.Execute commands based on pattern matching. Selectively execute COMMANDS based upon WORD matching PATTERN. The `|' is used to separate multiple patterns. Exit Status: Returns the status of the last command executed.Execute commands for each member in a list. The `for' loop executes a sequence of commands for each member in a list of items. If `in WORDS ...;' is not present, then `in "$@"' is assumed. For each element in WORDS, NAME is set to that element, and the COMMANDS are executed. Exit Status: Returns the status of the last command executed.Execute commands from a file in the current shell. Read and execute commands from FILENAME in the current shell. The entries in $PATH are used to find the directory containing FILENAME. If any ARGUMENTS are supplied, they become the positional parameters when FILENAME is executed. Exit Status: Returns the status of the last command executed in FILENAME; fails if FILENAME cannot be read.Execute conditional command. Returns a status of 0 or 1 depending on the evaluation of the conditional expression EXPRESSION. Expressions are composed of the same primaries used by the `test' builtin, and may be combined using the following operators: ( EXPRESSION ) Returns the value of EXPRESSION ! EXPRESSION True if EXPRESSION is false; else false EXPR1 && EXPR2 True if both EXPR1 and EXPR2 are true; else false EXPR1 || EXPR2 True if either EXPR1 or EXPR2 is true; else false When the `==' and `!=' operators are used, the string to the right of the operator is used as a pattern and pattern matching is performed. When the `=~' operator is used, the string to the right of the operator is matched as a regular expression. The && and || operators do not evaluate EXPR2 if EXPR1 is sufficient to determine the expression's value. Exit Status: 0 or 1 depending on value of EXPRESSION.Execute shell builtins. Execute SHELL-BUILTIN with arguments ARGs without performing command lookup. This is useful when you wish to reimplement a shell builtin as a shell function, but need to execute the builtin within the function. Exit Status: Returns the exit status of SHELL-BUILTIN, or false if SHELL-BUILTIN is not a shell builtin..Exit %dExit a login shell. Exits a login shell with exit status N. Returns an error if not executed in a login shell.Exit for, while, or until loops. Exit a FOR, WHILE or UNTIL loop. If N is specified, break N enclosing loops. Exit Status: The exit status is 0 unless N is not greater than or equal to 1.Exit the shell. Exits the shell with a status of N. If N is omitted, the exit status is that of the last command executed.File limitFloating point exceptionFormats and prints ARGUMENTS under control of the FORMAT. Options: -v var assign the output to shell variable VAR rather than display it on the standard output FORMAT is a character string which contains three types of objects: plain characters, which are simply copied to standard output; character escape sequences, which are converted and copied to the standard output; and format specifications, each of which causes printing of the next successive argument. In addition to the standard format specifications described in printf(1), printf interprets: %b expand backslash escape sequences in the corresponding argument %q quote the argument in a way that can be reused as shell input %(fmt)T output the date-time string resulting from using FMT as a format string for strftime(3) The format is re-used as necessary to consume all of the arguments. If there are fewer arguments than the format requires, extra format specifications behave as if a zero value or null string, as appropriate, had been supplied. Exit Status: Returns success unless an invalid option is given or a write or assignment error occurs.GNU bash, version %s (%s) GNU bash, version %s-(%s) GNU long options: General help using GNU software: Group commands as a unit. Run a set of commands in a group. This is one way to redirect an entire set of commands. Exit Status: Returns the status of the last command executed.HFT input data pendingHFT monitor mode grantedHFT monitor mode retractedHFT sound sequence has completedHOME not setHangupI have no name!I/O readyIllegal instructionInformation requestInterruptKilledLicense GPLv3+: GNU GPL version 3 or later Mark shell variables as unchangeable. Mark each NAME as read-only; the values of these NAMEs may not be changed by subsequent assignment. If VALUE is supplied, assign VALUE before marking as read-only. Options: -a refer to indexed array variables -A refer to associative array variables -f refer to shell functions -p display a list of all readonly variables or functions, depending on whether or not the -f option is given An argument of `--' disables further option processing. Exit Status: Returns success unless an invalid option is given or NAME is invalid.Modify or display completion options. Modify the completion options for each NAME, or, if no NAMEs are supplied, the completion currently being executed. If no OPTIONs are given, print the completion options for each NAME or the current completion specification. Options: -o option Set completion option OPTION for each NAME -D Change options for the "default" command completion -E Change options for the "empty" command completion Using `+o' instead of `-o' turns off the specified option. Arguments: Each NAME refers to a command for which a completion specification must have previously been defined using the `complete' builtin. If no NAMEs are supplied, compopt must be called by a function currently generating completions, and the options for that currently-executing completion generator are modified. Exit Status: Returns success unless an invalid option is supplied or NAME does not have a completion specification defined.Modify shell resource limits. Provides control over the resources available to the shell and processes it creates, on systems that allow such control. Options: -S use the `soft' resource limit -H use the `hard' resource limit -a all current limits are reported -b the socket buffer size -c the maximum size of core files created -d the maximum size of a process's data segment -e the maximum scheduling priority (`nice') -f the maximum size of files written by the shell and its children -i the maximum number of pending signals -k the maximum number of kqueues allocated for this process -l the maximum size a process may lock into memory -m the maximum resident set size -n the maximum number of open file descriptors -p the pipe buffer size -q the maximum number of bytes in POSIX message queues -r the maximum real-time scheduling priority -s the maximum stack size -t the maximum amount of cpu time in seconds -u the maximum number of user processes -v the size of virtual memory -x the maximum number of file locks -P the maximum number of pseudoterminals -T the maximum number of threads Not all options are available on all platforms. If LIMIT is given, it is the new value of the specified resource; the special LIMIT values `soft', `hard', and `unlimited' stand for the current soft limit, the current hard limit, and no limit, respectively. Otherwise, the current value of the specified resource is printed. If no option is given, then -f is assumed. Values are in 1024-byte increments, except for -t, which is in seconds, -p, which is in increments of 512 bytes, and -u, which is an unscaled number of processes. Exit Status: Returns success unless an invalid option is supplied or an error occurs.Move job to the foreground. Place the job identified by JOB_SPEC in the foreground, making it the current job. If JOB_SPEC is not present, the shell's notion of the current job is used. Exit Status: Status of command placed in foreground, or failure if an error occurs.Move jobs to the background. Place the jobs identified by each JOB_SPEC in the background, as if they had been started with `&'. If JOB_SPEC is not present, the shell's notion of the current job is used. Exit Status: Returns success unless job control is not enabled or an error occurs.Null command. No effect; the command does nothing. Exit Status: Always succeeds.OLDPWD not setParse option arguments. Getopts is used by shell procedures to parse positional parameters as options. OPTSTRING contains the option letters to be recognized; if a letter is followed by a colon, the option is expected to have an argument, which should be separated from it by white space. Each time it is invoked, getopts will place the next option in the shell variable $name, initializing name if it does not exist, and the index of the next argument to be processed into the shell variable OPTIND. OPTIND is initialized to 1 each time the shell or a shell script is invoked. When an option requires an argument, getopts places that argument into the shell variable OPTARG. getopts reports errors in one of two ways. If the first character of OPTSTRING is a colon, getopts uses silent error reporting. In this mode, no error messages are printed. If an invalid option is seen, getopts places the option character found into OPTARG. If a required argument is not found, getopts places a ':' into NAME and sets OPTARG to the option character found. If getopts is not in silent mode, and an invalid option is seen, getopts places '?' into NAME and unsets OPTARG. If a required argument is not found, a '?' is placed in NAME, OPTARG is unset, and a diagnostic message is printed. If the shell variable OPTERR has the value 0, getopts disables the printing of error messages, even if the first character of OPTSTRING is not a colon. OPTERR has the value 1 by default. Getopts normally parses the positional parameters ($0 - $9), but if more arguments are given, they are parsed instead. Exit Status: Returns success if an option is found; fails if the end of options is encountered or an error occurs.Print the name of the current working directory. Options: -L print the value of $PWD if it names the current working directory -P print the physical directory, without any symbolic links By default, `pwd' behaves as if `-L' were specified. Exit Status: Returns 0 unless an invalid option is given or the current directory cannot be read.QuitRead a line from the standard input and split it into fields. Reads a single line from the standard input, or from file descriptor FD if the -u option is supplied. The line is split into fields as with word splitting, and the first word is assigned to the first NAME, the second word to the second NAME, and so on, with any leftover words assigned to the last NAME. Only the characters found in $IFS are recognized as word delimiters. If no NAMEs are supplied, the line read is stored in the REPLY variable. Options: -a array assign the words read to sequential indices of the array variable ARRAY, starting at zero -d delim continue until the first character of DELIM is read, rather than newline -e use Readline to obtain the line in an interactive shell -i text use TEXT as the initial text for Readline -n nchars return after reading NCHARS characters rather than waiting for a newline, but honor a delimiter if fewer than NCHARS characters are read before the delimiter -N nchars return only after reading exactly NCHARS characters, unless EOF is encountered or read times out, ignoring any delimiter -p prompt output the string PROMPT without a trailing newline before attempting to read -r do not allow backslashes to escape any characters -s do not echo input coming from a terminal -t timeout time out and return failure if a complete line of input is not read within TIMEOUT seconds. The value of the TMOUT variable is the default timeout. TIMEOUT may be a fractional number. If TIMEOUT is 0, read returns immediately, without trying to read any data, returning success only if input is available on the specified file descriptor. The exit status is greater than 128 if the timeout is exceeded -u fd read from file descriptor FD instead of the standard input Exit Status: The return code is zero, unless end-of-file is encountered, read times out (in which case it's greater than 128), a variable assignment error occurs, or an invalid file descriptor is supplied as the argument to -u.Read lines from a file into an array variable. A synonym for `mapfile'.Read lines from the standard input into an indexed array variable. Read lines from the standard input into the indexed array variable ARRAY, or from file descriptor FD if the -u option is supplied. The variable MAPFILE is the default ARRAY. Options: -d delim Use DELIM to terminate lines, instead of newline -n count Copy at most COUNT lines. If COUNT is 0, all lines are copied -O origin Begin assigning to ARRAY at index ORIGIN. The default index is 0 -s count Discard the first COUNT lines read -t Remove a trailing DELIM from each line read (default newline) -u fd Read lines from file descriptor FD instead of the standard input -C callback Evaluate CALLBACK each time QUANTUM lines are read -c quantum Specify the number of lines read between each call to CALLBACK Arguments: ARRAY Array variable name to use for file data If -C is supplied without -c, the default quantum is 5000. When CALLBACK is evaluated, it is supplied the index of the next array element to be assigned and the line to be assigned to that element as additional arguments. If not supplied with an explicit origin, mapfile will clear ARRAY before assigning to it. Exit Status: Returns success unless an invalid option is given or ARRAY is readonly or not an indexed array.Record lockRemember or display program locations. Determine and remember the full pathname of each command NAME. If no arguments are given, information about remembered commands is displayed. Options: -d forget the remembered location of each NAME -l display in a format that may be reused as input -p pathname use PATHNAME as the full pathname of NAME -r forget all remembered locations -t print the remembered location of each NAME, preceding each location with the corresponding NAME if multiple NAMEs are given Arguments: NAME Each NAME is searched for in $PATH and added to the list of remembered commands. Exit Status: Returns success unless NAME is not found or an invalid option is given.Remove directories from stack. Removes entries from the directory stack. With no arguments, removes the top directory from the stack, and changes to the new top directory. Options: -n Suppresses the normal change of directory when removing directories from the stack, so only the stack is manipulated. Arguments: +N Removes the Nth entry counting from the left of the list shown by `dirs', starting with zero. For example: `popd +0' removes the first directory, `popd +1' the second. -N Removes the Nth entry counting from the right of the list shown by `dirs', starting with zero. For example: `popd -0' removes the last directory, `popd -1' the next to last. The `dirs' builtin displays the directory stack. Exit Status: Returns success unless an invalid argument is supplied or the directory change fails.Remove each NAME from the list of defined aliases. Options: -a remove all alias definitions Return success unless a NAME is not an existing alias.Remove jobs from current shell. Removes each JOBSPEC argument from the table of active jobs. Without any JOBSPECs, the shell uses its notion of the current job. Options: -a remove all jobs if JOBSPEC is not supplied -h mark each JOBSPEC so that SIGHUP is not sent to the job if the shell receives a SIGHUP -r remove only running jobs Exit Status: Returns success unless an invalid option or JOBSPEC is given.Removes entries from the directory stack. With no arguments, removes the top directory from the stack, and changes to the new top directory. Options: -n Suppresses the normal change of directory when removing directories from the stack, so only the stack is manipulated. Arguments: +N Removes the Nth entry counting from the left of the list shown by `dirs', starting with zero. For example: `popd +0' removes the first directory, `popd +1' the second. -N Removes the Nth entry counting from the right of the list shown by `dirs', starting with zero. For example: `popd -0' removes the last directory, `popd -1' the next to last. The `dirs' builtin displays the directory stack.Replace the shell with the given command. Execute COMMAND, replacing this shell with the specified program. ARGUMENTS become the arguments to COMMAND. If COMMAND is not specified, any redirections take effect in the current shell. Options: -a name pass NAME as the zeroth argument to COMMAND -c execute COMMAND with an empty environment -l place a dash in the zeroth argument to COMMAND If the command cannot be executed, a non-interactive shell exits, unless the shell option `execfail' is set. Exit Status: Returns success unless COMMAND is not found or a redirection error occurs.Report time consumed by pipeline's execution. Execute PIPELINE and print a summary of the real time, user CPU time, and system CPU time spent executing PIPELINE when it terminates. Options: -p print the timing summary in the portable Posix format The value of the TIMEFORMAT variable is used as the output format. Exit Status: The return status is the return status of PIPELINE.Resume for, while, or until loops. Resumes the next iteration of the enclosing FOR, WHILE or UNTIL loop. If N is specified, resumes the Nth enclosing loop. Exit Status: The exit status is 0 unless N is not greater than or equal to 1.Resume job in foreground. Equivalent to the JOB_SPEC argument to the `fg' command. Resume a stopped or background job. JOB_SPEC can specify either a job name or a job number. Following JOB_SPEC with a `&' places the job in the background, as if the job specification had been supplied as an argument to `bg'. Exit Status: Returns the status of the resumed job.Return a successful result. Exit Status: Always succeeds.Return an unsuccessful result. Exit Status: Always fails.Return from a shell function. Causes a function or sourced script to exit with the return value specified by N. If N is omitted, the return status is that of the last command executed within the function or script. Exit Status: Returns N, or failure if the shell is not executing a function or script.Return the context of the current subroutine call. Without EXPR, returns "$line $filename". With EXPR, returns "$line $subroutine $filename"; this extra information can be used to provide a stack trace. The value of EXPR indicates how many call frames to go back before the current one; the top frame is frame 0. Exit Status: Returns 0 unless the shell is not executing a shell function or EXPR is invalid.Returns the context of the current subroutine call. Without EXPR, returns RunningSegmentation faultSelect words from a list and execute commands. The WORDS are expanded, generating a list of words. The set of expanded words is printed on the standard error, each preceded by a number. If `in WORDS' is not present, `in "$@"' is assumed. The PS3 prompt is then displayed and a line read from the standard input. If the line consists of the number corresponding to one of the displayed words, then NAME is set to that word. If the line is empty, WORDS and the prompt are redisplayed. If EOF is read, the command completes. Any other value read causes NAME to be set to null. The line read is saved in the variable REPLY. COMMANDS are executed after each selection until a break command is executed. Exit Status: Returns the status of the last command executed.Set Readline key bindings and variables. Bind a key sequence to a Readline function or a macro, or set a Readline variable. The non-option argument syntax is equivalent to that found in ~/.inputrc, but must be passed as a single argument: e.g., bind '"\C-x\C-r": re-read-init-file'. Options: -m keymap Use KEYMAP as the keymap for the duration of this command. Acceptable keymap names are emacs, emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move, vi-command, and vi-insert. -l List names of functions. -P List function names and bindings. -p List functions and bindings in a form that can be reused as input. -S List key sequences that invoke macros and their values -s List key sequences that invoke macros and their values in a form that can be reused as input. -V List variable names and values -v List variable names and values in a form that can be reused as input. -q function-name Query about which keys invoke the named function. -u function-name Unbind all keys which are bound to the named function. -r keyseq Remove the binding for KEYSEQ. -f filename Read key bindings from FILENAME. -x keyseq:shell-command Cause SHELL-COMMAND to be executed when KEYSEQ is entered. -X List key sequences bound with -x and associated commands in a form that can be reused as input. Exit Status: bind returns 0 unless an unrecognized option is given or an error occurs.Set and unset shell options. Change the setting of each shell option OPTNAME. Without any option arguments, list all shell options with an indication of whether or not each is set. Options: -o restrict OPTNAMEs to those defined for use with `set -o' -p print each shell option with an indication of its status -q suppress output -s enable (set) each OPTNAME -u disable (unset) each OPTNAME Exit Status: Returns success if OPTNAME is enabled; fails if an invalid option is given or OPTNAME is disabled.Set export attribute for shell variables. Marks each NAME for automatic export to the environment of subsequently executed commands. If VALUE is supplied, assign VALUE before exporting. Options: -f refer to shell functions -n remove the export property from each NAME -p display a list of all exported variables and functions An argument of `--' disables further option processing. Exit Status: Returns success unless an invalid option is given or NAME is invalid.Set variable values and attributes. Declare variables and give them attributes. If no NAMEs are given, display the attributes and values of all variables. Options: -f restrict action or display to function names and definitions -F restrict display to function names only (plus line number and source file when debugging) -g create global variables when used in a shell function; otherwise ignored -p display the attributes and value of each NAME Options which set attributes: -a to make NAMEs indexed arrays (if supported) -A to make NAMEs associative arrays (if supported) -i to make NAMEs have the `integer' attribute -l to convert NAMEs to lower case on assignment -n make NAME a reference to the variable named by its value -r to make NAMEs readonly -t to make NAMEs have the `trace' attribute -u to convert NAMEs to upper case on assignment -x to make NAMEs export Using `+' instead of `-' turns off the given attribute. Variables with the integer attribute have arithmetic evaluation (see the `let' command) performed when the variable is assigned a value. When used in a function, `declare' makes NAMEs local, as with the `local' command. The `-g' option suppresses this behavior. Exit Status: Returns success unless an invalid option is supplied or a variable assignment error occurs.Shell commands matching keyword `Shell commands matching keywords `Shell options: Shift positional parameters. Rename the positional parameters $N+1,$N+2 ... to $1,$2 ... If N is not given, it is assumed to be 1. Exit Status: Returns success unless N is negative or greater than $#.Signal %dSpecify how arguments are to be completed by Readline. For each NAME, specify how arguments are to be completed. If no options are supplied, existing completion specifications are printed in a way that allows them to be reused as input. Options: -p print existing completion specifications in a reusable format -r remove a completion specification for each NAME, or, if no NAMEs are supplied, all completion specifications -D apply the completions and actions as the default for commands without any specific completion defined -E apply the completions and actions to "empty" commands -- completion attempted on a blank line When completion is attempted, the actions are applied in the order the uppercase-letter options are listed above. The -D option takes precedence over -E. Exit Status: Returns success unless an invalid option is supplied or an error occurs.StoppedStopped (signal)Stopped (tty input)Stopped (tty output)Stopped(%s)Suspend shell execution. Suspend the execution of this shell until it receives a SIGCONT signal. Unless forced, login shells cannot be suspended. Options: -f force the suspend, even if the shell is a login shell Exit Status: Returns success unless job control is not enabled or an error occurs.TIMEFORMAT: `%c': invalid format characterTerminatedThe mail in %s has been read There are running jobs. There are stopped jobs. There is NO WARRANTY, to the extent permitted by law.These shell commands are defined internally. Type `help' to see this list. Type `help name' to find out more about the function `name'. Use `info bash' to find out more about the shell in general. Use `man -k' or `info' to find out more about commands not in this list. A star (*) next to a name means that the command is disabled. This is free software; you are free to change and redistribute it.Trap signals and other events. Defines and activates handlers to be run when the shell receives signals or other conditions. ARG is a command to be read and executed when the shell receives the signal(s) SIGNAL_SPEC. If ARG is absent (and a single SIGNAL_SPEC is supplied) or `-', each specified signal is reset to its original value. If ARG is the null string each SIGNAL_SPEC is ignored by the shell and by the commands it invokes. If a SIGNAL_SPEC is EXIT (0) ARG is executed on exit from the shell. If a SIGNAL_SPEC is DEBUG, ARG is executed before every simple command. If a SIGNAL_SPEC is RETURN, ARG is executed each time a shell function or a script run by the . or source builtins finishes executing. A SIGNAL_SPEC of ERR means to execute ARG each time a command's failure would cause the shell to exit when the -e option is enabled. If no arguments are supplied, trap prints the list of commands associated with each signal. Options: -l print a list of signal names and their corresponding numbers -p display the trap commands associated with each SIGNAL_SPEC Each SIGNAL_SPEC is either a signal name in or a signal number. Signal names are case insensitive and the SIG prefix is optional. A signal may be sent to the shell with "kill -signal $$". Exit Status: Returns success unless a SIGSPEC is invalid or an invalid option is given.Type `%s -c "help set"' for more information about shell options. Type `%s -c help' for more information about shell builtin commands. Unknown Signal #Unknown Signal #%dUnknown errorUnknown statusUnset values and attributes of shell variables and functions. For each NAME, remove the corresponding variable or function. Options: -f treat each NAME as a shell function -v treat each NAME as a shell variable -n treat each NAME as a name reference and unset the variable itself rather than the variable it references Without options, unset first tries to unset a variable, and if that fails, tries to unset a function. Some variables cannot be unset; also see `readonly'. Exit Status: Returns success unless an invalid option is given or a NAME is read-only.Urgent IO conditionUsage: %s [GNU long option] [option] ... %s [GNU long option] [option] script-file ... Use "%s" to leave the shell. Use the `bashbug' command to report bugs. User signal 1User signal 2Wait for job completion and return exit status. Waits for each process identified by an ID, which may be a process ID or a job specification, and reports its termination status. If ID is not given, waits for all currently active child processes, and the return status is zero. If ID is a a job specification, waits for all processes in that job's pipeline. If the -n option is supplied, waits for the next job to terminate and returns its exit status. Exit Status: Returns the status of the last ID; fails if ID is invalid or an invalid option is given.Wait for process completion and return exit status. Waits for each process specified by a PID and reports its termination status. If PID is not given, waits for all currently active child processes, and the return status is zero. PID must be a process ID. Exit Status: Returns the status of the last PID; fails if PID is invalid or an invalid option is given.Window changedWrite arguments to the standard output. Display the ARGs on the standard output followed by a newline. Options: -n do not append a newline Exit Status: Returns success unless a write error occurs.Write arguments to the standard output. Display the ARGs, separated by a single space character and followed by a newline, on the standard output. Options: -n do not append a newline -e enable interpretation of the following backslash escapes -E explicitly suppress interpretation of backslash escapes `echo' interprets the following backslash-escaped characters: \a alert (bell) \b backspace \c suppress further output \e escape character \E escape character \f form feed \n new line \r carriage return \t horizontal tab \v vertical tab \\ backslash \0nnn the character whose ASCII code is NNN (octal). NNN can be 0 to 3 octal digits \xHH the eight-bit character whose value is HH (hexadecimal). HH can be one or two hex digits Exit Status: Returns success unless a write error occurs.You have mail in $_You have new mail in $_[ arg... ][[ expression ]]`%c': bad command`%c': invalid format character`%c': invalid symbolic mode character`%c': invalid symbolic mode operator`%c': invalid time format specification`%s': cannot unbind`%s': invalid alias name`%s': invalid keymap name`%s': is a special builtin`%s': missing format character`%s': not a pid or valid job spec`%s': not a valid identifier`%s': unknown function name`)' expected`)' expected, found %s`:' expected for conditional expressionadd_process: pid %5ld (%s) marked as still aliveadd_process: process %5ld (%s) in the_pipelinealias [-p] [name[=value] ... ]all_local_variables: no function context at current scopeargumentargument expectedarray variable support requiredattempted assignment to non-variablebad array subscriptbad command typebad connectorbad jumpbad substitution: no closing "`" in %sbad substitution: no closing `%s' in %sbash home page: bash_execute_unix_command: cannot find keymap for commandbg [job_spec ...]bind [-lpsvPSVX] [-m keymap] [-f filename] [-q name] [-u name] [-r keyseq] [-x keyseq:shell-command] [keyseq:readline-function or readline-command]brace expansion: cannot allocate memory for %sbrace expansion: failed to allocate memory for %d elementsbrace expansion: failed to allocate memory for `%s'break [n]bug: bad expassign tokenbuiltin [shell-builtin [arg ...]]caller [expr]can only `return' from a function or sourced scriptcan only be used in a functioncannot allocate new file descriptor for bash input from fd %dcannot create temp file for here-document: %scannot duplicate fd %d to fd %dcannot duplicate named pipe %s as fd %dcannot find %s in shared object %s: %scannot make child for command substitutioncannot make child for process substitutioncannot make pipe for command substitutioncannot make pipe for process substitutioncannot open named pipe %s for readingcannot open named pipe %s for writingcannot open shared object %s: %scannot redirect standard input from /dev/null: %scannot reset nodelay mode for fd %dcannot set and unset shell options simultaneouslycannot set gid to %d: effective gid %dcannot set terminal process group (%d)cannot set uid to %d: effective uid %dcannot simultaneously unset a function and a variablecannot suspendcannot suspend a login shellcannot use `-f' to make functionscannot use more than one of -anrwcase WORD in [PATTERN [| PATTERN]...) COMMANDS ;;]... esaccd [-L|[-P [-e]] [-@]] [dir]child setpgid (%ld to %ld)command [-pVv] command [arg ...]command_substitute: cannot duplicate pipe as fd 1compgen [-abcdefgjksuv] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [word]complete [-abcdefgjksuv] [-pr] [-DE] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...]completion: function `%s' not foundcompopt [-o|+o option] [-DE] [name ...]conditional binary operator expectedcontinue [n]coproc [NAME] command [redirections]could not find /tmp, please create!cprintf: `%c': invalid format charactercurrentdeclare [-aAfFgilnrtux] [-p] [name[=value] ...]deleting stopped job %d with process group %lddescribe_pid: %ld: no such piddirectory stack emptydirectory stack indexdirs [-clpv] [+N] [-N]division by 0dynamic loading not availableecho [-n] [arg ...]echo [-neE] [arg ...]empty array variable nameenable [-a] [-dnps] [-f filename] [name ...]error getting terminal attributes: %serror importing function definition for `%s'error setting terminal attributes: %seval [arg ...]eval: maximum eval nesting level exceeded (%d)exec [-cl] [-a name] [command [arguments ...]] [redirection ...]exit [n]expected `)'exponent less than 0export [-fn] [name[=value] ...] or export -pexpression expectedexpression recursion level exceededfc [-e ename] [-lnr] [first] [last] or fc -s [pat=rep] [command]fg [job_spec]file descriptor out of rangefilename argument requiredfor (( exp1; exp2; exp3 )); do COMMANDS; donefor NAME [in WORDS ... ] ; do COMMANDS; doneforked pid %d appears in running job %dformat parsing problem: %sfree: called with already freed block argumentfree: called with unallocated block argumentfree: start and end chunk sizes differfree: underflow detected; mh_nbytes out of rangefunction name { COMMANDS ; } or name () { COMMANDS ; }future versions of the shell will force evaluation as an arithmetic substitutiongetcwd: cannot access parent directoriesgetopts optstring name [arg]hash [-lr] [-p pathname] [-dt] [name ...]hashing disabledhelp [-dms] [pattern ...]help not available in this versionhere-document at line %d delimited by end-of-file (wanted `%s')history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]history positionhistory specificationhits command identifier expected after pre-increment or pre-decrementif COMMANDS; then COMMANDS; [ elif COMMANDS; then COMMANDS; ]... [ else COMMANDS; ] fiinitialize_job_control: getpgrp failedinitialize_job_control: line disciplineinitialize_job_control: setpgidinvalid arithmetic baseinvalid baseinvalid character %d in exportstr for %sinvalid hex numberinvalid numberinvalid octal numberinvalid signal numberjob %d started without job controljob_spec [&]jobs [-lnprs] [jobspec ...] or jobs -x command [args]kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]last command: %s let arg [arg ...]limitline %d: line editing not enabledload function for %s returns failure (%d): not loadedlocal [option] name[=value] ...logout logout [n]loop countmake_here_document: bad instruction type %dmake_local_variable: no function context at current scopemake_redirection: redirection instruction `%d' out of rangemalloc: block on free list clobberedmalloc: failed assertion: %s mapfile [-d delim] [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]maximum here-document count exceededmigrate process to another CPUmissing `)'missing `]'missing hex digit for \xmissing unicode digit for \%cnetwork operations not supportedno `=' in exportstr for %sno closing `%c' in %sno command foundno help topics match `%s'. Try `help help' or `man -k %s' or `info %s'.no job controlno job control in this shellno match: %sno other directoryno other options allowed with `-x'not currently executing completion functionnot login shell: use `exit'octal numberonly meaningful in a `for', `while', or `until' looppipe errorpop_scope: head of shell_variables not a temporary environment scopepop_var_context: head of shell_variables not a function contextpop_var_context: no global_variables contextpopd [-n] [+N | -N]power failure imminentprint_command: bad connector `%d'printf [-v var] format [arguments]progcomp_insert: %s: NULL COMPSPECprogramming errorpushd [-n] [+N | -N | dir]pwd [-LP]read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...]read error: %d: %sreadarray [-n count] [-O origin] [-s count] [-t] [-u fd] [-C callback] [-c quantum] [array]readonly [-aAf] [name[=value] ...] or readonly -prealloc: called with unallocated block argumentrealloc: start and end chunk sizes differrealloc: underflow detected; mh_nbytes out of rangerecursion stack underflowredirection error: cannot duplicate fdregister_alloc: %p already in table as allocated? register_alloc: alloc table is full with FIND_ALLOC? register_free: %p already in table as free? restrictedreturn [n]run_pending_traps: bad value in trap_list[%d]: %prun_pending_traps: signal handler is SIG_DFL, resending %d (%s) to myselfsave_bash_input: buffer already exists for new fd %dselect NAME [in WORDS ... ;] do COMMANDS; doneset [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]setlocale: %s: cannot change locale (%s)setlocale: %s: cannot change locale (%s): %ssetlocale: LC_ALL: cannot change locale (%s)setlocale: LC_ALL: cannot change locale (%s): %sshell level (%d) too high, resetting to 1shift [n]shift countshopt [-pqsu] [-o] [optname ...]sigprocmask: %d: invalid operationsource filename [arguments]start_pipeline: pgrp pipesuspend [-f]syntax errorsyntax error in conditional expressionsyntax error in conditional expression: unexpected token `%s'syntax error in expressionsyntax error near `%s'syntax error near unexpected token `%s'syntax error: `((%s))'syntax error: `;' unexpectedsyntax error: arithmetic expression requiredsyntax error: invalid arithmetic operatorsyntax error: operand expectedsyntax error: unexpected end of filesystem crash imminenttest [expr]time [-p] pipelinetoo many argumentstrap [-lp] [[arg] signal_spec ...]trap_handler: bad signal %dtype [-afptP] name [name ...]typeset [-aAfFgilnrtux] [-p] name[=value] ...ulimit [-SHabcdefiklmnpqrstuvxPT] [limit]umask [-p] [-S] [mode]unalias [-a] name [name ...]unexpected EOF while looking for `]]'unexpected EOF while looking for matching `%c'unexpected EOF while looking for matching `)'unexpected argument `%s' to conditional binary operatorunexpected argument `%s' to conditional unary operatorunexpected argument to conditional binary operatorunexpected argument to conditional unary operatorunexpected token %d in conditional commandunexpected token `%c' in conditional commandunexpected token `%s' in conditional commandunexpected token `%s', conditional binary operator expectedunexpected token `%s', expected `)'unknownunknown command errorunset [-f] [-v] [-n] [name ...]until COMMANDS; do COMMANDS; donevalue too great for basevariables - Names and meanings of some shell variableswait [-n] [id ...]wait [pid ...]wait: pid %ld is not a child of this shellwait_for: No record of process %ldwait_for_job: job %d is stoppedwaitchld: turning on WNOHANG to avoid indefinite blockwarning: warning: %s: %swarning: -C option may not work as you expectwarning: -F option may not work as you expectwhile COMMANDS; do COMMANDS; donewrite error: %sxtrace fd (%d) != fileno xtrace fp (%d)xtrace_set: %d: invalid file descriptorxtrace_set: NULL file pointer{ COMMANDS ; }Project-Id-Version: bash 4.4-beta1 Report-Msgid-Bugs-To: POT-Creation-Date: 2016-09-10 12:42-0400 PO-Revision-Date: 2015-10-26 00:32-0400 Last-Translator: Mingye Wang (Arthur2e5) Language-Team: Chinese (simplified) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Language: zh_CN Plural-Forms: nplurals=1; plural=0; X-Generator: Poedit 1.8.5  等待输入超时:自动注销 -%s 或 -o <选项> -irsD 或 -c <命令> 或 -O (仅适åˆè°ƒç”¨) malloc: %s:%d: 断言已修补 (工作目录: %s) (核心已转储)行$%s: 无法这样赋值%c%c: 无效的选项%d: 无效的文件æè¿°ç¬¦: %s%s å¯ä»¥è¢«è°ƒç”¨ï¼Œé€šè¿‡%s 有空的 exportstr%s 是 %s %s 是函数 %s 是 shell 内建 %s 是 shell 关键字 %s 是特殊 shell 内建 %s 是 `%s' 的别å %s 已被录入哈希表 (%s) %s 未与任何键绑定。 %s 越界%s%s%s: %s (é”™è¯¯ç¬¦å·æ˜¯ "%s")%s: %s%s: %s 越界%s: %s: 解释器错误%s: %s: 无法作为文件打开%s: %s: 兼容版本数值越界%s: %s: 追踪文件æè¿°ç¬¦çš„值无效%s: %s: ä¸ºå…³è”æ•°ç»„赋值时必须使用下标%s: %s:%d: æ— æ³•åˆ†é… %lu 字节%s: %s:%d: æ— æ³•åˆ†é… %lu 字节 (å·²åˆ†é… %lu 字节)%s: 是一个目录%s: 模糊的任务声明%s: 模糊的é‡å®šå‘%s: 傿•°å¿…须是进程或任务 ID%s: 错误的网络路径声明%s: 错误的替æ¢%s: 需è¦äºŒå…ƒè¡¨è¾¾å¼%s: æ— æ³•åˆ†é… %lu 字节%s: æ— æ³•åˆ†é… %lu 字节 (å·²åˆ†é… %lu 字节)%s: 无法将文件æè¿°ç¬¦èµ‹å€¼ç»™å˜é‡%s: 无法将链表赋值给数组æˆå‘˜%s: æ— æ³•ä¸ºéžæ•°å­—的索引赋值%s: æ— æ³•å°†å…³è”æ•°ç»„转化为索引数组%s: æ— æ³•å°†ç´¢å¼•æ•°ç»„è½¬åŒ–ä¸ºå…³è”æ•°ç»„%s: 无法创建: %s%s: 无法删除: %s%s: æ— æ³•ä»¥è¿™ç§æ–¹å¼é”€æ¯æ•°ç»„å˜é‡%s: 无法执行二进制文件%s: 无法执行二进制文件: %s%s: 无法执行: %s%s: 无法导出%s: æ— æ³•èŽ·å– limit 值: %s%s: 无法修改 limit 值: %s%s: 无法打开临时文件: %s%s: 无法打开: %s%s: 无法覆盖已存在的文件%s: 无法读å–: %s%s: æ— æ³•å–æ¶ˆè®¾å®š%s: æ— æ³•å–æ¶ˆè®¾å®š: åªè¯» %s%s: 循环å˜é‡å引用%s: 未找到命令%s: 获å–当å‰ç›®å½•时出错: %s: %s %s: 表达å¼é”™è¯¯ %s: 文件太大%s: 文件未找到%s: 第一个éžç©ºå­—ç¬¦ä¸æ˜¯ `"'%s: 哈希表为空 %s: åŽ†å²æ‰©å±•失败%s: 未知主机%s: éžæ³•选项 -- %c %s: inlib 失败%s: éœ€è¦æ•´æ•°è¡¨è¾¾å¼%s: 无效的动作å%s: æ— æ•ˆå‚æ•°%s: 无效的数组基数%s: æ— æ•ˆçš„å…³è”æ•°ç»„é”®%s: 无效的回调é‡å­%s: 无效的文件æè¿°ç¬¦å£°æ˜Ž%s: 无效的间接展开%s: 无效的 limit 傿•°%s: 无效的行数%s: 无效选项%s: 无效的选项å%s: 无效的æœåŠ¡%s: 无效的 shell 选项å%s: 无效的信å·å£°æ˜Ž%s: 无效的超时声明%s: 无效的å˜é‡å%s: 无效的引用å˜é‡å%s: 是一个目录%s: 任务 %d 已在åŽå°%s: 任务已ç»ç»ˆæ­¢%s: 行 %d: %s: 超出最大函数嵌套层数 (%d)%s: 超出最大 source 嵌套层数 (%d)%s: 缺少冒å·åˆ†éš”符%s: ä¸å…许å称引用å˜é‡å¼•用自身%s: 没有补全声明%s: 无任务控制%s: 无此任务%s: 䏿˜¯å‡½æ•°%s: 䏿˜¯å¸¸è§„文件%s: 䏿˜¯ shell 内建%s: 䏿˜¯æ•°ç»„å˜é‡%s: 䏿˜¯ä¸€ä¸ªç´¢å¼•数组%s: æœªä»¥åŠ¨æ€æ–¹å¼åŠ è½½%s: 未找到%s: éœ€è¦æ•°å­—傿•°%s: 选项需è¦ä¸€ä¸ªå‚æ•°%s: 选项需è¦ä¸€ä¸ªå‚æ•° -- %c %s: 傿•°ä¸ºç©ºæˆ–未设置%s: 引å·å†…çš„å¤åˆæ•°ç»„赋值已被弃用%s: åªè¯»å‡½æ•°%s: åªè¯»å˜é‡%s: 引用å˜é‡ä¸èƒ½ä¸ºæ•°ç»„%s: å—é™çš„%s: å—é™çš„: 无法é‡å®šå‘输出%s: å—é™çš„: 无法在命令å中使用 `/'%s: å­ä¸²è¡¨è¾¾å¼ < 0%s: 需è¦ä¸€å…ƒè¡¨è¾¾å¼%s: 未绑定的å˜é‡%s: 用法:%s: å˜é‡ä¸å¯èµ‹å€¼(( è¡¨è¾¾å¼ ))(核心已转储)(当å‰å·¥ä½œç›®å½•:%s) . 文件å [傿•°]æ²¡æœ‰ç½‘ç»œæ—¶ä¸æ”¯æŒ /dev/(tcp|udp)/host/port/tmp 必须为有效的目录å<无当å‰ç›®å½•>放弃指令中止...将目录添加到栈中。 å°†ç›®å½•æ·»åŠ åˆ°ç›®å½•æ ˆé¡¶ï¼Œæˆ–ç€æ—‹è½¬æ ˆç›´åˆ°å½“å‰å·¥ä½œç›®å½•æˆä¸º 新的栈顶。ä¸å¸¦å‚æ•°æ—¶ï¼Œäº¤æ¢æ ˆé¡¶çš„两个目录。 选项: -n 抑制添加目录至栈时通常的改å˜ç›®å½•æ“作,从而仅对栈 进行æ“作。 傿•°ï¼š +N 旋转栈从而第 N 个目录 (`dirs' 显示的列表中左起,从零开始) 将移动到栈顶。 -N 旋转栈从而第 N 个目录 (`dirs' 显示的列表中å³èµ·ï¼Œä»Žé›¶å¼€å§‹) 将移动到栈顶。 dir å°† DIR 目录添加到栈顶,并且使其æˆä¸ºå½“å‰å·¥ä½œç›®å½•。 `dirs' 内建显示目录栈。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„傿•°æˆ–者目录转æ¢å¤±è´¥ã€‚在目录栈顶部加入一个目录,或者论询 目录栈,是当å‰å·¥ä½œç›®å½•æˆä¸ºæ–°çš„æ ˆé¡¶ ä¸å¸¦å‚æ•°æ—¶ï¼Œäº¤æ¢æ ˆé¡¶çš„两个目录。 选项: -n 抑制增加栈中目录时通常的改å˜ç›®å½•çš„æ“作, ä»Žè€Œåªæœ‰æ ˆè¢«æ“作。 傿•°ï¼š +N 轮转栈使得第N个目录(`dirs' çš„ 输出列表中左起,从0开始) å‡è‡³æ ˆé¡¶ã€‚ -N 轮转栈使得第N个目录(`dirs' çš„ 输出列表中å³èµ·ï¼Œä»Ž0开始) å‡è‡³æ ˆé¡¶ dir 添加目录至栈顶,并 使其æˆä¸ºæ–°çš„当å‰å·¥ä½œç›®å½•。 `dirs' 内建命令显示目录栈.报警(分æž)报警(虚拟)闹钟算术 for 循环。 等价于 (( EXP1 )) while (( EXP2 )); do COMMANDS (( EXP3 )) done EXP1ã€EXP2 å’Œ EXP3都是算术表达å¼ã€‚如果çœç•¥ä»»ä½•表达å¼ï¼Œ 则等åŒäºŽä½¿ç”¨äº†ä¼°å€¼ä¸º1的表达å¼ã€‚ 退出状æ€ï¼š è¿”å›žæœ€åŽæ‰§è¡Œçš„命令的状æ€ã€‚断点追踪/陷阱错误的系统调用伪信å·ç®¡é“破裂总线错误CPU é™åˆ¶æ”¹å˜ shell 工作目录。 改å˜å½“å‰ç›®å½•至 DIR 目录。默认的 DIR 目录是 shell å˜é‡ HOME 的值。 å˜é‡ CDPATH å®šä¹‰äº†å«æœ‰ DIR 的目录的æœç´¢è·¯å¾„,其中ä¸åŒçš„目录åç§°ç”±å†’å· (:)分隔。 一个空的目录å称表示当å‰ç›®å½•。如果è¦åˆ‡æ¢åˆ°çš„ DIR ç”±æ–œæ  (/) 开头,则 CDPATH å˜é‡ä¸ä¼šè¢«ä½¿ç”¨ã€‚ 如果路径找ä¸åˆ°ï¼Œå¹¶ä¸” shell 选项 `cdable_vars' è¢«è®¾å®šï¼Œåˆ™å‚æ•°è¯è¢«å‡å®šä¸ºä¸€ä¸ª å˜é‡å。如果该å˜é‡æœ‰å€¼ï¼Œåˆ™å®ƒçš„值被当作 DIR 目录。 选项: -L 强制跟éšç¬¦å·é“¾æŽ¥: åœ¨å¤„ç† `..' 之åŽè§£æž DIR 中的符å·é“¾æŽ¥ã€‚ -P 使用物ç†ç›®å½•结构而ä¸è·Ÿéšç¬¦å·é“¾æŽ¥: åœ¨å¤„ç† `..' 之å‰è§£æž DIR 中的符å·é“¾æŽ¥ã€‚ -e 如果使用了 -P 傿•°ï¼Œä½†ä¸èƒ½æˆåŠŸç¡®å®šå½“å‰å·¥ä½œç›®å½•时,返回éžé›¶çš„返回值。 -@ åœ¨æ”¯æŒæ‹“展属性的系统上,将一个有这些属性的文件当作有文件属性的目录。 默认情况下跟éšç¬¦å·é“¾æŽ¥ï¼Œå¦‚åŒæŒ‡å®š `-L'。 `..' 使用移除å‘å‰ç›¸é‚»ç›®å½•åæˆå‘˜ç›´åˆ° DIR 开始或一个斜æ çš„æ–¹å¼å¤„ç†ã€‚ 退出状æ€ï¼š 如果目录改å˜ï¼Œæˆ–在使用 -P 选项时 $PWD 修改æˆåŠŸæ—¶è¿”å›ž 0,å¦åˆ™éžé›¶ã€‚å­è¿›ç¨‹å·²æ­»æˆ–è€…åœæ­¢å¸¸ç”¨ shell å˜é‡å称和使用。 BASH_VERSION å½“å‰ Bash 的版本信æ¯ã€‚ CDPATH 用于 `cd' 命令傿•°æœç´¢çš„分å·åˆ†éš”的目录列表 GLOBIGNORE 路径扩展时忽略的文件ååŒ¹é…æ¨¡å¼åˆ—表, 以分å·åˆ†éš”。 HISTFILE 您的命令历å²å­˜æ”¾çš„æ–‡ä»¶å称。 HISTFILESIZE åŽ†å²æ–‡ä»¶æœ€å¤šå¯ä»¥ä¿å­˜çš„行数。 HISTSIZE 一个è¿è¡Œçš„ shell 最多å¯ä»¥è®¿é—®çš„历å²å‘½ä»¤è¡Œæ•°ã€‚ HOME 您的登录目录的完整路径。 HOSTNAME 当å‰ä¸»æœºçš„主机å。 HOSTTYPE 当å‰ç‰ˆæœ¬çš„ BASH 在其之上è¿è¡Œçš„ CPU 类型。 IGNOREEOF 控制 shell 收到文件结æŸç¬¦ä½œä¸ºå•一输入åŽçš„ 动作。如果设定这个å˜é‡ï¼Œåˆ™å®ƒçš„值是 shell 退出之å‰åœ¨ 一个空行上å¯ä»¥è¿žç»­çœ‹åˆ°çš„æ–‡ä»¶ç»“æŸç¬¦æ•°é‡(默认为10)。 未设定时,文件结æŸç¬¦æ ‡å¿—ç€è¾“入的结æŸã€‚ MACHTYPE æè¿°å½“å‰è¿è¡Œ Bash 的系统的字符串。 MAILCHECK Bash 检测新邮件的频率,以秒为å•ä½ã€‚ MAILPATH Bash 从中检测新邮件的文件列表,以分å·åˆ†éš”。 OSTYPE è¿è¡Œ Bash çš„ Unix 版本。 PATH 当寻找命令时æœç´¢çš„目录列表,以冒å·åˆ†éš”。 PROMPT_COMMAND æ‰“å°æ¯ä¸€ä¸ªä¸»æç¤ºç¬¦ä¹‹å‰æ‰§è¡Œçš„命 令。 PS1 主æç¤ºç¬¦å­—符串。 PS2 从æç¤ºç¬¦å­—符串。 PWD 当å‰ç›®å½•的完整路径。 SHELLOPTS å·²å¯ç”¨çš„ shell 选项列表,以冒å·åˆ†éš”。 TERM 当å‰ç»ˆç«¯ç±»åž‹çš„å称。 TIMEFORMAT 以关键则 `time' 显示的时间统计信æ¯çš„输出 æ ¼å¼ã€‚ auto_resume éžç©ºæ—¶ï¼Œä¸€ä¸ªå•独的命令è¯ä¼šé¦–å…ˆè¢«åœ¨å½“å‰ åœæ­¢çš„任务列表中æœç´¢ã€‚如果找到则该任务被置于å‰å°ã€‚ 如果值为 `exact' 则æ„味ç€å‘½ä»¤è¯å¿…须精确匹é…åœæ­¢ä»»åŠ¡ 列表中的命令。如果值为 `substring' 则æ„味ç€å‘½ä»¤è¯å¿… 须匹é…任务的一个å­å­—符串。任何其他的值æ„味ç€å‘½ä»¤è¯ å¿…é¡»æ˜¯åœæ­¢ä»»åŠ¡çš„ä¸€ä¸ªå‰ç¼€ã€‚ histchars 控制历å²å±•开和快速替æ¢çš„字符。第一个字符是 åŽ†å²æ›¿æ¢å­—符,通常是 `!'。第二个字符是快速替æ¢å­—符, 通常是 `^'ã€‚ç¬¬ä¸‰ä¸ªæ˜¯åŽ†å²æ³¨é‡Šå­—符,通常是 `#'。 HISTIGNORE ç”¨äºŽå†³å®šå“ªäº›å‘½ä»¤è¢«å­˜å…¥åŽ†å²æ–‡ä»¶çš„æ¨¡å¼ 列表,以冒å·åˆ†éš”。 继续定义本地å˜é‡ã€‚ 创建一个以 NAME 为åç§°çš„å˜é‡ï¼Œå¹¶ä¸”å°† VALUE 赋值给它。 OPTION 选项å¯ä»¥æ˜¯ä»»ä½•能被 `declare' 接å—的选项。 本地å˜é‡åªèƒ½åœ¨å‡½æ•°å†…部被使用,它们åªèƒ½åœ¨å®šä¹‰å®ƒä»¬çš„函数内 部以åŠå­å‡½æ•°ä¸­å¯è§ã€‚ 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项ã€å‘生了赋值错误或者 shell ä¸åœ¨æ‰§è¡Œä¸€ä¸ªå‡½æ•°ã€‚定义或显示别å。 ä¸å¸¦å‚数时,`alias' 以å¯é‡ç”¨çš„æ ¼å¼ `alias åç§°=值'在标准输出设备上打å°åˆ«å列表。 å¦åˆ™ï¼Œå¯¹äºŽæ¯ä¸ªç»™å®šå€¼çš„å称定义一个别å。 值末尾的空格会使下一个è¯è¢«æ£€æµ‹ä½œä¸ºåˆ«å替æ¢å±•开。 选项: -p 以å¯é‡ç”¨çš„æ ¼å¼æ‰“å°æ‰€æœ‰çš„已定义的别å 退出状æ€ï¼š 除éžä¸€ä¸ªæ²¡æœ‰å®šä¹‰çš„åå­—è¢«ä½œä¸ºå‚æ•°æä¾›ï¼Œå¦åˆ™ alias 返回值为真。定义 shell 函数。 创建一个以 NAME 为åçš„ shell 函数。当作为一个简å•的命令å¯ç”¨æ—¶ï¼Œ NAME 函数执行调用 shell 的上下文中的 COMMANDs 命令。当 NAME 被å¯ç”¨æ—¶ï¼Œå‚数作为 $1...$n 被传递给函数,函数的å字储存在å˜é‡ $FUNCNAME 中。 退出状æ€ï¼š 返回æˆåŠŸé™¤éž NAME 为åªè¯»ã€‚显示目录栈。 显示当å‰è®°ä½çš„目录列表。通过 `pushd' 命令å¯ä»¥å°†ç›®å½•存入列表 中;`popd' 命令å¯ç”¨äºŽé历弹出列表。 选项: -c 删除所有元素以清空目录栈 -l 䏿‰“å°ä¸Žä¸»ç›®å½•相关的波浪å·å‰ç¼€çš„目录 -p æ¯è¡Œä¸€ä¸ªæ¡ç›®æ‰“å°ç›®å½•æ ˆ -v æ¯è¡Œä¸€ä¸ªæ¡ç›®ï¼Œä»¥æ ˆä¸­ä½ç½®ä¸ºå‰ç¼€æ‰“å°ç›®å½•æ ˆ 傿•°ï¼š +N 显示 dirs ä¸å¸¦é€‰é¡¹å¯åŠ¨æ—¶æ˜¾ç¤ºçš„ç›®å½•åˆ—è¡¨å·¦èµ·ä¸­ç¬¬ N 个目录,从零开始。 -N 显示 dirs ä¸å¸¦é€‰é¡¹å¯åŠ¨æ—¶æ˜¾ç¤ºçš„ç›®å½•åˆ—è¡¨å³èµ·ä¸­ç¬¬ N 个目录,从零开始。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者å‘生错误。显示内建命令的相关信æ¯ã€‚ 显示内建命令的简略信æ¯ã€‚如果指定了 PATTERN 模å¼ï¼Œ ç»™å‡ºæ‰€æœ‰åŒ¹é… PATTERN 模å¼çš„命令的详细帮助,å¦åˆ™æ‰“ å°ä¸€ä¸ªå¸®åŠ©ä¸»é¢˜åˆ—è¡¨ 选项: -d 输出æ¯ä¸ªä¸»é¢˜çš„简短æè¿° -m 以伪 man æ‰‹å†Œçš„æ ¼å¼æ˜¾ç¤ºä½¿ç”¨æ–¹æ³• -s 为æ¯ä¸€ä¸ªåŒ¹é… PATTERN 模å¼çš„主题仅显示一个用法 简介 傿•°ï¼š PATTERN Pattern æ¨¡å¼æŒ‡å®šä¸€ä¸ªå¸®åŠ©ä¸»é¢˜ 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éž PATTERN æ¨¡å¼æ²¡æœ‰æ‰¾åˆ°æˆ–者使用了无效选项。显示命令类型的信æ¯ã€‚ 对于æ¯ä¸€ä¸ª NAME å称,指示如果作为命令它将如何被解释。 选项: -a 显示所有包å«å称为 NAME çš„å¯æ‰§è¡Œæ–‡ä»¶çš„ä½ç½®ï¼› 包括别åã€å†…建和函数。仅当 `-p' 选项没有使用时 -f 抑制 shell 函数查询 -P 为æ¯ä¸ª NAME å称惊醒 PATH 路径æœç´¢ï¼Œå³ä½¿å®ƒæ˜¯åˆ«å〠内建或函数,并且返回将被执行的ç£ç›˜ä¸Šæ–‡ä»¶çš„å称。 -p 返回将被执行的ç£ç›˜ä¸Šæ–‡ä»¶çš„å称,或者当 `type -t NAME' ä¸è¿”回 `file' 时,ä¸è¿”回任何值。 -t 返回下列è¯ä¸­çš„任何一个 `alias'ã€`keyword'〠`function'ã€`builtin'ã€`file' 或者 `',相应地如果 NAME 是 一个别åã€shell ä¿ç•™å­—ã€shell 函数ã€shell 内建〠ç£ç›˜æ–‡ä»¶æˆ–没有找到。 傿•°ï¼š NAME å°†è¦è§£æžçš„命令。 退出状æ€ï¼š 如果所有的 NAME 命令都找到则返回æˆåŠŸï¼›ä»»ä½•ä¸€ä¸ªæ‰¾ä¸åˆ°åˆ™å¤±è´¥ã€‚从历å²åˆ—表中显示或者执行命令。 fc 被用于从历å²åˆ—è¡¨ä¸­åˆ—å‡ºæˆ–è€…é‡æ–°ç¼–辑并执行命令。 FIRST å’Œ LAST å˜é‡å¯ä»¥æ˜¯æ•°å­—用于指定范围,或者 FIRST å¯ä»¥æ˜¯ 字符串,æ„味ç€ä»¥è¿™ä¸ªå­—符串打头的最近的一个命令。 选项: -e ENAME 选择使用哪个编辑器。默认的是 FCEDIT, ç„¶åŽæ˜¯ EDITOR, ç„¶åŽæ˜¯ vi -l 列出行而ä¸ç¼–辑 -n 列举时çœç•¥è¡Œå· -r å转行的顺åº(最新行在å‰) 用 `fc -s [模å¼=æ›¿æ¢ ...] [命令]' 的格å¼ï¼ŒCOMMAND 命令会在 OLD=NEW 替æ¢ä¹‹åŽè¢«é‡æ–°æ‰§è¡Œã€‚ r='fc -s' 是一个有用的别å,这样的è¯è¾“å…¥ `r cc'会执行最åŽä¸€ä¸ªä»¥ `cc' 开头的命令,输入 `r'ä¼šé‡æ–°æ‰§è¡Œæœ€åŽä¸€ä¸ªå‘½ä»¤ã€‚ 退出状æ€ï¼š 返回æˆåŠŸï¼Œæˆ–è€…æ‰§è¡Œçš„å‘½ä»¤çš„çŠ¶æ€ï¼›å¦‚果错误å‘生则返回éžé›¶ã€‚æ˜¾ç¤ºæˆ–è®¾å®šæ–‡ä»¶æ¨¡å¼æŽ©ç ã€‚ 设定用户文件创建掩ç ä¸º MODE 模å¼ã€‚如果çœç•¥äº† MODE,则 打å°å½“剿ީç çš„值。 如果 MODE 模å¼ä»¥æ•°å­—开头,则被当作八进制数解æžï¼›å¦åˆ™æ˜¯ä¸€ä¸ª chmod(1) å¯æŽ¥æ”¶çš„ç¬¦å·æ¨¡å¼ä¸²ã€‚ 选项: -p 如果çœç•¥ MODE 模å¼ï¼Œä»¥å¯é‡ç”¨ä¸ºè¾“入的格å¼è¾“å…¥ -S 以符å·å½¢å¼è¾“出,å¦åˆ™ä»¥å…«è¿›åˆ¶æ•°æ ¼å¼è¾“出 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„ MODE æ¨¡å¼æˆ–è€…é€‰é¡¹ã€‚ä¾æ®é€‰é¡¹æ˜¾ç¤ºå¯èƒ½çš„补全。 æ„图在能产生å¯èƒ½çš„补全的 shell 函数内部使用。 如果æä¾›äº†å¯é€‰çš„ WORD 傿•°ï¼Œåˆ™äº§ç”ŸæŒ‰ç…§ WORD 进行的匹é…。 退出状æ€ï¼š 除éžä½¿ç”¨äº†æ— æ•ˆé€‰é¡¹æˆ–者错误å‘生,å¦åˆ™è¿”回æˆåŠŸã€‚æ˜¾ç¤ºè¿›ç¨‹æ—¶é—´ æ‰“å° shell åŠå…¶æ‰€æœ‰å­è¿›ç¨‹çš„累计用户空间和 系统空间执行时间。 é€€å‡ºçŠ¶æ€ æ€»æ˜¯æˆåŠŸã€‚æ˜¾ç¤ºä»»åŠ¡çŠ¶æ€ã€‚ 列出活动的任务。JOBSPEC é™åˆ¶ä»…输出指定的任务。 ä¸å¸¦é€‰é¡¹æ—¶ï¼Œæ‰€æœ‰æ´»åŠ¨ä»»åŠ¡çš„çŠ¶æ€éƒ½ä¼šæ˜¾ç¤ºã€‚ 选项: -l 在正常信æ¯åŸºç¡€ä¸Šåˆ—å‡ºè¿›ç¨‹å· -n ä»…åˆ—å‡ºä¸Šæ¬¡é€šå‘Šä¹‹åŽæ”¹å˜äº†çжæ€çš„进程 -p ä»…åˆ—å‡ºè¿›ç¨‹å· -r é™åˆ¶ä»…输出è¿è¡Œä¸­çš„任务 -s é™åˆ¶ä»…è¾“å‡ºåœæ­¢çš„任务 如果使用了 -x 选项,ARG 傿•°ä¸­çš„æ‰€æœ‰ä»»åŠ¡å£°æ˜Žä¼šè¢«æ›¿æ¢ä¸ºè¯¥ä»»åŠ¡ 的进程组头领的进程å·ï¼Œç„¶åŽæ‰§è¡Œ COMMAND 命令。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者有错误å‘生。 如果使用 -x 选项,则返回 COMMAND 命令的退出状æ€ã€‚显示当å‰è®°ä½çš„目录列表。 目录 通过 `pushd' 命令加入这个列表;您å¯ä»¥ 使用 `popd' 命令对列表进行é历。 选项: -c 删除所有元素以清除目录栈 -l 䏿‰“å°ä¸Žå®¶ç›®å½•ç›¸å…³çš„ä»¥æ³¢æµªå· ä¸ºå‰ç¼€çš„目录 -p æ¯è¡Œä¸€ä¸ªæ¡ç›®æ‰“å°ç›®å½•æ ˆ -v 以栈ä½ç½®ä¸ºå‰ç¼€ï¼Œæ¯è¡Œä¸€ä¸ªæ¡ç›® 打å°ç›®å½•æ ˆ 傿•°: +N 以 dirs ä¸å¸¦é€‰é¡¹è¾“å‡ºçš„é¡ºåºæ˜¾ç¤ºåˆ—表从左起第N个æ¡ç›®ï¼Œ 从 0 开始。 -N 以 dirs ä¸å¸¦é€‰é¡¹è¾“å‡ºçš„é¡ºåºæ˜¾ç¤ºåˆ—表从å³èµ·ç¬¬N个项目, 从 0 开始。已完æˆå·²å®Œæˆ(%d)模拟器陷阱指令å¯ç”¨å’Œç¦ç”¨ shell 内建。 å¯ç”¨å’Œç¦ç”¨ shell 的内建命令。ç¦ç”¨ä½¿æ‚¨èƒ½å¤Ÿæ‰§è¡Œä¸€ä¸ªå’Œå†…建 命令åŒåçš„ç£ç›˜ä¸Šçš„命令,而无须使用完整的路径å。 选项: -a 打å°ä¸€ä¸ªå†…建的列表,并显示其中æ¯ä¸€ä¸ªæ˜¯å¦å¯ç”¨ -n ç¦ç”¨æ¯ä¸€ä¸ª NAME 内建或者显示一个被ç¦ç”¨çš„内建的列表 -p 以å¯é‡ç”¨çš„æ ¼å¼æ‰“å°ä¸€ä¸ªå†…建的列表 -s 仅打å°Posix `special' 内建的åç§° 控制动æ€åŠ è½½çš„é€‰é¡¹ï¼š -f 从共享对象 FILENAME 文件中加载 NAME 内建 -d 删除以 -f 选项加载的内建 ä¸å¸¦é€‰é¡¹æ—¶ï¼Œæ¯ä¸€ä¸ª NAME 内建都被å¯ç”¨ã€‚ 如果è¦ä½¿ç”¨ $PATH 中找到的 `test' è€Œä¸æ˜¯ shell 内建的版本, 输入 `enable -n test'。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éž NAME 䏿˜¯ä¸€ä¸ª shell 内建或者有错误å‘生。估值算术表达å¼ã€‚ è¡¨è¾¾å¼æŒ‰ç…§ç®—术法则进行估值。 等价于 "let 表达å¼". é€€å‡ºçŠ¶æ€ å¦‚æžœè¡¨è¾¾å¼ä¼°å€¼ä¸º0则返回 1ï¼›å¦åˆ™è¿”回0。估值算术表达å¼ã€‚ å°†æ¯ä¸ª ARG å‚èµ›ä½œä¸ºç®—æœ¯è¡¨è¾¾å¼æ¥ä¼°å€¼ã€‚估值的计算以定宽的整 数完æˆï¼Œä¸å¸¦æº¢å‡ºæ£€æµ‹ï¼Œä¸è¿‡é™¤ 0 是被置陷阱的并且会报一个错 误。下列æ“作符被按照相åŒçš„算术优先级组åˆã€‚åˆ—è¡¨çš„é¡ºåºæŒ‰ç…§ 优先级从高至低。 id++, id-- å˜é‡åŽç½®åŠ ï¼ŒåŽç½®å‡ ++id, --id å˜é‡å‰ç½®åŠ ï¼Œå‰ç½®å‡ -, + ä¸€å…ƒå‡æ³•,一元加法 !, ~ 逻辑和ä½å–å ** 指数 *, /, % 乘法,除法,å–余数 +, - 增加,å‡å°‘ <<, >> å‘左和å‘峿Œ‰ä½ç§»ä½ <=, >=, <, > 比较 ==, != 等于,ä¸ç­‰äºŽ & 按ä½ä¸Ž ^ 按ä½å¼‚或 | æŒ‰ä½æˆ– && 逻辑与 || 逻辑或 expr ? expr : expr æ¡ä»¶æ“作符 =, *=, /=, %=, +=, -=, <<=, >>=, &=, ^=, |= 赋值 Shell å˜é‡å…许作为æ“作数。表达å¼ä¸­çš„å˜é‡çš„å称会被å–代以值 (强制转æ¢ä¸ºå®šå®½çš„æ•´æ•°)。表达å¼ä¸­çš„å˜é‡ä¸éœ€è¦æ‰“开整数属性。 æ“作符按照优先级进行估值。括å·ä¸­çš„å­è¡¨è¾¾å¼å°†è¢«å…ˆä¼°å€¼ï¼Œå¹¶å¯å–代上述表达å¼è§„则。 退出状æ€ï¼š 如果最åŽä¸€ä¸ª ARG 傿•°ä¼°å€¼ä¸º 0,则 let 返回 1ï¼› å¦åˆ™ let 返回 0。对æ¡ä»¶è¡¨è¾¾å¼è¿›è¡Œä¼°å€¼ã€‚ æ ¹æ® EXPR 表达å¼çš„ä¼°å€¼ä»¥çŠ¶æ€ 0 (真) 或 1 (伪) 退出。 表达å¼å¯ä»¥æ˜¯ä¸€å…ƒæˆ–者二元的。一元表达å¼é€šå¸¸ç”¨äºŽæ£€æµ‹ 文件状æ€ã€‚åŒæ—¶è¿˜æœ‰å­—符串æ“作符和数字比较æ“作符。 文件æ“作符: -a 文件 如果文件存在则为真。 -b 文件 如果文件为å—特殊文件则为真。 -c 文件 如果文件为字符特殊文件则为真。 -d 文件 如果文件为目录则为真。 -e 文件 如果文件存在则为真。 -f 文件 如果文件存在且为常规文件则为真。 -g 文件 如果文件的组属性设置打开则为真。 -h 文件 如果文件为符å·é“¾æŽ¥åˆ™ä¸ºçœŸã€‚ -L 文件 如果文件为符å·é“¾æŽ¥åˆ™ä¸ºçœŸã€‚ -k 文件 如果文件的粘滞 (sticky) ä½è®¾å®šåˆ™ä¸ºçœŸã€‚ -p 文件 如果文件为命å管é“则为真。 -r 文件 如果文件对于您是å¯è¯»çš„则为真。 -s 文件 如果文件存在且ä¸ä¸ºç©ºåˆ™ä¸ºçœŸã€‚ -S 文件 如果文件是套接字则为真。 -t 文件æè¿°ç¬¦ 如果文件æè¿°ç¬¦åœ¨ä¸€ä¸ªç»ˆç«¯ä¸Šæ‰“开则为真。 -u 文件 如果文件的用户数行设置打开则为真。 -w 文件 如果文件对您是å¯å†™çš„则为真 -x 文件 å¦‚æžœæ–‡ä»¶å¯¹æ‚¨æ˜¯å¯æ‰§è¡Œçš„则为真。 -O 文件 如果文件是被您所有的则为真。 -G 文件 如果文件被您的组所有则为真。 -N 文件 如果文件上次被读å–之åŽä¿®æ”¹è¿‡åˆ™ä¸ºçœŸã€‚ FILE1 -nt FILE2 如果 file1 文件新于 file2 文件则为真(æ ¹æ® ä¿®æ”¹æ—¥æœŸ)。 FILE1 -ot FILE2 如果 file1 文件旧于 file2 文件则为真。 FILE1 -ef FILE2 如果 file1 文件是 file2 文件的硬链接则为真。 字符串æ“作符 -z 字符串 如果字符串为空则为真。 -n 字符串 字符串 如果字符串ä¸ä¸ºç©ºåˆ™ä¸ºçœŸã€‚ STRING1 = STRING2 如果 string1 å’Œ string2 字符串相åŒåˆ™ä¸ºçœŸã€‚ STRING1 != STRING2 如果 string1 å’Œ string2 字符串ä¸ç›¸åŒåˆ™ä¸ºçœŸã€‚ STRING1 < STRING2 å¦‚æžœæŒ‰å­—å…¸æŽ’åº string1 在 string2 串之å‰åˆ™ä¸ºçœŸã€‚ STRING1 > STRING2 å¦‚æžœæŒ‰å­—å…¸æŽ’åº string1 在 string2 串之å‰åˆ™ä¸ºçœŸã€‚ å…¶ä»–æ“作符: -o 选项 如果指定 shell 选项å¯ç”¨åˆ™ä¸ºçœŸã€‚ -v VAR 如果指定 Shell å˜é‡ VAR 已赋值则为真。 -R VAR 如果指定 Shell å˜é‡ VAR 已赋值且为å称引用则为真。 ! EXPR å¦‚æžœè¡¨è¾¾å¼ expr 为å‡åˆ™ä¸ºçœŸã€‚ EXPR1 -a EXPR2 如果 expr1 å’Œ expr2 都为真则为真。 EXPR1 -o EXPR2 如果 expr1 å’Œ expr2 有一个为真则为真。 arg1 OP arg2 算术测试。OPæ“作符å¯ä»¥æ˜¯ -eqã€-ne〠-ltã€-leã€-gtã€æˆ– -ge 中的一个。 二元算术æ“作返回真,如果 ARG1 傿•°ç­‰äºŽã€ä¸ç­‰äºŽã€ å°äºŽã€å°äºŽç­‰äºŽã€å¤§äºŽã€æˆ–者大于等于 ARG2 傿•°ã€‚ 退出状æ€ï¼š 如果 EXPR 表达å¼ä¼°å€¼ä¸ºçœŸåˆ™è¿”回æˆåŠŸï¼›å¦‚æžœ EXPR 表达å¼ä¼°å€¼ ä¸ºå‡æˆ–è€…ä½¿ç”¨äº†æ— æ•ˆçš„å‚æ•°åˆ™è¿”回失败。估值æ¡ä»¶è¡¨è¾¾å¼ã€‚ 是内建命令 "test" çš„åŒä¹‰è¯ï¼Œä½†æ˜¯æœ€åŽä¸€ä¸ªå‚数必须是 字符 `]',以匹é…èµ·å§‹çš„ `['。执行一个简å•命令或者显示命令的相关信æ¯ã€‚ 带 ARGS 傿•°è¿è¡Œ COMMAND 命令且抑制 shell 函数查询,或显示 指定的 COMMAND 命令的信æ¯ã€‚å¯ä»¥åœ¨å­˜åœ¨ç›¸åŒå称的函数定义的 情况下被用于å¯åЍç£ç›˜ä¸Šçš„命令。 选项: -p 使用 PATH å˜é‡çš„ä¸€ä¸ªé»˜è®¤å€¼ä»¥ç¡®ä¿æ‰€æœ‰çš„æ ‡å‡†å·¥å…·éƒ½èƒ½è¢«æ‰¾åˆ°ã€‚ -v æ‰“å° COMMAND 命令的æè¿°ï¼Œå’Œ `type' 内建相似 -V æ‰“å°æ¯ä¸ª COMMAND 命令的详细æè¿° é€€å‡ºçŠ¶æ€ è¿”å›ž COMMAND 命令的返回状æ€ï¼Œæˆ–者当找ä¸åˆ° COMMAND å‘½ä»¤æ—¶å¤±è´¥ã€‚å°†å‚æ•°ä½œä¸º shell 命令执行。 å°† ARGs åˆæˆä¸€ä¸ªå­—符串,用结果作为 shell 的输入, 并且执行得到的命令。 退出状æ€ï¼š 以命令的状æ€é€€å‡ºï¼Œæˆ–者在命令为空的情况下返回æˆåŠŸã€‚å½“æµ‹è¯•ä¸åŒè¿‡æ—¶æ‰§è¡Œå‘½ä»¤ã€‚ `until' COMMANDS 命令的最终命令返回状æ€ä¸ä¸º 0 时, 展开并执行 COMMANDS 命令。 退出状æ€ï¼š 返回最åŽä¸€ä¸ªæ‰§è¡Œçš„命令的状æ€ã€‚åªè¦æµ‹è¯•æˆåŠŸå³æ‰§è¡Œå‘½ä»¤ã€‚ åªè¦åœ¨ `while' COMMANDS 中的最终命令返回结果为0,则 展开并执行 COMMANDS 命令。 退出状æ€ï¼š 返回最åŽä¸€ä¸ªæ‰§è¡Œçš„命令的状æ€ã€‚æ ¹æ®æ¡ä»¶æ‰§è¡Œå‘½ä»¤ã€‚ `if COMMANDS'列表被执行。如果退出状æ€ä¸ºé›¶ï¼Œåˆ™æ‰§è¡Œ`then COMMANDS' 列表。å¦åˆ™æŒ‰é¡ºåºæ‰§è¡Œæ¯ä¸ª `elif COMMANDS'列表,并且如果它的退出状æ€ä¸º 零,则执行对应的 `then COMMANDS' 列表并且 if 命令终止。å¦åˆ™å¦‚果存在的 情况下,执行 `else COMMANDS'åˆ—è¡¨ã€‚æ•´ä¸ªç»“æž„çš„é€€å‡ºçŠ¶æ€æ˜¯æœ€åŽä¸€ä¸ªæ‰§è¡Œ 的命令的状æ€ï¼Œæˆ–者如果没有æ¡ä»¶æµ‹è¯•为真的è¯ï¼Œä¸ºé›¶ã€‚ 退出状æ€ï¼š 返回最åŽä¸€ä¸ªæ‰§è¡Œçš„命令的状æ€ã€‚基于模å¼åŒ¹é…æ¥æ‰§è¡Œå‘½ä»¤ã€‚ 基于 PATTERN 模å¼åŒ¹é…çš„è¯ WORD,有选择的执行 COMMANDS 命令。 `|' 用于分隔多个模å¼ã€‚ 退出状æ€ï¼š 返回最åŽä¸€ä¸ªæ‰§è¡Œçš„命令的状æ€ã€‚为列表中的æ¯ä¸ªæˆå‘˜æ‰§è¡Œå‘½ä»¤ã€‚ `for' 循环为列表中的æ¯ä¸ªæˆå‘˜æ‰§è¡Œä¸€ç³»åˆ—的命令。如果没有 `in WORDS ...;'则å‡å®šä½¿ç”¨ `in "$@"'。对于 WORDS ä¸­çš„æ¯ ä¸ªå…ƒç´ ï¼ŒNAME 被设定为该元素,并且执行 COMMANDS 命令。 退出状æ€ï¼š è¿”å›žæœ€åŽæ‰§è¡Œçš„命令的状æ€ã€‚åœ¨å½“å‰ shell 中执行一个文件中的命令。 åœ¨å½“å‰ shell 中读å–并执行 FILENAME 文件中的命令。$PATH å˜é‡ä¸­çš„ æ¡ç›®è¢«ç”¨äºŽå¯»æ‰¾åŒ…å« FILENAME 文件的目录。如果æä¾›äº†ä»»ä½•çš„ ARGUMENTS 傿•°ï¼Œåˆ™å®ƒä»¬å°†æˆä¸º FILENAME 文件执行时的ä½ç½®å‚数。 退出状æ€ï¼š 返回 FILENAME 文件中最åŽä¸€ä¸ªå‘½ä»¤çš„状æ€ï¼›å¦‚æžœ FILENAME 文件ä¸å¯è¯»åˆ™å¤±è´¥ã€‚执行æ¡ä»¶å‘½ä»¤ã€‚ æ ¹æ®æ¡ä»¶è¡¨è¾¾å¼ EXPRESSION 的估值返回状æ€0或1ã€‚è¡¨è¾¾å¼æŒ‰ç…§ `test' å†…å»ºçš„ç›¸åŒæ¡ä»¶ç»„æˆï¼Œæˆ–者å¯ä»¥æœ‰ä¸‹åˆ—æ“作符连接而æˆï¼š ( EXPRESSION ) 返回 EXPRESSION 表达å¼çš„值 ! EXPRESSION 如果 EXPRESSION表达å¼ä¸ºå‡åˆ™ä¸ºçœŸï¼Œå¦åˆ™ä¸ºå‡ EXPR1 && EXPR2 如果 EXPR1 å’Œ EXPR2 表达å¼å‡ä¸ºçœŸåˆ™ä¸ºçœŸï¼Œå¦åˆ™ä¸ºå‡ EXPR1 || EXPR2 如果 EXPR1 å’Œ EXPR2 表达å¼ä¸­æœ‰ä¸€ä¸ªä¸ºçœŸåˆ™ä¸ºçœŸï¼Œå¦åˆ™ä¸ºå‡ 当使用 `==' å’Œ `!=' æ“作符时,æ“作符å³è¾¹çš„字符串被用作模å¼å¹¶ä¸”执行一个 匹é…。当使用 `=~' æ“作符时,æ“作符å³è¾¹çš„å­—ç¬¦ä¸²è¢«å½“ä½œæ­£åˆ™è¡¨è¾¾å¼æ¥è¿›è¡Œ 匹é…。 æ“作符 && å’Œ || å°†ä¸å¯¹ EXPR2 表达å¼è¿›è¡Œä¼°å€¼ï¼Œå¦‚æžœ EXPR1 表达å¼è¶³å¤Ÿç¡®å®š 整个表达å¼çš„值。 退出状æ€ï¼š æ ¹æ® EXPRESSION 的值为0或1。执行 shell 内建。 另傿•° ARGs 执行 SHELL-BUILTIN 内建,并且ä¸åšå‘½ä»¤æŸ¥è¯¢ 在希望以 shell å‡½æ•°çš„å½¢å¼æ¥é‡æ–°å®žçް shell 内建, 并且希望在函数之内执行该 shell 内建的情况下有用处。 退出状æ€ï¼š 以 SHELL-BUILTIN 内建的退出状æ€ä¸ºå‡†ï¼Œæˆ–者如果 SHELL-BUILTIN䏿˜¯ä¸€ä¸ª shell 内建时 为å‡ã€‚.退出 %d退出一个登录 shell. ä»¥çŠ¶æ€ N 退出一个登录 shell。如果ä¸åœ¨ç™»å½• shell 中执行,则 返回一个错误。退出 forã€while 或 until 循环 退出一个 FORã€WHILE 或 UNTIL 循环。如果指定了N,则跳出Né‡ å¾ªçŽ¯ 退出状æ€ï¼š 退出状æ€ä¸º0é™¤éž N ä¸å¤§äºŽæˆ–等于 1。退出shell。 ä»¥çŠ¶æ€ N 退出 shell。 如果 N 被çœç•¥ï¼Œåˆ™é€€å‡ºçŠ¶æ€ ä¸ºæœ€åŽä¸€ä¸ªæ‰§è¡Œçš„命令的退出状æ€ã€‚文件é™åˆ¶æµ®ç‚¹æ•°å¼‚常在 FORMAT 的控制下格å¼åŒ–å¹¶æ‰“å° ARGUMENTS 傿•°ã€‚ 选项: -v var 将输出赋值给 shell å˜é‡ VAR è€Œä¸æ˜¾ç¤ºåœ¨æ ‡å‡†è¾“出上 FORMAT 是包å«ä¸‰ç§å¯¹è±¡çš„字符串:简å•地被拷è´åˆ°æ ‡å‡†è¾“出的普通字符; è¢«å˜æ¢ä¹‹åŽæ‹·è´åˆ°æ ‡å‡†è¾“å…¥çš„è½¬ä¹‰å­—ç¬¦ï¼›ä»¥åŠæ¯ä¸ªéƒ½ä¼šå½±å“åˆ°ä¸‹ä¸ªå‚æ•°çš„æ‰“å°çš„æ ¼å¼åŒ–声明。 在 printf(1) 中æè¿°çš„æ ‡å‡†æŽ§åˆ¶å£°æ˜Žä¹‹å¤–,printf è§£æžï¼š %b æ‰©å±•å¯¹åº”å‚æ•°ä¸­çš„åæ–œæ è½¬ä¹‰åºåˆ— %q 以å¯ä½œä¸º shell 输入的格å¼å¼•ç”¨å‚æ•° %(fmt)T 以 FMT 为供给 strftime(3) 的格å¼è¾“出日期时间字符串 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者写或赋值错误å‘生。GNU bash,版本 %s (%s) GNU bash,版本 %s-(%s) GNU 长选项: 使用 GNU 软件的通用帮助: 将命令组åˆä¸ºä¸€ä¸ªå•元。 è¿è¡Œç»„中的命令集åˆã€‚è¿™æ˜¯å¯¹æ•´ä¸ªå‘½ä»¤é›†åˆ åšé‡å®šå‘的方法之一。 退出状æ€ï¼š 返回最åŽä¸€ä¸ªæ‰§è¡Œçš„命令的状æ€ã€‚HFT 待输入数æ®å·²æŽˆäºˆ HFT 监视模å¼å·²æ’¤é”€ HFT 监视模å¼å·²å®Œæˆ HFT 声音åºåˆ—HOME 未设定挂断没有åå­—ï¼I/O å°±ç»ªéžæ³•的指令信æ¯è¯·æ±‚ä¸­æ–­å·²æ€æ­»è®¸å¯è¯ GPLv3+: GNU GPL 许å¯è¯ç¬¬ä¸‰ç‰ˆæˆ–者更新版本 标记 shell å˜é‡ä¸ºä¸å¯æ”¹å˜ã€‚ 标记æ¯ä¸€ä¸ª NAME å称为åªè¯»ï¼›è¿™äº› NAME å˜é‡çš„值将ä¸å¯ä»¥è¢«åŽç»­çš„赋值 æ“作所改å˜ã€‚如果æä¾›äº† VALUE,则在标记为åªè¯»ä¹‹å‰å°† VALUE 值赋给å˜é‡ã€‚ 选项: -a 指下标数组å˜é‡ -A æŒ‡å…³è”æ•°ç»„æ ‡é‡ -f 指 shell 函数 -p 显示åªè¯»å˜é‡æˆ–函数列表,å–å†³äºŽæ˜¯å¦æä¾›äº† -f 选项 `--' çš„å‚æ•°ç¦ç”¨è¿›ä¸€æ­¥çš„选项处ç†ã€‚ 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者 NAME å称。修改或显示补全选项。 修改æ¯ä¸ª NAME å称的补全选项,或如果没有æä¾› NAME å称,执行当å‰çš„补全。 如果ä¸å¸¦é€‰é¡¹ï¼Œæ‰“å°æ¯ä¸ª NAME å称的补全选项或当å‰çš„补全声明。 选项: -o option 为æ¯ä¸ª NAME å称设定补全选项 option -D 为 "default" 命令补全改å˜é€‰é¡¹ -E 为 "empty" 命令补全改å˜é€‰é¡¹ 使用 `+o' è€Œä¸æ˜¯ `-o' å¯ä»¥å…³é—­æŒ‡å®šçš„选项。 傿•°ï¼š æ¯ä¸ª NAME å称都对应一个之å‰ä»¥é€šè¿‡ `complete' 内建定义了的补全声明的 å‘½ä»¤ã€‚å¦‚æžœä¸æä¾› NAME å称,当å‰ç”Ÿæˆè¡¥å…¨çš„函数必须调用 compopt, 并䏔当剿‰§è¡Œçš„补全生æˆå™¨é€‰é¡¹ä¼šè¢«ä¿®æ”¹ã€‚ 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者 NAME å称没有定义补全声明。修改 shell 资æºé™åˆ¶ã€‚ 在å…许此类控制的系统上,æä¾›å¯¹äºŽ shell åŠå…¶åˆ›å»ºçš„进程所å¯ç”¨çš„ 资æºçš„æŽ§åˆ¶ã€‚ 选项: -S 使用软 (`soft') 资æºé™åˆ¶ -H 使用硬 (`hard') 资æºé™åˆ¶ -a 所有当å‰é™åˆ¶éƒ½è¢«æŠ¥å‘Š -b 套接字缓存尺寸 -c 创建的核文件的最大尺寸 -d 一个进程的数æ®åŒºçš„æœ€å¤§å°ºå¯¸ -e 最高的调度优先级 (`nice') -f 有 shell åŠå…¶å­è¿›ç¨‹å¯ä»¥å†™çš„æœ€å¤§æ–‡ä»¶å°ºå¯¸ -i 最多的å¯ä»¥æŒ‚èµ·çš„ä¿¡å·æ•° -k 分é…给此进程的最大 kqueue æ•°é‡ -l 一个进程å¯ä»¥é”定的最大内存尺寸 -m 最大的内存进驻尺寸 -n 最多的打开的文件æè¿°ç¬¦ä¸ªæ•° -p 管é“缓冲区尺寸 -q POSIX ä¿¡æ¯é˜Ÿåˆ—的最大字节数 -r 实时调度的最大优先级 -s 最大栈尺寸 -t 最大的CPU时间,以秒为å•ä½ -u 最大用户进程数 -v 虚拟内存尺寸 -x æœ€å¤§çš„æ–‡ä»¶é”æ•°é‡ -P æœ€å¤§ä¼ªç»ˆç«¯æ•°é‡ -T æœ€å¤§çº¿ç¨‹æ•°é‡ å¹¶éžæ‰€æœ‰é€‰é¡¹åœ¨æ‰€æœ‰ç³»ç»Ÿä¸Šå¯ç”¨ã€‚ 如果æä¾›äº† LIMIT å˜é‡ï¼Œåˆ™å®ƒä¸ºæŒ‡å®šèµ„æºçš„æ–°çš„值;特别的 LIMIT 值为 `soft'ã€`hard'å’Œ`unlimited',分别表示当å‰çš„软é™åˆ¶ï¼Œç¡¬é™åˆ¶å’Œæ— é™åˆ¶ã€‚ å¦åˆ™æ‰“å°æŒ‡å®šèµ„æºçš„当å‰é™åˆ¶å€¼ï¼Œä¸å¸¦é€‰é¡¹åˆ™å‡å®šä¸º -f å–值都是 1024 字节为å•ä½ï¼Œé™¤äº† -t 以秒为å•ä½ï¼Œ-p 以 512 字节递增, -u 为无范围的进程数é‡ã€‚ 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者错误å‘生。将任务移至å‰å°ã€‚ 将以 JOB_SPEC 标识的任务放至å‰å°ï¼Œä½¿å…¶æˆä¸º 当å‰ä»»åŠ¡ã€‚å¦‚æžœ JOB_SPEC ä¸å­˜åœ¨ï¼Œshell 观念中的当å‰ä»»åŠ¡ 将被使用。 退出状æ€ï¼š 放至å‰å°çš„命令状æ€ï¼Œæˆ–者当错误å‘生时为失败。移动任务至åŽå°ã€‚ å°† JOB_SPEC 标识的任务放至åŽå°ï¼Œå°±åƒå®ƒä»¬ 是带 `&' å¯åŠ¨çš„ä¸€æ ·ã€‚å¦‚æžœ JOB_SPEC ä¸å­˜åœ¨ï¼Œshell 观念中的 当å‰ä»»åŠ¡å°†ä¼šè¢«ä½¿ç”¨ã€‚ 退出状æ€ï¼š 返回æˆåŠŸé™¤éžä»»åŠ¡ç®¡ç†æ²¡æœ‰å¯ç”¨æˆ–者错误å‘生。空的命令。 没有效果; 此命令ä¸åšä»»ä½•æ“作。 退出状æ€ï¼š 总是æˆåŠŸã€‚OLDPWD 未设定解æžé€‰é¡¹å‚数。 Getopts 被 shell 过程用于解æžå¯å®šä½çš„傿•°ä½œä¸ºé€‰é¡¹ã€‚ OPTSTRING 字符串包å«å¾…识别的选项字æ¯ï¼›å¦‚果一个字æ¯åŽé¢è·Ÿ ç€åˆ†å·ï¼Œåˆ™è¯¥é€‰é¡¹éœ€è¦ä¸€ä¸ªå‚æ•°ï¼Œè€Œè¯¥å‚æ•°åº”用空格与选项分开。 æ¯æ¬¡å¯åŠ¨æ—¶ï¼Œgetopts 会将下一个选项放到 shell å˜é‡ $name 中,如果 name å˜é‡ä¸å­˜åœ¨åˆ™å…ˆå°†å…¶åˆå§‹åŒ–,而下一个待处 ç†çš„傿•°åºå·æ”¾å…¥ shell å˜é‡ OPTIND 中。OPTIND å˜é‡åœ¨æ¯ 次 shell 或者 shell 脚本å¯åŠ¨æ—¶éƒ½è¢«åˆå§‹åŒ–为1ã€‚å½“ä¸€ä¸ªé€‰é¡¹è¦ æ±‚æœ‰ä¸€ä¸ªå‚æ•°æ—¶ï¼Œgetopts 将傿•°æ”¾å…¥ shell å˜é‡ OPTARG 中。 getopts æœ‰ä¸¤ç§æŠ¥å‘Šé”™è¯¯çš„æ–¹æ³•ã€‚å¦‚æžœ OPTSTRING å˜é‡çš„第 一个字符是冒å·ï¼Œgetopts ä½¿ç”¨æ²‰é»˜é”™è¯¯æŠ¥å‘Šã€‚åœ¨è¿™ç§æ¨¡å¼ 下,ä¸ä¼šæ‰“å°é”™è¯¯æ¶ˆæ¯ã€‚如果看到了一个无效的选项, getopts 将找到的选项字符放至 OPTARG å˜é‡ä¸­ã€‚如果一个必 须的选项没有找到,getopts 放一个 ':' 到 NAME å˜é‡ä¸­å¹¶ä¸”设 ç½® OPTARG å˜é‡ä¸ºæ‰¾åˆ°çš„选项字符。如果 getopts ä¸åœ¨æ²‰é»˜æ¨¡ å¼ä¸­ï¼Œå¹¶ä¸”é‡åˆ°äº†ä¸€ä¸ªæ— æ•ˆçš„选项,getopts 放置一个 '?' 到 NAME å˜é‡ä¸­å¹¶ä¸”å–æ¶ˆè®¾å®š OPTARGå˜é‡ã€‚如果必须的选项没有找到, 一个'?'会被放入 NAMEå˜é‡ä¸­ï¼ŒOPTARG å°†è¢«å–æ¶ˆè®¾å®šï¼Œå¹¶ä¸”会 打å°ä¸€ä¸ªè¯Šæ–­ä¿¡æ¯ã€‚ 如果 shell å˜é‡ OPTERR 的值为0,getopts ç¦ç”¨ 错误信æ¯çš„æ‰“å°ï¼Œå³ä½¿ OPTSTRING å˜é‡çš„ç¬¬ä¸€ä¸ªå­—ç¬¦ä¸æ˜¯ä¸€ 个冒å·ã€‚OPTERR 的默认值为1. Getopts 通常解æžå¯å®šä½çš„傿•°($0 - $9),ä¸è¿‡å¦‚æžœæä¾›äº† æ›´å¤šçš„å‚æ•°ï¼Œå®ƒä»¬å而会被解æžã€‚ 退出状æ€ï¼š 如果一个选项被找到则返回æˆåŠŸï¼›å¦‚æžœé‡åˆ°äº†é€‰é¡¹çš„结尾或者 有错误å‘生则返回失败。打å°å½“å‰å·¥ä½œç›®å½•çš„å字。 选项: -L æ‰“å° $PWD å˜é‡çš„值,如果它包å«äº†å½“å‰çš„工作目录 -P 打å°å½“å‰çš„物ç†è·¯å¾„,ä¸å¸¦æœ‰ä»»ä½•的符å·é“¾æŽ¥ 默认情况下,`pwd' 的行为和带 `-L' 选项一致 退出状æ€ï¼š 除éžä½¿ç”¨äº†æ— æ•ˆé€‰é¡¹æˆ–者当å‰ç›®å½•ä¸å¯è¯»ï¼Œå¦åˆ™è¿”回状æ€ä¸º0。退出从标准输入读å–一行并将其分为ä¸åŒçš„域。 从标准输入读å–å•独的一行,或者如果使用了 -u 选项,从文件æè¿°ç¬¦ FD 中读å–。 该行被分割æˆåŸŸï¼Œå¦‚åŒè¯è¯­åˆ†å‰²ä¸€æ ·ï¼Œå¹¶ä¸”第一个è¯è¢«èµ‹å€¼ç»™ç¬¬ä¸€ä¸ª NAME å˜é‡ï¼Œç¬¬äºŒ 个è¯è¢«èµ‹å€¼ç»™ç¬¬äºŒä¸ª NAME å˜é‡ï¼Œå¦‚此继续,直到剩下所有的è¯è¢«èµ‹å€¼ç»™æœ€åŽä¸€ä¸ª NAME å˜é‡ã€‚åªæœ‰ $IFS å˜é‡ä¸­çš„字符被认作是è¯è¯­åˆ†éš”符。 如果没有æä¾› NAME å˜é‡ï¼Œåˆ™è¯»å–的行被存放在 REPLY å˜é‡ä¸­ã€‚ 选项: -a array å°†è¯è¯­èµ‹å€¼ç»™ ARRAY 数组å˜é‡çš„åºåˆ—下标æˆå‘˜ï¼Œä»Žé›¶å¼€å§‹ã€‚ -d delim æŒç»­è¯»å–直到读入 DELIM å˜é‡ä¸­çš„ç¬¬ä¸€ä¸ªå­—ç¬¦ï¼Œè€Œä¸æ˜¯æ¢è¡Œç¬¦ -e åœ¨ä¸€ä¸ªäº¤äº’å¼ shell 中使用 Readline 获å–行 -i text 使用 TEXT 文本作为 Readline çš„åˆå§‹æ–‡å­— -n nchars è¯»å– nchars 个字符之åŽè¿”å›žï¼Œè€Œä¸æ˜¯ç­‰åˆ°è¯»å–æ¢è¡Œç¬¦ã€‚ 但是分隔符ä»ç„¶æœ‰æ•ˆï¼Œå¦‚æžœé‡åˆ°åˆ†éš”符之å‰è¯»å–了ä¸è¶³ nchars 个字符。 -N nchars 在准确读å–了 nchars 个字符之åŽè¿”回,除éžé‡åˆ°æ–‡ä»¶ç»“æŸç¬¦æˆ–者读超时, 任何的分隔符都被忽略 -p prompt 在å°è¯•读å–之å‰è¾“出 PROMPT æç¤ºç¬¦å¹¶ä¸”ä¸å¸¦ æ¢è¡Œç¬¦ -r ä¸å…è®¸åæ–œæ è½¬ä¹‰ä»»ä½•字符 -s 䏿˜¾ç¤ºç»ˆç«¯çš„任何输入 -t timeout 如果在 TIMEOUT 秒内没有读å–一个完整的行则超时并且返回失败。 TMOUT å˜é‡çš„值是默认的超时时间。 TIMEOUT å¯ä»¥æ˜¯å°æ•°ã€‚如果 TIMEOUT 是 0,那么仅当在指定的文件æè¿°ç¬¦ä¸Š 输入有效的时候,read æ‰è¿”回æˆåŠŸã€‚ 如果超过了超时时间,则返回状æ€ç å¤§äºŽ 128 -u fd 从文件æè¿°ç¬¦ FD 中读å–ï¼Œè€Œä¸æ˜¯æ ‡å‡†è¾“å…¥ 退出状æ€ï¼š 返回ç ä¸ºé›¶ï¼Œé™¤éžé‡åˆ°äº†æ–‡ä»¶ç»“æŸç¬¦ï¼Œè¯»è¶…时,或者无效的文 ä»¶æè¿°ç¬¦ä½œä¸ºå‚数传递给了 -u 选项。从一个文件中读å–行到数组å˜é‡ä¸­ 一个 `mapfile'çš„åŒä¹‰è¯ã€‚从标准输入读å–行到下标数组å˜é‡ä¸­ã€‚ 从标准输入读å–行到下标数组å˜é‡ ARRAY 中,或者如果使用了 -u 选项, 从文件æè¿°ç¬¦ FD 中读å–。MAPFILE å˜é‡æ˜¯é»˜è®¤çš„ ARRAY å˜é‡ã€‚ 选项: -d delim 使用 DELIM è€Œéžæ¢è¡Œç¬¦æ–­è¡Œ -n count æœ€å¤šæ‹·è´ COUNT 行,如果 COUNT 为 0ï¼Œåˆ™æ‹·è´æ‰€æœ‰è¡Œã€‚ -O origin 从下标 ORIGIN 开始 赋值给 ARRAY å˜é‡ã€‚默认下标是0. -s count 丢弃最先读å–çš„ COUNT 行。 -t 从读å–çš„æ¯è¡Œæœ«å°¾åˆ é™¤ä¸€ä¸ªæ¢è¡Œç¬¦ã€‚ -u fd 从文件æè¿°ç¬¦ FD 中读å–è¡Œè€Œä¸æ˜¯æ ‡å‡†è¾“入。 -C callback æ¯ QUANTUM 次读行之åŽå¯¹ CALLBACK 回调进行估值。 -c quantum å®šä¹‰æ¯æ¬¡è°ƒç”¨ CALLBACK 回调之间读å–的行数。 傿•°ï¼š ARRAY 存储数æ®ä½¿ç”¨çš„æ•°ç»„å˜é‡ 如果使用了 -C 而没有 -c,默认的é‡å­æ˜¯5000。当对 CALLBACK 估值时, 下一个将被赋值的数组元素的下标作为é¢å¤–傿•°è¢«ä¼ é€’。 å¦‚æžœæ²¡æœ‰æ˜¾å¼æŒ‡å®šèµ·å§‹ä¸‹æ ‡ï¼Œmapfile å°†åœ¨èµ‹å€¼å‰æ¸…空 ARRAY å˜é‡ã€‚ 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项,或者 ARRAY å˜é‡åªè¯»æˆ–䏿˜¯ä¸‹æ ‡æ•°ç»„。记录é”è®°ä½æˆ–显示程åºä½ç½®ã€‚ ç¡®å®šå¹¶è®°ä½æ¯ä¸€ä¸ªç»™å®š NAME å称的命令的完整路径。 å¦‚æžœä¸æä¾›å‚æ•°ï¼Œåˆ™æ˜¾ç¤ºå·²ç»è®°ä½çš„命令的信æ¯ã€‚ 选项: -d 忘记æ¯ä¸€ä¸ªå·²ç»è®°ä½çš„ NAME çš„ä½ç½® -l 以å¯ä½œä¸ºè¾“å…¥é‡ç”¨çš„æ ¼å¼æ˜¾ç¤º -p pathname 使用 pathname 路径作为 NAME 命令的全路径 -r 忘记所有记ä½çš„ä½ç½® -t 打å°è®°ä½çš„æ¯ä¸€ä¸ª NAME åç§°çš„ä½ç½®ï¼Œå¦‚果指定了多个 NAME å称,则æ¯ä¸ªä½ç½®å‰é¢ä¼šåŠ ä¸Šç›¸åº”çš„ NAME åç§° 傿•°ï¼š NAME æ¯ä¸ª NAME å称会在 $PATH 路径å˜é‡ä¸­è¢«æœç´¢ï¼Œå¹¶ä¸”添加到记ä½çš„命令 列表中。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éž NAME 命令没有找到或者使用了无效的选项。从栈中删除目录。 从目录栈中删除æ¡ç›®ã€‚ä¸å¸¦å‚数时,删除栈顶目录,并改å˜è‡³æ–°çš„æ ˆ 顶目录。 选项: -n æŠ‘åˆ¶ä»Žæ ˆä¸­åˆ é™¤ç›®å½•æ—¶é€šå¸¸çš„ç›®å½•å˜æ¢æ“作,从而仅对栈 进行æ“作。 傿•°ï¼š +N 删除第 N 个目录 (`dirs' 显示的目录列表中左起,从零开始)。 例如: `popd +0' 删除第一个目录,`popd +1' 删除第二个。 -N 删除第 N 个目录 (`dirs' 显示的目录列表中å³èµ·ï¼Œä»Žé›¶å¼€å§‹)。 例如: `popd -0' 删除最åŽä¸€ä¸ªç›®å½•,,`popd -1' 删除倒数第二个。 `dirs' 内建显示目录栈。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„傿•°æˆ–è€…ç›®å½•å˜æ¢å¤±è´¥ã€‚从别å定义列表中删除æ¯ä¸€ä¸ªâ€œåå­—â€ã€‚ 选项: -a 删除所有的别å定义。 返回æˆåŠŸï¼Œé™¤éžâ€œåå­—â€œä¸æ˜¯ä¸€ä¸ªå·²å­˜åœ¨çš„别åã€‚ä»Žå½“å‰ shell 中删除任务。 从活动任务表中删除æ¯ä¸€ä¸ª JOBSPEC 傿•°ã€‚ä¸å¸¦ä»»ä½• JOBSPEC 傿•°æ—¶ï¼Œshell 使用观念中的当å‰ä»»åŠ¡ã€‚ 选项: -a å¦‚æžœä¸æä¾› JOBSPEC 傿•°ï¼Œåˆ™åˆ é™¤æ‰€æœ‰ä»»åŠ¡ -h 标识æ¯ä¸ª JOBSPEC 任务,从而当 shell 接收到 SIGHUP ä¿¡å·æ—¶ä¸å‘é€ SIGHUP 给指定任务 -r 仅删除è¿è¡Œä¸­çš„任务 退出状æ€ï¼š 返回æˆåŠŸé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者 JOBSPEC 声明。从目录栈中删除æ¡ç›®ã€‚ä¸å¸¦å‚数时,删除 栈顶目录并改å˜è‡³æ–°çš„æ ˆé¡¶ç›®å½•。 选项: -n 抑制从栈中删除目录时通常的改å˜ç›®å½•æ“作, ä»Žè€Œåªæœ‰æ ˆè¢«æ“作。 傿•°ï¼š +N 从 `dirs' 输出的列表中, 删除左起第N个æ¡ç›®ï¼Œè®¡æ•°ä»Ž0开始。例如:`popd +0' 删除第一个目录,`popd +1' 删除第二个。 -N 从 `dirs' 输出的列表中, 删除å³èµ·ç¬¬N个æ¡ç›®ï¼Œè®¡æ•°ä»Ž0开始,例如:`popd -0' 删除最åŽä¸€ä¸ªæ¡ç›®ï¼Œ`popd -1' 删除倒数第二个。 `dirs' 内建å˜é‡æ˜¾ç¤ºç›®å½•æ ˆã€‚ä½¿ç”¨æŒ‡å®šå‘½ä»¤æ›¿æ¢ shell。 执行 COMMAND å‘½ä»¤ï¼Œä»¥æŒ‡å®šçš„ç¨‹åºæ›¿æ¢è¿™ä¸ª shell。 ARGUMENTS 傿•°æˆä¸º COMMANDå‘½ä»¤çš„å‚æ•°ã€‚如果 没有指定COMMAND 命令,则任何的é‡å®šå‘åœ¨å½“å‰ shell 中生效。 选项: -a åç§° 作为第0ä¸ªå‚æ•°ä¼ é€’ç»™ COMMAND 命令 -c 在一个空环境中执行 COMMAND 命令 -l 在COMMAND 命令的第0ä¸ªå‚æ•°ä¸­åŠ ä¸€ä¸ªçŸ­çº¿ 如果命令ä¸èƒ½è¢«æ‰§è¡Œï¼Œåˆ™é€€å‡ºä¸€ä¸ªéžäº¤äº’å¼çš„ shellï¼Œé™¤éž shell 选项`execfail' å·²ç»è®¾å®šã€‚ 退出状æ€ï¼š 返回æˆåŠŸé™¤éž COMMAND 命令没有找到或者出现一个é‡å®šå‘é”™è¯¯ã€‚æŠ¥å‘Šç®¡é“æ‰§è¡Œçš„æ¶ˆè€—时间。 执行 PIPELINE å¹¶ä¸”æ‰“å° PIPELINE 终结时实际时间ã€ç”¨æˆ· CPU 时间和系统 CPU 时间的总结。 选项: -p 用å¯è¿ç§»çš„ POSIX æ ¼å¼æ‰“å°ç”¨æ—¶æ€»ç»“。 TIMEFORMAT å˜é‡çš„值被作为输出格å¼ã€‚ 退出状æ€ï¼š 返回状æ€å³PIPELINE 的返回状æ€ã€‚ç»§ç»­ forã€while 或 until 循环。 ç»§ç»­å½“å‰ FORã€WHILE 或 UNTIL 循环的下一步。 如果指定了 N, 则继续当å‰çš„第 N é‡å¾ªçŽ¯ã€‚ 退出状æ€ï¼š 退出状æ€ä¸º 0 é™¤éž N ä¸å¤§äºŽæˆ–等于1。在å‰å°ç»§ç»­ä»»åŠ¡ 对于 JOB_SPEC 傿•°æ¥è¯´å’Œ `fg' 命令等åŒã€‚继续一个 åœæ­¢çš„æˆ–者åŽå°ä»»åŠ¡ã€‚JOB_SPEC å¯ä»¥æŒ‡å®šä¸€ä¸ªä»»åŠ¡ å字或任务å·ã€‚在 JOB_SPEC åŽåŠ ä¸Šä¸€ä¸ª `&' 将会把 任务放至åŽå°ï¼Œå°±åƒä»»åŠ¡å£°æ˜Žè¢«ä½œä¸º `bg' å‘½ä»¤çš„å‚æ•° 执行一样。 退出状æ€ï¼š 返回被继续的任务的状æ€ã€‚返回一个æˆåŠŸç»“æžœã€‚ 退出状æ€ï¼š 总是æˆåŠŸè¿”å›žä¸€ä¸ªä¸æˆåŠŸçš„ç»“æžœã€‚ 退出状æ€ï¼š 总是失败。从一个 shell 函数返回。 使一个函数或者被引用的脚本以指定的返回值 N 退出。 如果 N 被çœç•¥ï¼Œåˆ™è¿”回状æ€å°±æ˜¯ 函数或脚本中的最åŽä¸€ä¸ªæ‰§è¡Œçš„命令的状æ€ã€‚ 退出状æ€ï¼š 返回 N,或者如果 shell ä¸åœ¨æ‰§è¡Œä¸€ä¸ªå‡½æ•°æˆ–引用脚本时,失败。返回当å‰å­è°ƒç”¨çš„上下文。 ä¸å¸¦æœ‰ EXPR 时,返回 "$line $filename"。带有 EXPR 时,返回 "$line $subroutine $filename";这个é¢å¤–的信æ¯å¯ä»¥è¢«ç”¨äºŽæä¾› 栈追踪。 EXPR 的值 显示了到当å‰è°ƒç”¨å¸§éœ€è¦å›žåŽ»å¤šå°‘ä¸ªè°ƒç”¨å¸§ï¼›é¡¶éƒ¨å¸§ 是第 0 帧。 退出状æ€ï¼š é™¤éž shell ä¸åœ¨æ‰§è¡Œä¸€ä¸ª shell 函数或者 EXPR 无效,å¦åˆ™è¿”回结 果为0。返回当å‰å­ä¾‹ç¨‹è°ƒç”¨çš„上下文 ä¸å¸¦ EXPR 时,返回è¿è¡Œä¸­æ®µé”™è¯¯ä»Žåˆ—表中选å–è¯å¹¶ä¸”执行命令。 WORDS å˜é‡è¢«å±•开,生æˆä¸€ä¸ªè¯çš„列表。展开的è¯é›†åˆè¢«æ‰“å° åœ¨æ ‡å‡†é”™è¯¯è¾“å‡ºè®¾å¤‡ä¸Šï¼Œæ¯ä¸ªä»¥ä¸€ä¸ªæ•°å­—åšå‰ç¼€ã€‚如果没有 `in WORDS' 则å‡å®šä½¿ç”¨`in "$@"'。PS3æç¤ºç¬¦ä¼šè¢«æ˜¾ç¤ºå¹¶ä¸”从标准输入读入一行 如果该行由被显示的è¯å¯¹åº”的数字组æˆï¼Œåˆ™ NAME å˜é‡è¢«è®¾å®šä¸ºç›¸åº” çš„è¯ã€‚如果行为空,则 WORDS å˜é‡å’Œæç¤ºç¬¦è¢«é‡æ–°æ˜¾ç¤ºã€‚如果读å–了 文件结æŸç¬¦ï¼Œåˆ™å‘½ä»¤å®Œæˆã€‚读入任何其他的值会导致 NAME å˜é‡è¢«è®¾å®š 为空。读入的行被存放在å˜é‡ REPLY 中。COMMANDS å‘½ä»¤åœ¨æ¯æ¬¡é€‰æ‹© ä¹‹åŽæ‰§è¡Œç›´åˆ°æ‰§è¡Œä¸€ä¸ª break 命令。 退出状æ€ï¼š 返回最åŽä¸€ä¸ªæ‰§è¡Œçš„命令的状æ€ã€‚设定 Readline 键绑定和å˜é‡ã€‚ 绑定一个键åºåˆ—到一个 Readline 函数或者å®ï¼Œæˆ–者设定一个 Readline å˜é‡ã€‚éžé€‰é¡¹å‚数的语法和 ~/.inputrc 文件中的等 åŒï¼Œä½†æ˜¯å¿…é¡»ä½œä¸ºä¸€ä¸ªå‚æ•°è¢«ä¼ é€’, 例如,bind '"\C-x\C-r": re-read-init-file'. 选项: -m 键映射 在此命令执行过程中使用指定的键映射。 å¯è¢«æŽ¥å—的键映射å字有 emacsã€emacs-standardã€emacs-meta〠emacs-ctlxã€viã€vi-moveã€vi-commandã€å’Œ vi-insert。 -l 列出函数å称。 -P 列出函数å称和绑定。 -p 以å¯ä»¥é‡æ–°ç”¨ä½œè¾“入的格å¼åˆ—出函数å称和绑定。 -S 列出å¯ä»¥å¯åЍå®çš„é”®åºåˆ—以åŠå®ƒä»¬çš„值 -s 以å¯ä»¥é‡æ–°ç”¨ä½œè¾“入的格å¼åˆ—出å¯ä»¥å¯åЍå®çš„键以åŠå®ƒä»¬çš„值。 -V 列出å˜é‡åæˆå’Œå®ƒä»¬çš„值 -v 以å¯ä»¥é‡æ–°ç”¨ä½œè¾“入的格å¼åˆ—出å˜é‡çš„å称和它们的值 -q å‡½æ•°å æŸ¥è¯¢æŒ‡å®šçš„函数å¯ä»¥ç”±å“ªäº›é”®å¯åŠ¨ã€‚ -u 函数å å绑定所有绑定至指定函数的键。 -r é”®åºåˆ— å–æ¶ˆæŒ‡å®šé”®åºåˆ—的绑定。 -f 文件å 从指定文件中读å–键绑定。 -x é”®åºåˆ—:shell命令 当指定的键åºåˆ—被输入时,执行指定的 shell 命令。 -X 以å¯è¢«é‡ç”¨çš„å½¢å¼åˆ—出用 -x 绑定的键åºåˆ—和命令。 退出状æ€ï¼š 除éžä½¿ç”¨äº†æ— æ³•辨认的选项或者错误å‘生,å¦åˆ™è¿”回0.è®¾å®šå’Œå–æ¶ˆè®¾å®š shell 选项。 æ”¹å˜æ¯ä¸ª shell 选项 OPTNAME的设定。ä¸å¸¦å‚æ•° 时,列出所有 shell 选项并标注æ¯ä¸€ä¸ªé€‰é¡¹æ˜¯å¦è¢« 设定。 选项: -o é™åˆ¶ OPTNAME 为定义用于`set -o' 的选项 -p æ‰“å°æ¯ä¸ª shell 选项并标注它的状æ€ã€‚ -q 抑制输出 -s å¯ç”¨(设定)æ¯ä¸ª OPTNAME 选项 -u ç¦ç”¨(å–æ¶ˆè®¾å®š)æ¯ä¸ª OPTNAME 选项 退出状æ€ï¼š 如果 OPTNAME 选项被å¯ç”¨åˆ™è¿”回æˆåŠŸï¼›å¦‚æžœæ˜¯ 无效的选项或OPTNAME 被ç¦ç”¨åˆ™å¤±è´¥ã€‚为 shell å˜é‡è®¾å®šå¯¼å‡ºå±žæ€§ã€‚ 标记æ¯ä¸ª NAME å称为自动导出到åŽç»­å‘½ä»¤æ‰§è¡Œçš„环境。如果æä¾›äº† VALUE 则导出å‰å°† VALUE 作为赋值。 选项: -f 指 shell 函数 -n 删除æ¯ä¸ª NAME å称的导出属性 -p 显示所有导出的å˜é‡å’Œå‡½æ•°çš„列表 `--' çš„å‚æ•°ç¦ç”¨è¿›ä¸€æ­¥çš„选项处ç†ã€‚ 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者 NAME å称。设定å˜é‡å€¼å’Œå±žæ€§ã€‚ 声明å˜é‡å¹¶ä¸”赋予它们属性。如果没用给定å称, 则显示所有å˜é‡çš„属性和值。 选项: -f é™åˆ¶åŠ¨ä½œæˆ–æ˜¾ç¤ºä¸ºåªå‡½æ•°å称和定义 -F é™åˆ¶ä»…显示函数åç§° (以åŠè¡Œå·å’Œæºæ–‡ä»¶å,当调试时) -g 当用于 shell 函数内时创建全局å˜é‡; å¦åˆ™å¿½ç•¥ -p 显示æ¯ä¸ª NAME å˜é‡çš„属性和值 设定属性的选项: -a 使 NAME æˆä¸ºä¸‹æ ‡æ•°ç»„ (如果支æŒ) -A 使 NAME æˆä¸ºå…³è”数组 (如果支æŒ) -i 使 NAME 带有 `integer' (æ•´æ•°)属性 -l å°† NAME 在赋值时转为å°å†™ -n 使 NAME æˆä¸ºæŒ‡å‘一个以其值为åç§°çš„å˜é‡çš„引用 -r å°† NAME å˜ä¸ºåªè¯» -t 使 NAME 带有 `trace' (追踪)属性 -u å°† NAME 在赋值时转为大写 -x å°† NAME 导出 用 `+' 代替 `-' 会关闭指定选项。 带有整数属性的å˜é‡åœ¨èµ‹å€¼æ—¶å°†ä½¿ç”¨ç®—术估值(è§ `let' 命令) 在函数中使用时,`declare' 使 NAME æˆä¸ºæœ¬åœ°å˜é‡ï¼Œå’Œ `local' 命令一致。`-g' 选项抑制此行为。 退出状æ€ï¼š 返回æˆåŠŸé™¤éžä½¿ç”¨äº†æ— æ•ˆé€‰é¡¹æˆ–者å‘生错误。Shell 命令匹é…关键字 `Shell 选项: ç§»ä½ä½ç½®å‚数。 é‡å‘½åä½ç½®å‚æ•° $N+1ã€$N+2 ... 到 $1ã€$2 ... 如果没有给定 N, 则å‡è®¾ä¸º1. 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éž N 为负或者大于 $#ã€‚ä¿¡å· %d声明 readline 如何完æˆè¯»å–傿•°ã€‚ 声明对于æ¯ä¸€ä¸ª NAME å称如何完æˆè¯»å–傿•°ã€‚如果ä¸å¸¦é€‰é¡¹ï¼Œ 现有的补全声明会以å¯ä»¥é‡ç”¨ä¸ºè¾“å…¥çš„æ ¼å¼æ‰“å°å‡ºæ¥ã€‚ 选项: -p 以å¯é‡ç”¨çš„æ ¼å¼æ‰“å°çŽ°æœ‰çš„è¡¥å…¨å£°æ˜Žã€‚ -r 对于æ¯ä¸ª NAME å称删除补全声明,或者如果没有æä¾› NAME å称,删除所有的补全声明。 -D 对于没有补全声明定义的命令,设定默认的补全动作 -E 对于 "empty" 命令设定补全动作,—— 对于空行的补全。 å°è¯•补全时,按照上述大写字æ¯é€‰é¡¹çš„顺åºè¿›è¡ŒåŠ¨ä½œã€‚-D 选项优先 级高于 -E 选项。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者错误å‘ç”Ÿã€‚å·²åœæ­¢å·²åœæ­¢(ä¿¡å·)å·²åœæ­¢(tty 输入)å·²åœæ­¢(tty 输出)å·²åœæ­¢(%s)挂起 shell 执行。 挂起 shell 的执行直到收到 SIGCONT ä¿¡å·ã€‚ 登录 shell ä¸å¯ä»¥è¢«æŒ‚起,除éžå¼ºåˆ¶æ‰§è¡Œã€‚ 选项: -f 强制挂起,å³ä½¿æ˜¯ç™»å½• shell。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžæ²¡æœ‰å¯ç”¨ä»»åŠ¡æŽ§åˆ¶æˆ–è€…æœ‰é”™è¯¯å‘生。时间格å¼: `%c': 无效的格å¼å­—符已终止%s 中的邮件已被阅读 有è¿è¡Œä¸­çš„任务。 æœ‰åœæ­¢çš„任务。 在法律许å¯çš„æƒ…å†µä¸‹ç‰¹æ­¤æ˜Žç¤ºï¼Œæœ¬è½¯ä»¶ä¸æä¾›ä»»ä½•æ‹…ä¿ã€‚这些 shell 命令是内部定义的。请输入 `help' 以获å–一个列表。 输入 `help åç§°' 以得到有关函数`åç§°'的更多信æ¯ã€‚ 使用 `info bash' æ¥èŽ·å¾—å…³äºŽ shell 的更多一般性信æ¯ã€‚ 使用 `man -k' 或 `info' æ¥èŽ·å–ä¸åœ¨åˆ—表中的命令的更多信æ¯ã€‚ åç§°æ—边的星å·(*)表示该命令被ç¦ç”¨ã€‚ 本软件是自由软件,您å¯ä»¥è‡ªç”±åœ°æ›´æ”¹å’Œé‡æ–°å‘布。对信å·å’Œå…¶ä»–事件设陷阱。 定义一个处ç†å™¨ï¼Œåœ¨ shell 接收到信å·å’Œå…¶ä»–æ¡ä»¶ä¸‹æ‰§è¡Œã€‚ ARG 傿•°æ˜¯å½“ shell 接收到 SIGNAL_SPEC ä¿¡å·æ—¶è¯»å–和执行的命令。 如果没有指定 ARG 傿•° (并且åªç»™å‡ºä¸€ä¸ª SIGNAL_SPEC ä¿¡å·) 或者 ARG 傿•°ä¸º `-',æ¯ä¸€ä¸ªæŒ‡å®šçš„傿•°ä¼šè¢«é‡ç½®ä¸ºåŽŸå§‹å€¼ã€‚å¦‚æžœ ARG 傿•°æ˜¯ä¸€ä¸ªç©ºä¸²ï¼Œåˆ™æ¯ä¸€ä¸ª SIGNAL_SPEC ä¿¡å·ä¼šè¢« shell 和它å¯åŠ¨çš„å‘½ä»¤å¿½ç•¥ã€‚ 如果一个 SIGNAL_SPEC ä¿¡å·æ˜¯ EXIT (0) ,则 ARG 命令会在 shell 退出时被 执行。如果一个 SIGNAL_SPEC ä¿¡å·æ˜¯ DEBUG,则 ARG命令会在æ¯ä¸€ä¸ªç®€å•命 令之剿‰§è¡Œã€‚ å¦‚æžœä¸æä¾›å‚æ•°ï¼Œtrap 打å°åˆ—表显示æ¯ä¸€ä¸ªä¸Žæ¯ä¸€ä¸ªä¿¡å·ç›¸å…³è”的命令。 选项: -l 打å°ä¸€ä¸ªä¿¡å·å称和它们对应的编å·çš„列表 -p 打å°ä¸Žæ¯ä¸ª SIGNAL_SPEC ä¿¡å·ç›¸å…³è”的陷阱命令 æ¯ä¸€ä¸ª SIGNAL_SPEC ä¿¡å·å¯ä»¥æ˜¯ 中的信å·å称或者信å·ç¼–å·ã€‚ ä¿¡å·å称大å°å†™æ•感且å¯ä»¥ä½¿ç”¨ SIG å‰ç¼€ã€‚ä¿¡å·å¯ç”¨ "kill -ä¿¡å· $$" å‘é€ç»™ shell。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者 SIGSPEC。请输入`%s -c "help set"' 以获得关于 shell é€‰é¡¹çš„æ›´å¤šä¿¡æ¯ è¯·è¾“å…¥ `%s -c help' 以获得关于 shell 内建命令的更多信æ¯. æœªçŸ¥ä¿¡å· #æœªçŸ¥ä¿¡å· #%d未知错误未知状æ€å–消设定 shell å˜é‡å’Œå‡½æ•°çš„值和属性。 对æ¯ä¸€ä¸ª NAME å称,删除对应的å˜é‡æˆ–函数。 选项: -f å°†æ¯ä¸ª NAME 视为函数 -v å°†æ¯ä¸ª NAME 视为å˜é‡ -n å°†æ¯ä¸ª NAME 视为å称引用,åªå–消其本身而éžå…¶æŒ‡å‘çš„å˜é‡ ä¸å¸¦é€‰é¡¹æ—¶ï¼Œunset 首先å°è¯•å–æ¶ˆè®¾å®šä¸€ä¸ªå˜é‡ï¼Œå¦‚果失败,å†å°è¯•å–æ¶ˆè®¾å®šä¸€ä¸ªå‡½æ•°ã€‚ æŸäº›å˜é‡ä¸å¯ä»¥è¢«å–消设定;å‚è§ `readonly'。 退出状æ€ï¼š 返回æˆåŠŸï¼Œé™¤éžä½¿ç”¨äº†æ— æ•ˆçš„选项或者 NAME å称为åªè¯»ã€‚紧急 I/O 状况用法: %s [GNU 长选项] [选项] ... %s [GNU 长选项] [选项] 脚本文件 ... 使用 "%s" 退出 shell 。 请使用`bashbug' å‘½ä»¤æ¥æŠ¥å‘Šé”™è¯¯. 用户信å·1用户信å·2等待任务完æˆå¹¶è¿”回退出状æ€ã€‚ 等待以 ID ç¼–å·è¯†åˆ«çš„进程,其中ID å¯ä»¥æ˜¯è¿›ç¨‹ç¼–å·æˆ–者任务声明, 并报告它的终止状æ€ã€‚如果 ID æ²¡æœ‰ç»™å‡ºï¼Œåˆ™ç­‰å¾…æ‰€æœ‰çš„å½“å‰æ´»è·ƒå­ 进程,并且返回状æ€ä¸ºé›¶ã€‚如果 ID 是任务声明,等待任务管é“中的 所有进程。 若给定了 -n 选项,等待下一个任务完æˆå¹¶è¿”回其状æ€ã€‚ 退出状æ€ï¼š 返回最åŽä¸€ä¸ª ID 进程的状æ€ï¼›å¦‚果使用了无效的 ID 或者选项则失败。等待进程完æˆå¹¶ä¸”返回退出状æ€ã€‚ 等待指定进程并报告它的终止状æ€ã€‚如果没有æä¾› PIDï¼Œåˆ™å½“å‰æ‰€æœ‰çš„æ´»è·ƒ å­è¿›ç¨‹éƒ½ä¼šè¢«ç­‰å¾…,并且返回ç ä¸ºé›¶ã€‚PID 必须为进程å·ã€‚ 退出状æ€ï¼š 返回进程 ID 的状æ€ï¼›å¦‚æžœ PID æ˜¯æ— æ•ˆçš„è¿›ç¨‹å·æˆ–者指定了无效的选项则失败。窗å£å·²æ”¹å˜å†™å‚数至标准输出设备。 在标准输出设备上显示 ARGs 傿•°å’Œä¸€ä¸ªæ¢è¡Œã€‚ 选项: -n ä¸é™„加æ¢è¡Œ 退出状æ€ï¼š 除éžå†™é”™è¯¯å‘生,å¦åˆ™è¿”回æˆåŠŸã€‚å°†å‚æ•°å†™åˆ°æ ‡å‡†è¾“出。 在标准输出上,显示用空格分割的 ARG 傿•°åŽè·Ÿä¸€ä¸ªæ¢è¡Œã€‚ 选项: -n ä¸è¦è¿½åŠ æ¢è¡Œ -e å¯ç”¨ä¸‹åˆ—åæ–œæ è½¬ä¹‰çš„解释 -E 显å¼åœ°æŠ‘åˆ¶å¯¹äºŽåæ–œæ è½¬ä¹‰çš„解释 `echo' å¯¹ä¸‹åˆ—åæ–œæ å­—符进行转义: \a 警告(å“铃) \b 退格 \c 抑制更多的输出 \e 转义字符 \f æ¢é¡µå­—符 \n æ¢è¡Œ \r 回车 \t 横å‘制表符 \v 纵å‘制表符 \\ åæ–œæ  \0nnn 以 NNN (八进制)为 ASCII ç çš„字符。 NNN å¯ä»¥æ˜¯ 0 到 3 ä¸ªå…«è¿›åˆ¶ä½ \xHH 以 HH (å六进制)为值的八按ä½å­—符。HHå¯ä»¥æ˜¯ä¸€ä¸ªæˆ–两个åå…­è¿›åˆ¶ä½ é€€å‡ºçŠ¶æ€ï¼š 返回æˆåŠŸé™¤éžæœ‰å†™é”™è¯¯å‘生。您在 $_ 中有邮件您在 $_ 中有新邮件[ 傿•°... ][[ è¡¨è¾¾å¼ ]]`%c': 命令错误`%c': 无效格å¼å­—符`%c': 无效的符å·çжæ€å­—符`%c': 无效的符å·çжæ€è¿ç®—符`%c': 无效的时间格å¼å£°æ˜Ž`%s': 无法解除绑定`%s': 无效的别å`%s': 无效的键映射å`%s': 特殊内建`%s': 缺少格å¼å­—符`%s': 䏿˜¯æœ‰æ•ˆçš„è¿›ç¨‹å·æˆ–者任务声明`%s': 䏿˜¯æœ‰æ•ˆçš„æ ‡è¯†ç¬¦`%s': 未知函数åéœ€è¦ `)'需è¦`)',得到 %sæ¡ä»¶è¡¨è¾¾å¼éœ€è¦ `:'add_process: è¿›ç¨‹å· %5ld(%s) æ ‡æ³¨ä¸ºä»æ´»ç€add_process: 进程 %5ld(%s) 进入 the_pipelinealias [-p] [åç§°[=值] ... ]all_local_variables: 当å‰ä½œç”¨åŸŸä¸­æ²¡æœ‰å‡½æ•°ä¸Šä¸‹æ–‡å‚数需è¦å‚æ•°éœ€è¦æ•°ç»„å˜é‡æ”¯æŒå°è¯•ç»™éžå˜é‡èµ‹å€¼æ•°ç»„ä¸‹æ ‡ä¸æ­£ç¡®é”™è¯¯çš„命令类型错误的æ¡ä»¶è¿žæŽ¥ç¬¦é”™è¯¯çš„跳转错误的替æ¢: 在 %s 中没有闭åˆçš„ "`"错误的替æ¢: 在 %2$s 中没有闭åˆçš„ `%1$s'bash 首页: bash_execute_unix_command: 无法为命令找到键映射bg [任务声明 ...]bind [-lpvsPSVX] [-m 键映射] [-f 文件å] [-q åç§°] [-u åç§°] [-r é”®åºåˆ—] [-x é”®åºåˆ—:shell-命令] [é”®åºåˆ—:readline-函数 或 readline-命令]大括å·å±•开: 无法为 %s 分é…内存大括å·å±•开: 为 %d 个元素分é…内存失败大括å·å±•开: 为 `%s' 分é…内存失败break [n]错误:表达å¼èµ‹å€¼ç¬¦å·é”™è¯¯builtin [shell 内建 [傿•° ...]]caller [表达å¼]åªèƒ½ä»Žå‡½æ•°æˆ–者æºè„šæœ¬è¿”å›ž(`return')åªèƒ½åœ¨å‡½æ•°ä¸­ä½¿ç”¨æ— æ³•从文件æè¿°ç¬¦ %d 为 bash 的输入获å–一个新的文件æè¿°ç¬¦æ— æ³•ä¸ºç«‹å³æ–‡æ¡£åˆ›å»ºä¸´æ—¶æ–‡ä»¶: %s无法å¤åˆ¶æ–‡ä»¶æè¿°ç¬¦ %d 到文件æè¿°ç¬¦ %d无法将命åç®¡é“ %s 作为文件æè¿°ç¬¦ %d å¤åˆ¶æ— æ³•在共享对象 %2$s 中找到 %1$s: %3$s无法为命令替æ¢åˆ›å»ºå­è¿›ç¨‹æ— æ³•为进程替æ¢åˆ›å»ºå­è¿›ç¨‹æ— æ³•为命令替æ¢åˆ›å»ºç®¡é“无法为进程替æ¢åˆ›å»ºç®¡é“无法打开命åç®¡é“ %s è¿›readline-无法打开命åç®¡é“ %s 进行写入无法打开共享对象 %s: %s无法从 /dev/null é‡å®šå‘标准输入: %s无法为文件æè¿°ç¬¦ %d é‡ç½®nodelayæ¨¡å¼æ— æ³•åŒæ—¶è®¾å®šå’Œå–消设定 shell 选项无法将 gid 设为 %d: 有效 gid %d无法设定终端进程组(%d)无法将 uid 设为 %d: 有效 uid %dæ— æ³•åŒæ—¶å–消设定一个函数和一个å˜é‡æ— æ³•挂起无法挂起一个登录 shell无法用 `-f' 生æˆå‡½æ•°æœ€å¤šåªèƒ½ä½¿ç”¨ -anrw 选项中的一个case è¯ in [æ¨¡å¼ [| 模å¼]...) 命令 ;;]... esaccd [-L|[-P [-e]] [-@]] [目录]å­è¿›ç¨‹ setpgid (%ld 到 %ld)command [-pVv] 命令 [傿•° ...]command_substitute: 无法将管é“å¤åˆ¶ä¸ºæ–‡ä»¶æè¿°ç¬¦ 1compgen [-abcdefgjksuv] [-o 选项] [-A 动作] [-G 全局模å¼] [-W è¯è¯­åˆ—表] [-F 函数] [-C 命令] [-X 过滤模å¼] [-P å‰ç¼€] [-S åŽç¼€] [è¯è¯­]complete [-abcdefgjksuv] [-pr] [-DE] [-o 选项] [-A 动作] [-G 全局模å¼] [-W è¯è¯­åˆ—表] [-F 函数] [-C 命令] [-X 过滤模å¼] [-P å‰ç¼€] [-S åŽç¼€] [åç§° ...]补全: 未找到函数 `%s'compopt [-o|+o 选项] [-DE] [åç§° ...]需è¦äºŒå…ƒæ¡ä»¶è¿ç®—符continue [n]coproc [åç§°] 命令 [é‡å®šå‘]无法找到 /tmp ,请创建cprintf: `%c': 无效的格å¼å­—符当å‰declare [-aAfFgilnrtux] [-p] [åç§°[=值] ...]删除进程组 %2$ld ä¸­å·²åœæ­¢çš„任务 %1$ddescribe_pid: %ld: 无此进程å·ç›®å½•栈为空目录栈索引dirs [-clpv] [+N] [-N]除以 0动æ€åŠ è½½ä¸å¯ç”¨echo [-n] [傿•° ...]echo [-neE] [傿•° ...]空数组å˜é‡åenable [-a] [-dnps] [-f 文件å] [åç§° ...]获å–终端属性时出错: %s`%s' 函数定义导入错误设定终端属性时出错: %seval [傿•° ...]eval: 超出最大 eval 嵌套层数 (%d)exec [-cl] [-a åç§°] [命令 [傿•° ...]] [é‡å®šå‘ ...]exit [n]éœ€è¦ `)'指数å°äºŽ 0export [-fn] [åç§°[=值] ...] 或 export -p需è¦è¡¨è¾¾å¼è¡¨è¾¾å¼é€’归层次越界fc [-e 编辑器å] [-lnr] [èµ·å§‹] [终结] 或 fc -s [模å¼=替æ¢ä¸²] [命令]fg [任务声明]文件æè¿°ç¬¦è¶…å‡ºèŒƒå›´éœ€è¦æ–‡ä»¶å傿•°for (( 表达å¼1; 表达å¼2; 表达å¼3 )); do 命令; donefor åç§° [in è¯è¯­ ... ] ; do 命令; doneå‰åˆ† (fork) å‡ºçš„çš„è¿›ç¨‹å· %d 出现在è¿è¡Œä¸­çš„任务 %d 中格å¼è§£æžé—®é¢˜: %sfree: 用已ç»é‡Šæ”¾çš„å—ä½œä¸ºå‚æ•°è¢«è°ƒç”¨free: 用未分é…çš„å—ä½œä¸ºå‚æ•°è¢«è°ƒç”¨free: 其实和末尾å—大å°ä¸ä¸€è‡´free: 检测到下溢;mh_nbytes 越界function åç§° { 命令 ; } 或 name () { 命令 ; }未æ¥ç‰ˆæœ¬çš„ shell 会强制估值为算术替æ¢getcwd: 无法访问父目录getopts 选项字符串 åç§° [傿•°]hash [-lr] [-p 路径å] [-dt] [åç§° ...]å·²ç¦ç”¨å“ˆå¸Œhelp [-dms] [æ¨¡å¼ ...]此版本内帮助ä¸å¯ç”¨ç«‹å³æ–‡æ¡£åœ¨ç¬¬ %d 行被文件结æŸç¬¦åˆ†éš” (éœ€è¦ `%s')history [-c] [-d åç§»é‡] [n] 或 history -anrw [文件å] 或 history -ps 傿•° [傿•°...]历å²ä½ç½®åކå²å£°æ˜Žå‘½ä¸­ 命令 预增符或预å‡ç¬¦åŽåº”跟有标识符if 命令; then 命令; [ elif 命令; then 命令; ]... [ else 命令; ] fiinitialize_job_control: getpgrp 失败initialize_job_control: 行规则initialize_job_control: setpgid无效的算术进制无效的基%2$s çš„ exportstr 中有无效的字符 %1$d无效的åå…­è¿›åˆ¶æ•°æ— æ•ˆæ•°å­—æ— æ•ˆçš„å…«è¿›åˆ¶æ•°æ— æ•ˆçš„ä¿¡å·æ•°åœ¨ä¸å¸¦ä»»åŠ¡æŽ§åˆ¶çš„æƒ…å†µä¸‹å¯åŠ¨äº†ä»»åŠ¡ %djob_spec [&]jobs [-lnprs] [任务声明 ...] 或 jobs -x 命令 [傿•°]kill [-s ä¿¡å·å£°æ˜Ž | -n ä¿¡å·ç¼–å· | -ä¿¡å·å£°æ˜Ž] è¿›ç¨‹å· | 任务声明 ... 或 kill -l [ä¿¡å·å£°æ˜Ž]上一个命令: %s let 傿•° [傿•° ...]limit第 %d 行:未å¯ç”¨è¡Œç¼–辑为 %s 载入函数失败 (%d): 未载入local [option] åç§°[=值] ...注销 logout [n]循环计数make_here_document: 错误的指令类型 %dmake_local_variable: 当å‰ä½œç”¨åŸŸä¸­æ²¡æœ‰å‡½æ•°ä¸Šä¸‹æ–‡make_redirection: é‡å®šå‘指令 `%d' 越界malloc: ç©ºé—²é“¾è¡¨ä¸­çš„å—æŸåmalloc: 断言失败: %s mapfile [-d 分隔符] [-n 计数] [-O èµ·å§‹åºå·] [-s 计数] [-t] [-u fd] [-C 回调] [-c é‡å­] [数组]è¶…å‡ºæœ€å¤§ç«‹å³æ–‡æ¡£æ•°é‡è¿ç§»è¿›ç¨‹è‡³å¦ä¸€ä¸ª CPU缺少 `)'缺少 `]'使用了 \x 但缺少å六进制ä½ä½¿ç”¨äº† \%c 但缺少 unicode æ•°ä¸æ”¯æŒç½‘络æ“作%s çš„ exportstr 中没有 `='%2$s 中没有闭åˆçš„ `%1$c'未找到命令没有与 `%s' 匹é…的帮助主题。å°è¯• `help help' 或 `man -k %s' 或 `info %s'。无任务控制此 shell 中无任务控制无匹é…: %s无其他目录其他选项ä¸èƒ½ä¸Ž `-x' åŒæ—¶ä½¿ç”¨å½“剿œªæ‰§è¡Œè¡¥å…¨åŠŸèƒ½ä¸æ˜¯ç™»å½• shell: 使用 `exit'八进制数仅在 `for', `while', 或者`until' 循环中有æ„义管é“错误pop_scope: shell_variables çš„å¤´éƒ¨ä¸æ˜¯ä¸´æ—¶çŽ¯å¢ƒä½œç”¨åŸŸpop_var_context: shell_variables çš„å¤´éƒ¨ä¸æ˜¯å‡½æ•°ä¸Šä¸‹æ–‡pop_var_context: 没有 global_variables 上下文popd [-n] [+N | -N]å³å°†åœç”µprint_command: 错误的æ¡ä»¶è¿žæŽ¥ç¬¦ `%d'printf [-v var] æ ¼å¼ [傿•°]progcomp_insert: %s: 空的补全声明编程错误pushd [-n] [+N | -N | 目录]pwd [-LP]read [-ers] [-a 数组] [-d 分隔符] [-i 缓冲区文字] [-n 读å–字符数] [-N 读å–字符数] [-p æç¤ºç¬¦] [-t è¶…æ—¶] [-u 文件æè¿°ç¬¦] [åç§° ...]读错误: %d: %sreadarray [-n 计数] [-O èµ·å§‹åºå·] [-s 计数] [-t] [-u fd] [-C 回调] [-c é‡å­] [数组]readonly [-aAf] [åç§°[=值] ...] 或 readonly -prealloc: 用未分é…çš„å—ä½œä¸ºå‚æ•°è¢«è°ƒç”¨realloc: 其实和末尾å—大å°ä¸ä¸€è‡´realloc: 检测到下溢;mh_nbytes 越界递归栈下溢é‡å®šå‘错误: 无法å¤åˆ¶æ–‡ä»¶æè¿°ç¬¦register_alloc: %p 在表中显示为已分é…? register_alloc: 分é…表已ç»å……满了 FIND_ALLOC? register_free: %p 在表中显示为已释放? å—é™çš„return [n]run_pending_traps: trap_list[%d] 中的错误值: %prun_pending_traps: ä¿¡å·å¤„ç†å™¨æ˜¯ SIG_DFLï¼Œé‡æ–°å‘é€ %d (%s) 给自己save_bash_input: å·²ç»å­˜åœ¨æ–°çš„æ–‡ä»¶æè¿°ç¬¦ %d 的缓冲区select NAME [in è¯è¯­ ... ;] do 命令; doneset [--abefhkmnptuvxBCHP] [-o 选项å] [--] [傿•° ...]setlocale: %s: 无法改å˜åŒºåŸŸé€‰é¡¹ (%s)setlocale: %s: 无法改å˜åŒºåŸŸé€‰é¡¹ (%s): %ssetlocale: LC_ALL: 无法改å˜åŒºåŸŸé€‰é¡¹ (%s)setlocale: LC_ALL: 无法改å˜åŒºåŸŸé€‰é¡¹ (%s): %sshell 层次 (%d) 太高,é‡ç½®ä¸º 1shift [n]ä½ç§»è®¡æ•°shopt [-pqsu] [-o] [选项å ...]sigprocmask: %d: 无效的æ“作source 文件å [傿•°]start_pipeline: 进程组管é“suspend [-f]语法错误æ¡ä»¶è¡¨è¾¾å¼ä¸­æœ‰è¯­æ³•错误æ¡ä»¶è¡¨è¾¾å¼ä¸­æœ‰è¯­æ³•错误: æœªé¢„æœŸçš„ç¬¦å· `%s'表达å¼ä¸­æœ‰è¯­æ³•错误`%s' é™„è¿‘æœ‰è¯­æ³•é”™è¯¯æœªé¢„æœŸçš„ç¬¦å· `%s' 附近有语法错误语法错误: `((%s))'语法错误: éœ€è¦ `;'语法错误: 需è¦ç®—术表达å¼è¯­æ³•错误: 无效的算术è¿ç®—符语法错误: éœ€è¦æ“作数语法错误: 未预期的文件结尾系统å³å°†å´©æºƒtest [表达å¼]time [-p] 管é“傿•°å¤ªå¤štrap [-lp] [[傿•°] ä¿¡å·å£°æ˜Ž ...]trap_handler: é”™è¯¯çš„ä¿¡å· %dtype [-afptP] åç§° [åç§° ...]typeset [-aAfFgilnrtux] [-p] åç§°[=值] ...ulimit [-SHabcdefiklmnpqrstuvxPT] [é™åˆ¶]umask [-p] [-S] [模å¼]unalias [-a] åç§° [åç§° ...]寻找 `]]' 是é‡åˆ°äº†æœªé¢„期的文件结æŸç¬¦å¯»æ‰¾åŒ¹é…çš„ `%c' 是é‡åˆ°äº†æœªé¢„期的文件结æŸç¬¦å¯»æ‰¾åŒ¹é…çš„ `)' æ—¶é‡åˆ°äº†æœªé¢„期的文件结æŸç¬¦äºŒå…ƒæ¡ä»¶è¿ç®—ç¬¦ä½¿ç”¨äº†æœªé¢„æœŸçš„å‚æ•° `%s'一元æ¡ä»¶è¿ç®—ç¬¦ä½¿ç”¨äº†æœªé¢„æœŸçš„å‚æ•° `%s'二元æ¡ä»¶è¿ç®—ç¬¦ä½¿ç”¨äº†æœªé¢„æœŸçš„å‚æ•°ä¸€å…ƒæ¡ä»¶è¿ç®—ç¬¦ä½¿ç”¨äº†æœªé¢„æœŸçš„å‚æ•°æ¡ä»¶å‘½ä»¤ä¸­æœ‰æœªé¢„æœŸçš„ç¬¦å· %dæ¡ä»¶å‘½ä»¤ä¸­æœ‰æœªé¢„æœŸçš„ç¬¦å· `%c'æ¡ä»¶å‘½ä»¤ä¸­æœ‰æœªé¢„æœŸçš„ç¬¦å· `%s'æœªé¢„æœŸçš„ç¬¦å· `%s',需è¦äºŒå…ƒæ¡ä»¶è¿ç®—ç¬¦æœªé¢„æœŸçš„ç¬¦å· `%s' ï¼Œéœ€è¦ `)'未知未知的命令错误unset [-f] [-v] [-n] [åç§° ...]until 命令; do 命令; done数值太大ä¸å¯ä¸ºç®—术进制的基variables - 一些 shell å˜é‡çš„åç§°å’Œå«ä¹‰wait [-n] [ç¼–å· ...]wait [è¿›ç¨‹å· ...]wait: è¿›ç¨‹å· %ld 䏿˜¯å½“å‰ shell çš„å­è¿›ç¨‹wiat_for: 没有进程 %ld 的记录wait_for_job: 任务 %d å·²åœæ­¢waitchld: 打开 WNOHANG 以é¿å…æ— é™é˜»å¡žè­¦å‘Š:警告: %s: %s警告: -C 选项å¯èƒ½ä¸åƒæ‚¨é¢„期的那样工作警告: -F 选项å¯èƒ½ä¸åƒæ‚¨é¢„期的那样工作while 命令; do 命令; done写错误: %sxtrace fd (%d) != fileno xtrace fp (%d)xtrace_set: %d: 无效的文件æè¿°ç¬¦xtrace_set: 空的文件指针{ 命令 ; }