
654
|
Chapter 6: The Bash Shell and Korn Shell
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-P Print the current readline bindings.
-q function
Query which keys invoke the readline function function.
-r sequence
Remove the binding for key sequence sequence.
-s Print the current readline key sequence and macro bindings
such that they can be reread from a .inputrc file.
-S Print the current readline key sequence and macro bindings.
-u function
Unbind all keys that invoke the readline function function.
-v Print the current readline variables such that they can be
reread from a .inputrc file.
-V Print the current readline variables.
-x sequence:command
Execute the shell command command whenever sequence is
entered.
bg
bg [jobIDs]
Put current job or jobIDs in the background. See the earlier section
“Job Control.”
break
break [n]
Exit from a for, while, select,oruntil loop (or break out of n
loops).
builtin
builtin command [ arguments ... ]
Bash version. Run the shell built-in command command with the
given arguments. This allows you to bypass any functions that
redefine a built-in command’s name. The command command is
more portable.
Example
This function lets you do your own tasks when you change
directory:
cd ( ) {
builtin cd "$@" Actually change directory
pwd Report location
}
builtin
builtin [ -ds ] [ -f library ] [ name ... ]
ksh93 version. This command ...