I have nearly configured EGSnrc on my OS-X machine running el capitan

The final step is the following....

The EGSnrc configuration for NAME is ALMOST complete ...

EGSnrc requires various environment variables and aliases to be defined. Typically you add these definitions to your shell resource file located in your home directory, to ensure the EGSnrc environment is properly set up every time you log in.

Your default shell is /bin/bash

Add the following statements to your .profile file

However I cannot find such a file? Any help would be appreciated!


Yes, it's the duplicate of .profile in Mac OS X? .profile should be placed in your home directory.

The easiest way to edit it or place if it's not added is through terminal:

nano ~/.profile

CTRL+X will ask if you want to save your file and exit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.