CS 202 Computer Science II Lab Fall 2009 August 27.

Slides:



Advertisements
Similar presentations
Linux Orientation Computer Systems Lab Computer Sciences Department Room 2350.
Advertisements

ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!
Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
Cosc 4750 Getting Started in UNIX Don’t be afraid of the prompt, in linux it can be your best friend. In some cases, the only way to do certain things.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Working Environment - - Linux - -.
Linux & Applications Sean GavinWayne State University multi-user environment -- log in: user name and password -- you never turn the computer on or off.
CS 202 Computer Science II Lab Fall 2009 September 3.
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
Lecture 01CS311 – Operating Systems 1 1 CS311 – Lecture 01 Outline Course introduction Setting up your system Logging onto the servers at OSU with ssh.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
Basic UNIX © McGraw Hill All rights reserved.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  Currently there.
Learning basic Unix command IT 325 operating system.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Unix Basics Chapter 4.
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
Natawut NupairojAssembly Language1 Unix Survival Guide.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
CPSC 217 T03 Week I Part #1: Unix and HELLO WORLD Hubert (Sathaporn) Hu.
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
Chapter 0 A “Quick-Start” into the UNIX Operating System.
COP3502: Introduction to Computer Science Yashas Shankar.
Introduction to UNIX Road Map: 1. UNIX Structure 2. Components of UNIX 3. Process Structure 4. Shell & Utility Programs 5. Using Files & Directories 6.
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
November 5, 2015CIS 118 Intro to UNIX What’s a Unix? Unix is an Operating System Designed for high-traffic usage Many variants –Linux, BSD: free versions.
Welcome to CS323 Operating System lab 1 TA: Nouf Al-Harbi NoufNaief.net.
Tera Term Brian Smith Chris Vasse Zaheemat Adetoro William Newton Tom Presgraves.
Linux and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
EGEE-III INFSO-RI Enabling Grids for E-sciencE Apr. 25, Grid Computing Hands On Training for Users Faculty of Sciences, University.
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
Basic Unix Commands & GCC Saurav Karmakar Spring 2007.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
The Kernel At a high level, the kernel in an operating system serves as the bridge between applications and the actual data processing of the hardware.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
ICE UNIX TUTORIAL. File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete.
Learning basic Unix command It 325 operating system.
Dr. Sajib Datta Jan 16,  The website is up.  Course lectures will be uploaded there ◦ Check regularly for assignments and update.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Learning Unix/Linux Based on slides from: Eric Bishop.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
UNIX Basics Matt Hayward October 18, 2016 LS560 – Information Technology for information professionals.
Tutorial Six Linux Basics CompSci Semester Two 2016.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
CS1010: Intro Workshop.
Tutorial Six Recap & Linux Basics CompSci Semester Two 2016.
Andy Wang Object Oriented Programming in C++ COP 3330
Useful Linux Commands.
Welcome to CSCI 230! Problem Solving using C
Assignment Preliminaries
Welcome to CSCI 230! Problem Solving using C
Unix : Introduction and Commands
Operating Systems and Using Linux
The Unix File System.
Andy Wang Object Oriented Programming in C++ COP 3330
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Tutorial Unix Command & Makefile CIS 5027
Yung-Hsiang Lu Purdue University
Module 6 Working with Files and Directories
Lab 2: Terminal Basics.
Presentation transcript:

CS 202 Computer Science II Lab Fall 2009 August 27

Reza – Office SEM 255A – – Web-site – Office hours: TBA

Today Topic Course Objectives Requirements Basic Unix/Linux

Course Objectives Familiar with Unix/Linux Environments Be able to work under Unix/Linux Environments Learn more about Tips/Tricks of C++ Language Learn how to debug programs Learn how to make programs reusable

Requirements Attendance Exercises Programming Assignments Reports Late turn in, subject to the policy provided by the professor Note : all students must have ecc account.

Lab Assignments All coding standards in the class website have to be followed. Two copies of assignments are required – A printed version based on the “Report Template” – A soft copy including : report, code, and executable on a CD or Jump Drive – Put two copies in one plastic folder

Why Linux? Can be used as: – Web servers – Scientific workstations Gives you: – More speed – More power – More control Advantages: – It is free – Flexible for different hardware platforms – Fewer crashes – Better security

Basic Unix/Linux Commands command [options] [arguments] ls [options] [directory or file] – allows users to see a list of file or directory in the specific location given by the users – $ ls /usr mkdir [options] directory – allows users to create directory – $ mkdir cs202 rmdir [options] directory –remove a directory rm [options] file – remove (delete) a file or directory (-r recursively deletes the directory and its contents) (-i prompts before removing files) – $ rm –R cs202 ! WITH rm COMMAND, CAN’T UNDO emacs/xemacs – are text editors used to create/modify files – $ emacs cs202file.cpp

Basic Unix/Linux Commands man – allows users to look up for the information of applications including description, usages, etc. – $ man ls cd [directory] – changes working directory to another or accesses to interesting directory, / or.. or../.. or../mydir/test/ or /mydir/test/ – $ cd cs202 cp [options] file1 file2 –copyfile1 intofile2; file2 shouldn't already exist. This command creates or overwritesfile2 – $ cp cs202file.sh homework.sh mv – moves file/directory to another location or another name – $ mv cs202 ~/tmp

Basic Unix/Linux Commands lpr (lp) [options] file –print to defined printer cat [options] file –concatenate (list) a file pwd – print working (current) directory passwd – to change the password exit – leave the shell logout – leave the system ^D –indicates end of data stream ^C –interrupt

Questions?