Remote Login into eniac
Linux and Mac OS X environment
- Click on a shell console
- Mac: open a Terminal window (in Applications/Utilities/)
- Linux: open a console window — Konsole, X Terminal, Gnome Terminal, &c
- At the prompt type: ssh username@eniac-l.seas.upenn.edu
- Enter password when prompted
- To verify that you are on eniac-l, at the prompt type: hostname
- As of this writing, eniac-l consists of two servers called "plus" and "minus". One of those names should be printed.
Non-Linux environment
A "secure shell" is a terminal emulation program that allows you to log in remotely to eniac.seas.upenn.edu. Windows XP users need SecureCRT 5.0.
- Download secureCRT for home PC
- After installing the software, create and save a session profile to reach eniac.seas.upenn.edu.
Note: Similar secureCRT, Mac users can also use dataComet-Secure X 10.0.2.
Commands
The Unix/linux and Variants site has command list from a-z. Also if you are at the command prompt and forget how the command works, try man command for help. Example:man cp. The info command does the same thing as man. Replace man with info keyword to use the latter. Note: To get out of a man page, hit the q key, this will get you back to the prompt.
Editors and File Transferring
I highly recommed a text editor that performs syntax highlighting and parenthesis matching when you program.
With Linux
The command emacs filename will pop up the emacs editor. However you lose control of the shell (cannot use it for further commands until you exit from emacs). So in order to use the shell prompt at the same time as editor, put an & after the filename i.e. emacs filename &
With secureCRT
Option 1:Emacs will open in the prompt itself, hence you will have to learn all the short cuts on saving and editing in emacs. To get back to prompt press clt-x-c. Also note that if the backspace key does not work then use the delete key to erase a line or word.
Option 2: Write your code on local editor. If working from home, then you will need to use FileZilla to transfer your files from your home pc to your eniac account. Filezilla: download and configuration.