Intro to csis unix lab
This presentation is the property of its rightful owner.
Sponsored Links
1 / 10

Intro to CSIS Unix Lab PowerPoint PPT Presentation


  • 49 Views
  • Uploaded on
  • Presentation posted in: General

Intro to CSIS Unix Lab. Lab 304. Logging on. First time login Log into homer If asked for Session, C hoose Java Desktop System Common Desktop Environment is being phased out Enter username Enter password No characters are displayed when typing password. Files.

Download Presentation

Intro to CSIS Unix Lab

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Intro to csis unix lab

Intro to CSIS Unix Lab

Lab 304


Logging on

Logging on

  • First time login

    • Log into homer

    • If asked for Session,

      • Choose Java Desktop System

      • Common Desktop Environment is being phased out

  • Enter username

  • Enter password

    • No characters are displayed when typing password


Files

Files

  • Java Desktop is designed to look like MS Windows

  • A “Documents” directory exists

  • Double-clicking on Documents opens the File Browser

    • Right clicking allows creation of file or directory


Text editing graphical

Text Editing (Graphical)

  • Graphical Edit

  • gedit filename(s)

    • Normally associated with .cc file by File Browser

    • Allows editing of multiple files

    • Command line; gedit filename &

    • Not available via telnet


Text editing character

Text Editing (character)

  • pico is most popular

    • Character based much like notepad

    • Always in input mode

    • List of commands along bottom of screen

  • vi is also available

    • Less friendly

    • More powerful


Compiling a c program

Compiling a C++ program

  • At this point, command line only

    • In 304 open a terminal window

      • I right click on the desktop

    • Via telnet you are in a terminal window

  • Move to appropriate directory

    • cd command

  • Command is g++ filename

    • Default output is a.out

    • Assumes a c++ text file has specific file extension

      • .cc

      • .cpp


Running a program

Running a program

  • Assume executable is a.out

  • From terminal window type a.out


Printing a program

Printing a program

  • Graphical

    • Open print manager

      • Launch

      • Preferences

      • Printer Preferences

    • Drag file from File Browser to appropriate printer


Printing a program1

Printing a Program

  • Command line

    • lp –d mh304a file(s)

    • lpr –Pmh304a file(s)

  • If used via telnet still prints to Meshel Hall 304


Telnet hints

Telnet hints

  • Connect to csis.ysu.edu

    • No need to specify homer

  • Do not use spaces in file names!

  • Resize the screen before editing

  • Can have multiple windows open

    • One for editor

    • One to compile and run


  • Login