
bind | 653
Bash and Korn
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
nameref='typeset -n'
nohup='nohup '
r='hist -s'
redirect='command exec'
stop='kill -s STOP'
times='{ {time;} 2>&1;}'
type='whence -v'
Options
-p Print the word alias before each alias. Not ksh88.
-t Create a tracked alias for a Unix command name. The Korn
shell remembers the full pathname of the command, allowing
it to be found more quickly and to be issued from any direc-
tory. If no name is supplied, current tracked aliases are listed.
Tracked aliases are similar to hashed commands in Bash. Korn
shell only. ksh93 always does alias tracking.
-x Export the alias; it can now be used in shell scripts and other
subshells. If no name is supplied, current exported aliases are
listed. Korn shell only. ksh93 accepts this option but ignores
it.
Example
alias dir='echo ${PWD##*/}'
autoload
autoload [functions]
Korn shell alias for typeset -fu. Load (define) the functions only
when they are first used.
bind
bind [-m map] [options]
bind [-m map] [-q function] [-r sequence] [-u function]
bind [-m map] -f file
bind [-m map] -x sequence:command
bind [-m map] sequence:function
bind readline-command
Bash only. Manage the readline library. Non-option arguments
have the same form as in a .inputrc file.
Options
-f file
Read key bindings from file.
-l List the names of all the readline functions.
-m map ...