Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.

Slides:



Advertisements
Similar presentations
LOGGING ON AND SHUTTING DOWN How to do both successfully at school.
Advertisements

Installing DOS and Windows98 under MS Virtual PC.
Lab III – Linux at UMBC.
Technology ICT Virtual PC. Network Resources Microsoft Virtual PC Allows multiple Guest Operating Systems (Virtual Machines) run using the resources of.
General Operation and Facts As of 3/24/2014. Virtual Desktop 1. What is a Virtual Desktop? 2. Why VDI? 3. Installing the Virtual Desktop 4. Accessing.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Chapter One The Essence of UNIX.
5-9/12/2005 CPE How to format your computer and re-install Windows XP.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 20AP. 1Winter Quarter File Transfer Lecture.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Exploring the Internet Creating and setting up your website Instructor: Michael Krolak Instructor: Patrick Krolak See also
The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
IS 118 Introduction to Development Tools Week 1. Things to Cover UCID WebCT AFS Visual Basic.net Running PHP.
Module 6 Windows 2000 Professional 6.1 Installation 6.2 Administration/User Interface 6.3 User Accounts 6.4 Managing the File System 6.5 Services.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
Guide To UNIX Using Linux Third Edition
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 16AP. 1Winter Quarter UNIX Process Management.
 Contents 1.Introduction about operating system. 2. What is 32 bit and 64 bit operating system. 3. File systems. 4. Minimum requirement for Windows 7.
