You are here

Mac Terminal Quick Reference Guide

Terminal is a Macintosh application for connecting to a host server, such as the Astro or the HPC Linux systems (Compute and Owl’s Nest).

Starting the Program

To start the program:

  1. Click the MAC HD icon and then select the following: Applications ----> Utilities ----> Terminal.
  2. When you click Terminal, a screen similar to the following will appear.  The first line indicates when the Mac was last in use. The second line provides the Mac prompt.

Initial Terminal Screen

 

Connecting

To connect to the Linux server you want to access, perform the following steps: To the right of the $ prompt,

  • If you are trying to access the HPC Compute system, type the following and press Return:  ssh compute.temple.edu –l username
  • If you are trying to access the HPC Owl’s Nest system type the following and press Return: ssh owlsnest.hpc.temple.edu –l username
  • If you are trying to access the Astro system type the following and press Return: ssh astro.temple.edu –l username

In each of the above, username refers to your AccessNet username.

If your account is valid, and the password is accepted, a screen similar to the following appears:

Initial Compute Screen

Please observe in the previous figure the sytem prompt. At this point, you can create or modify a file by means of a Linux editor (e.g., nano), execute a program, list files, etc.  To upload or download a file between the Mac and the Linux server, you will have to use other Mac software such as FUGU. Terminal software cannot be used for file transfer.

 

Exiting

  1. Type exit at the system prompt.
  2. To exit from Terminal, either type exit at the Terminal prompt or select Quit Terminal from the Terminal menu.