UNIX Review CS 2204 Class meeting 15.

Slides:



Advertisements
Similar presentations
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.
Advertisements

Now, return to the Unix Unix shells: Subshells--- Variable---1. Local 2. Environmental.
Linux+ Guide to Linux Certification, Second Edition
Linux+ Guide to Linux Certification, Second Edition
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.
Review for Exam 1 Exam 1 on June 24 CSC 3320.
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.
The Shell Chapter 7. Overview The Command Line Standard IO Redirection Pipes Running a Program in the Background Killing (a process!)
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Some content in this lecture added.
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.
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
Basic of UNIX For fresh members of SPARCS
CSCI 330 UNIX and Network Programming Unit IV Shell, Part 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 1: Introduction, Basic UNIX Advanced Programming Techniques.
Operating Systems and Using Linux Courtesy of John Y. Park 1.
CS 403: Programming Languages Lecture 20 Fall 2003 Department of Computer Science University of Alabama Joel Jones.
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.
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.
PROGRAMMING THE BASH SHELL PART III by İlker Korkmaz and Kaya Oğuz
CS1010: Intro Workshop.
LECTURE 03: The Bash Command Line
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
The Command Prompt Commands are the way to “do things” in Unix
IOS110 Final Review.
The Linux Operating System
Shell Script Assignment 1.
BIF703 File Permissions.
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
CS 60 Discussion Review.
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Operating Systems and Using Linux
Andy Wang Object Oriented Programming in C++ COP 3330
Operating Systems and Using Linux
Operating Systems and Using Linux
Linux Shell Script Programming
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Operating Systems and Using Linux
What is Unix? A multi-user networked operating system
Operating Systems and Using Linux
Review.
LPI Linux Certification
Presentation transcript:

UNIX Review CS 2204 Class meeting 15

(C) S. S. Gifford, Virginia Tech, 2003- 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, 2003-

(C) S. S. Gifford, Virginia Tech, 2003- 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, 2003-

(C) S. S. Gifford, Virginia Tech, 2003- Study Hints cont. 3questions, 5.?? points each, total=~190 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, 2003-

(C) S. S. Gifford, Virginia Tech, 2003- No Extra Credit on Exam 2 hour test, most will complete in <1h (You do have the extra credit assignment you can do, remember?) (C) S. S. Gifford, Virginia Tech, 2003-

(C) S. S. Gifford, Virginia Tech, 2003- 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, 2003-

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, 2003-

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, 2003-

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, 2003-

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, 2003-

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, 2003-

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, 2003-

(C) S. S. Gifford, Virginia Tech, 2003- After the test… Exam Sat, July 3, 1 pm - 3:00 pm Grades should be posted by 5:00pm May give a curve on final, probably won’t Office hours immediately after test for questions Grades finalized by 5:00 Will post final letter grades Assume the 10 point scale, X8.0 to X9.9999 is a plus X0.0 to X1.99999 is a minus No rounding! (C) S. S. Gifford, Virginia Tech, 2003-