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

Shell Startup Tip

Make a copy of your shell start up file before editing it to change environment or shell variables.

You can always return to using this copy if you find that the modified file is not working and you are unable to fix the problem. For example:

   cd
   cp .profile old_profile
   ue .profile

The first command changes you to your home directory, where a copy of the file .profile is made in old_profile. You can then edit the .profile.

To revert to using the original .profile you simply copy it back. For example:

   cp old_profile .profile

[Home] [Search] [Index]