Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/shell/ksh_hist5.html
Дата изменения: Fri Jan 17 12:43:21 1997
Дата индексирования: Tue Oct 2 00:50:16 2012
Кодировка:

Поисковые слова: arp 220
Editing a previous command line

Editing a previous command line

To edit a previous command line use the shell command fc (fix command) command.

   fc -e editor -lnr first last

This will open the commands from the history list as specified in the range first to last. When you exit from the editor the command(s) will be run.

Setting the environment variable FCEDIT to the editor that you prefer will save you specifying it on the command line. For example:

   FCEDIT=emacs; export FCEDIT

[Home] [Search] [Index]