1 / 10

Introduction to CSIS Unix Lab: First Time Login and File Operations

This guide covers the essential steps for first-time login into the CSIS Unix Lab environment and basic file operations. Users will learn how to log into the Java Desktop System, navigate the graphical interface similar to MS Windows, and access the "Documents" directory. We'll explore text editing options like gedit and pico, as well as compiling and running C++ programs via command line. Additionally, the guide provides instructions for printing documents and important telnet tips for efficient file management and operations.

otis
Télécharger la présentation

Introduction to CSIS Unix Lab: First Time Login and File Operations

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Intro to CSIS Unix Lab Lab 304

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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

  7. Running a program • Assume executable is a.out • From terminal window type a.out

  8. Printing a program • Graphical • Open print manager • Launch • Preferences • Printer Preferences • Drag file from File Browser to appropriate printer

  9. Printing a Program • Command line • lp –d mh304a file(s) • lpr –Pmh304a file(s) • If used via telnet still prints to Meshel Hall 304

  10. 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

More Related