How do I write a Stata startup script when running it on the Research Computing server?
If you want to execute the same commands every time you invoke Stata on the server, you should create a file called “profile.do”. Stata looks for “profile.do” along your UNIX path and in the home directory. It is recommended that you put it in your bin directory, i.e. “~/bin/profile.do”. If the file is found, Stata executes the commands contained in it. Some examples of settings that may be included in “profile.