Unix or Linux Command Line

In order to access a Unix or Linux command line, you'll need to use the Virtual Computing Lab.  Here's how:

  1. Go to http://vcl.ncsu.eduThis link will open in a new window.
  2. Select Make a Reservation.
  3. If you have not already authenticated via WRAP, you'll be prompted to do so.
  4. Under New Reservation, select Linux Lab Machine (Realm RHEnterprise 6).
  5. Select either Now or Later.
  6. Select Create Reservation.
  7. The Current Reservations screen will show your pending reservation(s). When your reservation is ready, a "Connect!" button will appear.
  8. Click this button.
  9. In the window that appears, you will see your reservation IP address (Remote computer). You'll also receive an email containing this address, which you will use with an SSH program as indicated below.
    NOTE: You will have only three minutes to complete your connection through the VCL before it times out.
  • If you are using Windows:
    1. Download Putty to your personally-owned computer from the eos Software Available for DownloadThis link will open in a new window page.
      On a Unity or eos Windows lab machine on campus, Putty is in the Application Launcher.
    2. When the download is complete, run the program.
    3. Under Host Name (or IP Address), enter your reservation IP address.
    4. Click Open.
    5. If Putty gives you a security alert, click Yes.
    6. For Login as, enter your Unity ID.
    7. Press Enter.
    8. For Password, enter your Unity password.
    9. Press Enter.
    10. You should now have a prompt and be able to enter commands.
    11. If you complete your session before your reservation ends,
      1. Exit your SSH session in Putty.
      2. Click on Current Reservations in the VCL menu.
      3. Click on the End button.
      4. Click Yes to confirm that you want to end.  This will free up the machine for other users.
  • If you are using Mac OS:
    1. Click on your Hard Drive icon.
    2. Open the Applications folder.
    3. Open the Utilities subfolder.
    4. Open the Terminal program.
    5. Type:
      ssh userid@address
      where userid is your Unity ID and address is your reservation IP address.
    6. Press Enter.
    7. If you are asked if you want to continue, type:
      yes
    8. Press Enter.
    9. Enter your Unity password.
    10. Press Enter.
    11. You should now have a prompt and be able to enter commands.
    12. If you complete your session before your reservation ends,
      1. Exit your Terminal session.
      2. Click on Current Reservations in the VCL menu.
      3. Click on the End button.
      4. Click Yes to confirm that you want to end.  This will free up the machine for other users.

Prompt

In most cases you will get one of these command line prompts:

eos%
unity%

However, if the Virtual Computing Lab connects you to a machine located in a campus lab, you will get a prompt that resembles:

Dan255-215-L%

Such a prompt is normal with this type of connection, and it works just like eos% and unity%. However, if you get this prompt:

>

then there may be a problem.  See Possible corrupted dotfilesThis link will open in a new window.

Basic Commands

For the commands you will need to create directories (folders) and manipulate files (list, copy, remove), see Unix Directory CommandsThis link will open in a new window.