UNIX Review CS 2204 Class meeting 15. (C) S. S. Gifford, Virginia Tech, 2003-2 Study Hints You should have: Read all required material Finished all labs.

Slides:



Advertisements
Similar presentations
CST8177 awk. The awk program is not named after the sea-bird (that's auk), nor is it a cry from a parrot (awwwk!). It's the initials of the authors, Aho,
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
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.
1 Introduction to UNIX 2 Ke Liu
1 Processes and Pipes COS 217 Professor Jennifer Rexford.
Linux+ Guide to Linux Certification, Second Edition
Linux+ Guide to Linux Certification, Second Edition
CS201 - Information. CS201 - Laboratories All labs will be done using Linux on the PC’s or esus. All labs MUST use Makefiles. First lab is due NEXT WEEK.
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Lecture 02CS311 – Operating Systems 1 1 CS311 – Lecture 02 Outline UNIX/Linux features – Redirection – pipes – Terminating a command – Running program.
CMPE 151: Network Administration Spring Class Description Focus: system and network administration. Sequence of exercises. E.g., installing/configuring.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
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.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
CT 320 Midterm Study Guide.
Unix Basics Chapter 4.
Linux+ Guide to Linux Certification, Second Edition
Vim Editor and Unix Command gcc compiler Computer Networks.
CS 6560 Operating System Design Lecture 3:Tour of GNU/Linux.
Natawut NupairojAssembly Language1 Unix Survival Guide.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
COP3502: Introduction to Computer Science Yashas Shankar.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Some content in this lecture added.
Operating Systems and Using Linux CMSC 104, Lecture 3 John Y. Park 1.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Unix/Linux cs3353. The Shell The shell is a program that acts as the interface between the user and the kernel. –The shell is fully programmable and will.
Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.
I/O Redirection and Regular Expressions February 9 th, 2004 Class Meeting 4.
Introduction to Unix – CS 21 Lecture 12. Lecture Overview A few more bash programming tricks The here document Trapping signals in bash cut and tr sed.
Lecture 24CS311 – Operating Systems 1 1 CS311 – Lecture 24 Outline Final Exam Study Guide Note: These lecture notes are not intended replace your notes.
Final Exam Review May 3 rd, 2004 Class Meeting 15.
UNIX An Introduction. Brief History UNIX UNIX Created at Bell Labs, 1969 Created at Bell Labs, 1969 BSD during mid 70s BSD during mid 70s AT&T began offering.
40 Years and Still Rocking the Terminal!
I/O Redirection & Regular Expressions CS 2204 Class meeting 4 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Linux+ Guide to Linux Certification, Third Edition
Linux+ Guide to Linux Certification, Third Edition
Adv. UNIX: Prelim/01 Advanced UNIX v Who I am: –Andrew Davison CoE, Info. Eng. Research Lab. (Room 101) v Objectives –to.
Basic of UNIX For fresh members of SPARCS
Λειτουργικά Συστήματα – Lab2 Γιάννης Πετράκης. Directory Navigation and Control  The Unix file system is set up like a tree branching out from the root.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
CSCI 330 UNIX and Network Programming Unit IV Shell, Part 2.
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Byoung-Jo CHOI Fall 2007 SW Project II Advanced Linux Programming.
Why UNIX? In the 1980s, UNIX became popular In the 1980s, UNIX became popular Customer demand for open systems: Customer demand for open systems: Application.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Lecture 1: Introduction, Basic UNIX Advanced Programming Techniques.
Operating Systems and Using Linux Courtesy of John Y. Park 1.
2 nd Intro to Shell Scripting. Dates for Last Week of Class Homework 7 – Due Tuesday 5/1 by midnight Labs 7 & 8 or late ones – 8 is extra credit – Due.
CS 403: Programming Languages Lecture 20 Fall 2003 Department of Computer Science University of Alabama Joel Jones.
Class Introduction. Agenda Syllabus Topics Text etc.
Lab Test 2 Session 1 Date: Friday, December 3 Time: 2:30 - 4:20 (110 minutes) Locations: - Lab 1006 (for Friday students) - Lab 1004 (for Monday students)for.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
LECTURE 03: The Bash Command Line
UNIX Review CS 2204 Class meeting 15.
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
Andy Wang Object Oriented Programming in C++ COP 3330
Part 1: Basic Commands/Utilities
IOS110 Final Review.
BIF703 File Permissions.
Operating Systems and Using Linux
CS 60 Discussion Review.
Operating Systems and Using Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Linux Shell Script Programming
CSE 303 Concepts and Tools for Software Development
Operating Systems and Using Linux
Review.
LPI Linux Certification
Presentation transcript:

UNIX Review CS 2204 Class meeting 15

(C) S. S. Gifford, Virginia Tech, Study Hints You should have: Read all required material Finished all labs Completed all assignments Attended all lectures Reviewed all notes

(C) S. S. Gifford, Virginia Tech, Study Hints cont. When writing the final, I Focused on the details that support major topics Does not mean there are no details Does mean that I didn’t try to major on the minors Did not focus on all commands & options Did not focus on C syntax Tried to cover things not in the projects A few questions assume you attended class! A few questions are from the labs A few questions are from the readings

(C) S. S. Gifford, Virginia Tech, Study Hints cont. 34 questions, 5 points each, total=170 Multiple choice, true/false, and other innovative scantron questions: 5.) What is the first digit of the number between 14 and 16? 6.) What is the second digit of the number between 14 and 16? 7.) How many of the following choices are correct? (Enter a number between 0-9.)

