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

Поисковые слова: rigel
Display current working directory

Display current working directory

To display your current working directory in the prompt:

1. Use your editor to open your .kshrc file and add the line:

   PS1='${PWD##*/} $'

2. Save the file and leave the editor.

3. Enter the command:

   . .kshrc

This adds the new values to your working environment.


[Home] [Search] [Index]