using stata on terpconnect
To access stata from your desktop computer use ssh (If you are using a windows machine, type this command at the command prompt. If you are using a mac, type this in a terminal window - Applications/Utilities/Terminal.app):
ssh -Y firstname.lastname@example.org
Where username is your UMD uid/directory id. You will be prompted for your directory password.
Once you have been connected to terpconnect, type:
Now you are ready to run stata. To start stata interactively type:
To run a stata .do file, you can use batch mode. Instead of starting stata in interactive mode, type:
stata -b “do mydofile.do”
where mydofile.do is the name of your do file.
This will produce a plain text log file that you can view with the more command by typing:
If you would like to edit or create a do file you can use the pico text editor. Type: