Korn Shell. Unix and Linux Programming Manual, Third Edition

   

Korn Shell: Unix and Linux Programming Manual, Third Edition, The

By Anatole Olczak

Table of Contents
Appendix G.  Pdksh Quick Reference

Aliases are command macros and are used as shorthand for other commands, especially frequently-used ones.

Alias Commands

alias

display a list of aliases and their values

alias name

display the value for alias name

alias name='value'

create an alias name set to value

alias t

display a list of tracked aliases

alias t name='value'

create a tracked alias name set to value

unalias name

remove the alias name

Some Preset Aliases

Alias

Value

Definition

autoload

typeset fu

define an autoloading function

echo

print ?/span>

display arguments

functions

typeset f

display list of functions

hash

alias t ?/span>

display list of tracked aliases

history

fc l

list commands from history file

integer

typeset i

declare integer variable

r

fc e ?/span>

re-execute previous command

stop

kill STOP

suspend job

type

whence v

display information about commands


       
    Top
     

    Категории