CSE4251 The Unix Programming Environment

Slides:



Advertisements
Similar presentations
ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Advertisements

 An operating system (OS) is a set of computer programs that allow the user to perform basic tasks like copying, moving, saving and printing files. 
A Guide to Unix Using Linux Fourth Edition
Introduction to Unix GLY 560: GIS for Earth Scientists Class Home Page:
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Lecture 01CS311 – Operating Systems 1 1 CS311 – Lecture 01 Outline Course introduction Setting up your system Logging onto the servers at OSU with ssh.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
CSCI 330 T HE UNIX S YSTEM Dr. Reva Freedman Department of Computer Science Northern Illinois University Spring 2009.
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
TOPIC 5.0 LINUX SHELLS.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Linux Shells Dr. Michael L. Collard 1.
UNIX ™ /Linux Overview Unix/IP Preparation Course June 9, 2013 Lusaka, Zambia.
Welcome to CSE  Name: Di Cao   Classroom: DL357  Class Time: T 8:30am - 9:18am  Office.
The Network Management Lab pc pc pc pc pc Virtual Servers Your Laptop.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
유닉스, 왜 공부하나 ? 자동화 –GUI vs commands 서버 개발 능력, 관리 능력 – 데스크탑에서의 개발과 관리와의 차이 ?
CENT 305 Information Systems Security Linux Introduction.
Linux 简介. Contents Unix GNU/Linux, Distributions Basic usage Applications Compiling, compilers Clustering.
UNIX ™ /Linux Overview Unix/IP Preparation Course May 25, 2014 Djibouti.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
CS 390 Unix Programming Environment Summer Suchindra Rengan - CS3902 Course Details Instructors Suchindra Rengan – ‘sachin’ ( Section 001)
UNIX/LINUX SHELLS.  “A Unix shell is a command-line interpreter or shell that provides a traditional user interface for the Unix operating system and.
LINUX System : Lecture 1 Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
Introduction to Unix Shell & Scripting with csh/tcsh  Brief Unix History  Unix Shell & Flavor  CSH/TCSH Scripts.
1 Applied CyberInfrastructure Concepts ISTA 420/520 Fall Nirav Merchant Bio Computing & iPlant Collaborative Eric Lyons.
© Prepared By: Razif Razali 1 TMK 265: UNIX SYSTEM CHAPTER ONE – UNIX PHILOSOPHY.
CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.
Unix/Linux for beginners:
1 CSE 390a Lecture 1 introduction to Linux/Unix environment slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson
1 Lecture 1 Introduction & Getting Started COP 3353 Introduction to UNIX.
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
CSCI 330 UNIX and Network Programming Unit I Introduction.
Linux History C151 Multi-User Operating Systems. Open Source Programming Open source programming: 1983, Richard Stallman started the GNU Project (GNU.
System Administrator Responsible for? Install OS Network Configuration Security Configuration Patching Backup Performance Management Storage Management.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Systems Programming & UNIX CSC 352 Spring Contact Information Instructor Dr. Eric Anson GS 823 Office.
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,
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
Course Information CSE 2031 Fall Instructor U. T. Nguyen /new-yen/ Office: CSEB Office hours:  Tuesday,
Shell ITEC400 Yukari Kitamura. What is shell? An interface between the user and OS A utility program to interact with the kernel A programming language.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 01 Introduction.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
WEST VIRGINIA UNIVERSITY Shared Research Facilities WVU HPC SUMMER INSTITUTE Introduction to Linux.
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
GNU and Linux.
Introduction to Linux and R
EE516: Embedded Software Project 1
Unix Scripting Session 1 March 6, 2008.
CSC227: Operating Systems
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
Welcome to Linux Chap#1 Hanin Abdulrahman.
Unix Shells.
Structure of Unix OS.
introduction to Linux/Unix environment
Introduction and Overview
Chapter 1 The Essence of UNIX and Linux
CGS 3763 Operating Systems Concepts Spring 2013
Linux Professor Sabol.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Sarah Diesburg Operating Systems CS 3430
Presentation transcript:

CSE4251 The Unix Programming Environment Spring 2015 Instructor: Mai Zheng

About the Class Level and Credits: U1  Entry-level introduction to Unix environment interactively use shell (command line interface & basic commands) efficiently use shell (bash scripting , grep, sed, awk, etc.) edit your programs (vim/emacs) compile your programs (makefile) version-control your programs (git) visualize your data/results professionally (gnuplot) others Level and Credits: U1

About the Class No textbook required Grading Satisfactory/Unsatisfactory 5 labs 100 points total (20 points each) 70 points required to pass Late penalties: 1 day = 10%, 2 days= 25%, 3 days = 50%, > 3 days = 100%  More info. http://web.cse.ohio-state.edu/~zhengm/teaching/cse4251sp14/index.htm

About the Instructor Mai Zheng Office hours & location More info. Ph.D. candidate in CSE department zheng.536@osu.edu  Research area: Systems Office hours & location Monday 4:00 pm - 5:00 pm,  or by appointment Bolz Hall 109 More info. http://web.cse.ohio-state.edu/~zhengm

About You Name, grade, department Unix experience your strongest programming language? on which OS? used vim/emacs? used makefile? Why do you choose this class

Outline Brief introduction of the class, instructor, and yourself Brief introduction of Unix What is Unix? Why Unix? What is shell and why bash? Get ready for your Unix journey

What is Unix Was an operating system Originally developed by Bell Labs around 1970 epoch time: number of seconds elapsed since 00:00:00 (UTC), Thursday, 1 January 1970. Ancestor of many modern operating systems Linux (Ubuntu, Red Hat, Debian, Android, etc. ), Mac OS, FreeBSD, Solaris, etc. http://en.wikipedia.org/wiki/File:Unix_history-simple.svg One of the Creators of UNIX,  Dennis Ritchie , is the creator of C

What is Unix Was an operating system Is an OS family/specification Originally developed by Bell Labs around 1970 epoch time: number of seconds elapsed since 00:00:00 (UTC), Thursday, 1 January 1970. Ancestor of many modern operating systems Linux (Ubuntu, Red Hat, Debian, Android, etc. ), Mac OS, FreeBSD, Solaris, etc. http://en.wikipedia.org/wiki/File:Unix_history-simple.svg Is an OS family/specification Not a single OS named “Unix” but OSes could earn “UNIX certification” Many “Unix-like” OSes Including most popular modern OSes except for Windows

Why Unix Powerful: designed for programmers build new tools easily and efficiently customize the user interface string together a series of commands to create new functionality create custom commands that do exactly what we want

Why Unix Powerful: designed for programmers build new tools easily and efficiently customize the user interface string together a series of commands to create new functionality create custom commands that do exactly what we want Widely used in academia and industry OSU CSE department Google, HP Labs, VMWare, Amazon, etc.

Why Unix Powerful: designed for programmers build new tools easily and efficiently customize the user interface string together a series of commands to create new functionality create custom commands that do exactly what we want Widely used in academia and industry OSU CSE department Google, HP Labs, VMWare, Amazon, etc. Open-sourced descendants allow us to learn a lot Linux, FreeBSD, Android, etc. One of the Creators of UNIX,  Dennis Ritchie , is the creator of C

What is Shell A command interpreter that turns the text that you type (at the command line) into actions was the only interface to access an OS before the graphic-user-interface (GUI) was invented essentially a process user mode kernel mode

What is Shell Two main flavors of Unix Shells Bourne shell (or Standard Shell): sh, ksh, bash, zsh Originally developed at Bell Labs $ for command prompt by default C shell : csh, tcsh Originally developed at Berkley % for command prompt by default

What is Shell Two main flavors of Unix Shells Bourne shell (or Standard Shell): sh, ksh, bash, zsh Originally developed at Bell Labs $ for command prompt by default C shell : csh, tcsh Originally developed at Berkley % for command prompt by default To check your current shell $ echo $SHELL

Why bash Bash: Bourne-again shell (for this course) An enhancement for the original Bourne shell (sh) Default shell on most Linux distributions

Why bash Bash: Bourne-again shell (for this course) Why Not C shell An enhancement for the original Bourne shell (sh) Default shell on most Linux distributions Why Not C shell Csh Programming Considered Harmful Top Ten Reasons not to use the C shell Csh problems

Outline Brief introduction of the class, instructor, and yourself Brief introduction of Unix What is Unix? Why Unix? What is shell and why bash? Get ready for your Unix journey

Get ready for your Unix journey Connect to CSE Linux server with your CSE account Linux: ssh username@stdlinux.cse.ohio-state.edu Windows: run PuTTY.exe Copy files between server and your computer Linux: scp somefile username@stdlinux.cse.ohio-state.edu:/somedirectory Windows: run WinSCP.exe What if I don’t have access to a Linux server? Install Linux on your own machine Install Linux on a virtual machine on your own machine E.g., Install VirtualBox, then install Ubuntu in VirtualBox