The command line interface (CLI) and a first assignment tutorial

The command line interface (CLI) and a first assignment tutorial

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
CLI (Command Line Interface) and First Assignment Tutorial Command Line Interface and First Assignment Tutorial Intro: This tutorial is made to assist those who little to no experience using a command line interface (see following paragraph for description of what this is). It will consist of several parts addressing the following topics: 1. What a command line interface (CLI) is 2. How to access the LSU server 3. Some basic navigation techniques in a CLI/the LSU server 4. How to compile and submit on/to a server (In this case LSU's) 5. Answers to some frequently asked questions What is a CLI? To best understand how to navigate and use the servers at LSU, a person has to understand the difference between a GUI (graphical user interface) and a CLI (command line interface). A GUI is an interface in which the user interacts with easy to understand buttons, icons, text boxes, etc. Windows and most applications that run on Windows are GUIs. GUI examples In contrast to these pretty GUIs, we have a CLI (command line interface). To use a CLI, the user has to type in lines of text called "command lines" to perform a task. There are several different CLIs but the one we will be dealing with specifically is Linux (the interface used by LSU).
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CLI example Why Use CLI? although CLI may be more difficult to use then a GUI, it takes significantly less memory on the server (improving performance for each user) and can be substantially more powerful in certain instances. Logging Into and Using the LSU Servers Step 1: For Windows: If you are running Windows and have not done so already, you will need to download an SSH client to access the servers. A popular SSH client called PuTTy can be downloaded at this link: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe For OSX/Linux: If you are using a OSX (the mac operating system) or linux, you already have an SSH client by default. To access it, go to spotlight (the little magnifying glass in the top-right of your screen) and type in "terminal" (without the parentheses) in the search bar. Open terminal and proceed to the OSX/linux portion of step 2 for further instructions. Step 2: For Windows: Open up Putty and type in classes.csc.lsu.edu using port 22. make sure that the SSH radio button is checked. Your client should match the one shown below when you finish. Click "Open" when you are done.
Background image of page 2
ssh -l (your username) classes.csc.lsu.edu in place of "your username", type the username provided to you earlier this week. hit enter. Step 3:
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2011 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.

Page1 / 15

The command line interface (CLI) and a first assignment tutorial

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online