To enter the OpenWindows shortcut into your .profile file:
Open the .profile file using a text editor such as vi.
Enter the following shell function, exactly as shown, into the file:
openwin () { /usr/openwin/bin/openwin } |
Save and quit the file.
Log out and log back in to activate the shortcut, or type:
$ . .profile |
Now, whenever you want to start OpenWindows, you simply have to type openwin.