(C) S. S. Gifford, Virginia Tech, Extra Credit There will *probably* be a research questionnaire of questions attached to the back of the exam. If this *optional* questionnaire is completed, it is worth 5 points on the final. Exception: no grade will be > hour test, most will complete in <1h

(C) S. S. Gifford, Virginia Tech, What should you know? What is UNIX vs. Linux Who is Ken Thompson and Dennis Richie? All commands that were covered outside of just the readings ls, chmod, egrep, awk, sed, perl, mv, rm, cd, etc etc etc.

(C) S. S. Gifford, Virginia Tech, What should you know cont. Absolute vs. relative paths Directory traversal Links Familiar with standard directories What each element in ls means (I-nodes?) File ownership, chmod File editing (vi, modes, major commands)

(C) S. S. Gifford, Virginia Tech, What you should know cont. I/O Redirection > >> | < Pipe and Filter Regular Expressions I’m not going to review this here Special characters, metacharacters egrep vs grep Be able to do regular expressions

(C) S. S. Gifford, Virginia Tech, What you should know cont. X Windows, the layers, what each do Client vs. Server See the lab for practical application Different Shells Alias, major system variables Eg, how to change the prompt Login scripts & Shell Scripting: At a higher level, no details

(C) S. S. Gifford, Virginia Tech, What you should know cont. makefiles, gcc What is a dependancy What is a target For gcc, what do -H -l –L –o –c mean? gdb, rcs

(C) S. S. Gifford, Virginia Tech, What you should know cont. Parts of the UNIX OS File descriptors Process management fork, exec, wait, waitpid Inter-process communication (IPC) pipes Signal handling

(C) S. S. Gifford, Virginia Tech, What you should know cont. System Administration Know the files, what they do Eg, be able to read a crontab file and say what its doing and when Be able to read an sed and/or awk script and tell what it does What is perl?

(C) S. S. Gifford, Virginia Tech, Currently ~50 in the class have A’s 35 B’s 35 C’s 10 D’s ~20 have F’s A few honor violations

(C) S. S. Gifford, Virginia Tech, After the test… Exam Friday, December 12, 10:05 am - 12:05 pm Grades should be posted by 3:00pm No letter grades Office hours 3-4+ for questions, etc Grades finalized by 5:00 Still no letters Will post final letter grades by Tuesday Assume the 10 point scale, X8.0 to X is a plus X0.0 to X is a minus No rounding!