Text-only | Table of Contents (frame/ no frame) |
(6) Shells cont. |
![]() ![]() ![]() |
history
set history=100
, set savehist=50
;
will save history in a file (".history") when you log out
!!
; recalls last command,
!10
; re-run command 10!pico
; re-run last command starting with "pico"
set autolist
, set nobeep
set autocorrect
, set correct=all
set prompt="%m:%c:%h"
alias
his history
"
creates an short name for the history command
alias ls ls -FC
"
unalias
alias_name
"
`command`
, e.g. "echo `date`
"slide06.src last modified Feb 8, 2011 | Introduction | Table of Contents (frame/no frame) |
Printable (single file) |
© Dartmouth College |