Page Actions
Wiki Actions
User Actions
Submit This Story

HPUX Tips

ksh

To enter vi mode:

set -o vi

Special Vars:

CHAR DESCRIPTION
# number of positional parameters
? exit status
$ process ID
- (dash) current options
_ (underscore) the last argument of the previous command
! process ID of last background
ERRNO error no. of last failed system call
LINENO the line no. of the current script line in execution
OLDPWD previous cd directory
OPTARG last option processed by getopts
OPTIND index of last option processed by getopts
PPID parent PID
PWD current directory
RANDOM random funcion
REPLY menu item no. in response to select Ksh command
SECONDS seconds since shell invocation
CDPATH search path for cd command
COLUMNS edit window width
EDITOR editor management
ENV generate path name in tracked alias and functions
FCEDIT default editor for history processing command fc
FPATH search path for functions
IFS internal field separator
HISTFILE store command history file
HISTSIZE history buffer size
HOME home directory
LANG system locale
LC_COLLATE collating sequence
LC_CTYPE character classification
LC_MESSAGES language for system messages
LC_MONETARY monetary format
LC_NUMERIC numeric format
LC_TIME date and time format
LINES column length
LOGNAME login name
MAIL mail notify
MAILCHECK mail notify interval
MAILPATH mail notify
NLSPATH search path for messages
PATH searc path for commands
PS1 primary promt
PS2 secondary prompt
PS3 selection prompt (default #?)
PS4 trace prompt (default +)
SHELL shell in use
TMOUT command timeout to terminate shell
VISUAL editor option
 
wiki/tip_hpux.txt · Last modified: 2010/06/22 01:51 by MeaCulpa     Back to top
Recent changes RSS feed Creative Commons License Powered by PHP Driven by DokuWiki