MPE/iX Shell and Utilities Reference Manual, Vol 1

fc(1) MPE/iX Shell and Utilities fc(1)
HISTSIZE
gives the maximum number of previous commands that are accessible.
DIAGNOSTICS
Possible exit status values are:
0 If you specified –l, this indicates successful completion.
1 Failure due to any of the following:
— missing history file
— cannot find the desired line in the history file
— cannot create temporary file
2 An invalid command line option or argument.
If fc executes one or more commands, the exit status of fc is the exit status of the last exe-
cuted command.
Messages
Because this utility is built into the
MPE/iX Shell, see the sh(1) man page for a complete list of
error messages that you may receive when using it.
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0.
This is a command built into the KornShell on UNIX systems, but not the Bourne Shell. On
UNIX systems, the KornShell does not truncate the history file at login.
NOTE
This command is built into the shell. r is a built-in alias for fc –s. history is a built-in
alias for fc –l.
MPE/iX NOTES
For information on how the current
MPE/iX implementation may affect the operation of this
utility, see Appendix A, MPE/iX Implementation Considerations.
SEE ALSO
alias(1), ed(1), history(1), print(1), r(1), read(1), sh(1), vi(1), shedit(3)
1-226 Commands and Utilities