DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Programming with the SCO OpenServer system shell

Adding commands to your .profile

Practice adding commands to your .profile. Edit the file and add the following echo command to the last line of the file:

   echo Good Morning! I am ready to work for you.
Write and quit the editor.

Whenever you make changes to your .profile and you want to initiate them in the current work session, you may cause the commands in .profile to be executed directly, using the ``.'' (dot) shell command. The shell reinitializes your environment by executing the commands in your .profile. Try this now. Type:

   . .profile
The system should respond with the following:
   Good Morning! I am ready to work for you.
   $

Next topic: Setting terminal options
Previous topic: Modifying your login environment

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005