Installing Linux Redhat: A how to guide in installing and configuring Redhat 6.2.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Microsoft Windows 2003 Server. Client/Server Environment Many client computers connect to a server.
Agenda What is Computer Programming? The Programming Process
Introduction to Computers Connie Dalrymple. What is a computer? Sources:
LGC Website and Customer On-line Tools LGC RESOURCE 2014.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
BIF713 Operating Systems & Project Management Instructor: Murray Saul
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Using the “Setup Assistant” to configure your new Mac Personalizing your new Mac.
NUMOSS NURUL ‘IZZATI BINTI OTHMAN A
Week 1 – Seneca Networking Environment. Agenda Overview of Seneca Server names How to access servers Terminal Emulation (Putty) Browser – IE, Netscape,
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX Lecture 4.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Module 1 Introduction to UNIX/Linux
CENT 305 Information Systems Security Linux Introduction.
Background - hardware User interface devices to system –Mainframe Text mode only Command-line (text mode) interface “Some” menus available (NOT a GUI)
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Accessing your Files from Home Galloway Township Public Schools The District provides a service for accessing common programs and user’s files from any.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
PC Maintenance: Preparing for A+ Certification Chapter 23: Using a Windows Network.
StopPreviousNext Vicnet Internet training course Workbook 7 Working with pictures on the Internet Easy English workbook July 2010.
ENGR Welcome to ENGR Excellence – Impact - Innovation.
CMSC 104, Version 8/061L01Introduction.ppt Introduction CMSC 104 Problem Solving and Computer Programming.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
Chapter Three The UNIX Editors.
Introduction to Python Lesson 1 First Program. Learning Outcomes In this lesson the student will: 1.Learn some important facts about PC’s 2.Learn how.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 20AP. 1Winter Quarter File Transfer Lecture 20A.
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
Unix Advanced Shells Chapter 10. Unix Shells u Command Line Interpreter –once logged in, login gives control to a shell –it prompts for input, then parses,
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Agenda Overview of Seneca Computer System File Servers / Student Computer Accounts Telnet application How to Logon to Learn / Phobos accounts How to Change.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Linux CSE 1222 CSE1222: Lecture 1BThe Ohio State University1.
CSC227: Operating Systems
VMWare Workstation Installation
Guide To UNIX Using Linux Third Edition
Creating Programs on UNIX
Bomgar Remote support software
forgot laptop password Windows 10 with no reset disk
Telnet/SSH Connecting to Hosts Internet Technology.
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Windows xp PART 1 DR.WAFAA SHRIEF.
Installing Linux Redhat:
CGS 3175: Internet Applications Fall 2009
Presentation transcript:

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX Lecture 4

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 2Winter Quarter Computing Environment PC vs. UNIX –Many PCs use a version of the Microsoft Windows operating system (perhaps 98/ME or more likely 2000/XP). –This year, the C How To Program book has a CD with Visual C++ Version 6.0 – More later –UNIX is an operating system used primarily on workstations. There are versions for Personal Computers. LINUX is a version of UNIX. Each UNIX has its versions of C and C++ languages.

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 3Winter Quarter UNIX Originally written by programmers for programmers at Bell Labs. Often is the operating system of choice for high- performance engineering workstations. Original (and still common) user interface is the "UNIX command line", although graphic user interfaces (GUIs) are available. Names of UNIX commands tend to be a little cryptic or strange.

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 4Winter Quarter UNIX Command Line Interface We will use the "UNIX command line" user interface for much of the work in this class. The availability of some limited graphic user interface capabilities is provided by special terminal emulation software. The emulator runs on the PC and makes the PC system act like an "X-Windows" terminal and is called XWin32 (OSU site licensed). Simple Secure-Shell terminal emulation can also be used (also site licensed).

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 5Winter Quarter Some Simple UNIX Commands

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 6Winter Quarter Your Computer Accounts Each student actually has two separate computer system accounts for ENG H192: –One for the personal computers –One for the UNIX system (Linux) Each account is established only for the duration of the current quarter (i.e., the files stored under your Au Quarter's H191 account(s) may be gone) Each account has a separate, distinct password for logon. Changing the password on one system (PC) does NOT change on it the other system (UNIX).

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 7Winter Quarter Your User ID and Default Password The User ID for both of your computer accounts is simply your OSU ID (name.#) The default password for both accounts is: –The first letter of your last name –The first three digits of your SSN in reversed order –Your entire first name Written as one "word" in all lowercase

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 8Winter Quarter Figuring out Your ID & Default Password So, as an example of a User ID and a default password, let's suppose: –Your name is "Woody Hayes" –Your SSN is –Your OSU address is Then, Wayne Woodrow "Woody" Hayes would logon as: –User ID:hayes.1 –Password:h789wayne

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 9Winter Quarter Logging On to a PC in HI 324 Windows XP Logon Press “Ctrl - Alt - Del”, if so instructed Fill in the logon window with –Your User ID –Your Password (watch case of text) –The Domain (ENGR1)

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 10Winter Quarter Logging On to the PC

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 11Winter Quarter Changing Your Password on the PC (Press Ctrl -- Alt -- Del)

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 12Winter Quarter Changing Your Password on the PC

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 13Winter Quarter Logging On to the Linux (UNIX) System After logging onto the PC: –Click on “Start”, Then Point “All Programs” menu, –Then point to “X-Win32” and Click »Then when prompted, enter your User ID and your UNIX system password

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 14Winter Quarter Enter Your User ID & UNIX Password

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 15Winter Quarter Red Hat Linux desk top Click on the Red Hat to display menu Select ‘System Tools’ – Then select ‘Terminal’

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 16Winter Quarter Linux desk top with two Terminal Windows

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 17Winter Quarter Accessing the LINUX System From Outside the Classroom There are three convenient ways to access the Linux system from outside this classroom: –Use the computers in the open computer lab, Hitchcock Hall 324 –Download and install the X-Win32 X Windows terminal emulator on your machine –Download and install the Secure Shell (SSH) Client terminal emulator (a more “secure” TELNET-like kind of connection) Any OSU site-licensed software package can be downloaded from:

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 18Winter Quarter Logging On to the UNIX System with SSH With the Secure Shell Client installed on a PC: –Click on “Start”, then point to “All Programs” menu, –Then point to “Secure Shell Client” and click –When SSH window appears, click on “Quick Connect” in upper left part of window –Enter “Host Name” as: r1rhl.eng.ohio-state.edu –Enter your “User Name” and click –Enter your “Password” when prompted

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 19Winter Quarter Connecting with the SSH Client First, click on “Quick Connect” Then, type in “Host Name” & “User Name” r1rhl.eng.ohio-state.edu Finally, “Connect”

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 20Winter Quarter Using SSH When logging on for the first time, you may be prompted to save a “host public key”. With the SSH Client: –You can have more than one command line “window” to the UNIX system –You will not be able to use any UNIX programs which require the “X Windows” environment without losing capability. This would include full screen editors like “emacs”. –vi is the recommended editor for Secure Shell

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 21Winter Quarter Today's Assignment – G03 In assignment G03, you are asked to logon on to the UNIX system and try a few commands. In Part A, write down the command you typed for each of the seven steps. In Part B, choose an editor program and type in the given computer program. UNIX editor choices include: –vi (either SSH or X Win32) –emacs (X Win32 only) We will be using the C++ compiler so the file extension must be.cpp To compile the program use g++ -o g03.out g03.cpp

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 22Winter Quarter Dual Boot Computers The computers in the classrooms are dual boot. This means that they can run Microsoft Windows XP or Red Hat Linux OSU V1.0 The default operating system is Windows XP To run Red Hat Linux the machine needs to be restarted or turned off and started again. When it is booting, there will be a point where you can select Linux rather than XP.

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 23Winter Quarter Dual Boot Computers You will see two lines printed as follows: Microsoft Windows XP Red Hat Linux OSU V 1.0 Use the down arrow to highlight Red Hat Microsoft Windows XP Red Hat Linux OSU V 1.0 Then press Enter

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 24Winter Quarter Dual Boot Computers The login information is similar to the previous slides.

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 25Winter Quarter Dual Boot Computers You will see this image after the login as the computer continues to boot.

Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 26Winter Quarter Dual Boot Computers To log out, click on the Red Hat and then Logout