Lecture 1. Course webpage. Syllabus and schedule, textbooks CS Lab, Virtual Box. Handouts, assignments Supplemental resources
|
|
- Sabina Pitts
- 6 years ago
- Views:
Transcription
1 Lecture 1 Course webpage Handouts, assignments Supplemental resources Syllabus and schedule, textbooks CS Lab, Virtual Box Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 1
2 Outline What is UNIX? What is Linux? UNIX programming environment Review of compiling C and C++ programs Libraries References: UCRE, UOVE, BLP Ch. 1 Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 2
3 What is UNIX? - Features A multiuser, multitasking operating system UNIX is portable (written in C). UNIX is secure (file and process security). A UNIX system includes hundreds of utilities, tools, and libraries. Tools for text processing and programming are standard. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 3
4 What is UNIX? - Features The TCP/IP protocols (Internet) were developed under UNIX and are now a core part of the OS. While not a core part of the OS, a Graphical User Interface is standard (X Window System or X). The POSIX (portable operating system interface) standards are now used to define UNIX-like systems. Standards define interfaces, shells, tools, security, etc. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 4
5 What is UNIX? - History UNIX was developed by Bell Labs (AT&T) in the early 1970s. AT&T gave the source code of the OS to universities and licensed it to many other companies. (Several companies developed their own versions of UNIX.) At Berkeley, several enhancements resulted in Berkeley System Derived (BSD) UNIX. The UNIX trademark belongs to the Open Group. The SCO Group owns the original AT&T source code. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 5
6 From: en.wikipedia.org/wiki/history_of_unix Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 6
7 What is Linux? - History Linux is a free, POSIX compatible OS originally written by Linus Torvalds. It was first released in (Linus was a student in Finland at the time.) It is now maintained and updated by people around the world. The term Linux properly refers to only the kernel of the OS, but usually is used to describe the complete OS (kernel, libraries, core utilities and video support) or distribution. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 7
8 What is Linux? - Features Like most modern OSes Linux supports: true multitasking, threads, virtual memory, shared libraries, demand loading, shared copy-on-write executables, memory management, loadable device driver modules, video frame buffering, and TCP/IP networking Although originally written for the Intel processor it has been ported to many other processors. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 8
9 What is Linux? - Distributions There are several Linux distributions: Red Hat/Fedora, SuSE, Slackware, Arch Linux, Debian, Gentoo, Knoppix, Ubuntu, etc. A distribution consists of the complete Linux OS, plus administration and user applications. An installation program also is included. Distributions provide software in packages along with a package management program. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 9
10 UNIX Programming Environments CSLAB/csserver (recommended) CSLAB/KC267/KC136 dual-boot Linux and Windows. Also remote log on to csserver via ssh. Putty and WinSCP are free ssh and sftp Windows clients. ALL PROGRAMS MUST BE TESTED ON LAB MACHINE BEFORE SUBMISSION!!!!!!!!!!! Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 10
11 UNIX Programming Environments VirtualBox Virtual Machine (recommended) Run Linux in a virtual machine. Programming, network and administration Ubuntu installation disk available from instructor Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 11
12 UNIX Programming Environments Install Linux Either stand-alone or dual boot Ubuntu installer can be used to resize a Windows partition to make room for Ubuntu Ubuntu installation disk available from instructor Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 12
13 Compiling C and C++ Programs Create source file using a text editor $ emacs first.cpp & #include <iostream> using namespace std; int main () { cout << "CS 375 is off and running!" << endl; return 0; } Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 13
14 Compiling C and C++ Programs Compile and run (or just make first ) $ g++ o first first.cpp $./first Refer to the man or info pages for info on g++ Use the -v option to get full details: $ g++ v o first first.cpp Using built in specs. Target: i486 linux gnu Configured with:../src/configure... Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 14
15 PATH Environment Variable The PATH variable contains a list of directories that is searched when looking for programs: $ echo $PATH # display PATH /usr/local/sbin:/usr/local/bin:/usr/sbin... A program not in the PATH can be run by using the complete PATHNAME: $ /home/hwang/cs375/examples/first $./first #. indicates current directory You can add the current directory to the PATH (not recommended): $ PATH=$PATH:. $ first Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 15
16 Include Files Let's build a slightly more complex application: $ emacs second.cpp & #include <iostream> #include "mymath.h" using namespace std; int main () { int a, b, c; cout << "Enter first integer: "; cin >> a; cout << "Enter second integer: "; cin >> b; c = sumtwo (a, b); cout << "Their sum is: " << c << endl; return 0; } Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 16
17 Include Files Here are the other files needed: $ cat mymath.cpp # Source file utility funcs #include "mymath.h" int sumtwo (int x, int y) { return x + y; } $ cat mymath.h # Header file int sumtwo (int x, int y); To compile and link: $ g++ o second I. second.cpp mymath.cpp Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 17
18 Include Files g++ automatically looks in the current directory so the -I. is optional here. Standard include directories such as /usr/include, /usr/local/include, /usr/include/c++/4.6 are automatically searched. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 18
19 UNIX Libraries Linux supports static and shared libraries. Shared libraries are used by default. Code from shared libraries is loaded at runtime and may be shared by many applications. Shared libraries are usually located in /lib or /usr/lib and have a.so filename extension. Static libraries are copied into the executable making them much larger, but may be desired if you want to distribute a program in binary form. Use the -static option with g++. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 19
20 UNIX Libraries Example: Put the sumtwo function into a static library $ g++ c mymath.cpp # generate mymath.o object file $ ar rv libmymath.a mymath.o # add obj file to lib $ ranlib libmymath.a # not required under Linux $ g++ o second second.cpp L. lmymath L. option (required) tells g++ to look in the current directory for libraries. lmypath tells g++ to open the library name libmypath.a gcc automatically looks in standard directories for libraries: /usr/lib, /usr/local/lib Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 20
21 UNIX Libraries The ar utility is used to create, extract, list, and add modules to libraries. $ ar t /usr/lib/i386 linux gnu/libm.a # List modules in math lib $ ar x libmymath.a mymath.o # Extract obj file The nm utility can be used to list all of the symbols in a library, object file, or executable. $ nm C libmymath.a $ nm C mymath.o $ nm C second Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 21
22 UNIX Libraries The ldd utility will list the shared libraries required by a program: $ ldd /bin/ls linux gate.so.1 => (0xb774b000) UCRE, UOVE librt.so.1 => /lib/tls/i686/cmov/librt.so $ ldd second linux gate.so.1 => (0xb77d7000) libstdc++.so.6 => /usr/lib/libstdc++.so.6... libm.so.6 => /lib/tls/i686/cmov/libm.so ldconfig is used by the administrator to make shared libraries available to others on the system. Thursday, August 27 CS 375 UNIX System Programming - Lecture 1 22
Overview of Unix / Linux operating systems
Overview of Unix / Linux operating systems Mohammad S. Hasan Staffordshire University, UK Overview of Unix / Linux operating systems Slide 1 Lecture Outline History and development of Unix / Linux Early
More informationIntroduction to Linux Overview and Some History
Introduction to Linux Overview and Some History Computational Science and Engineering North Carolina A&T State University Instructor: Dr. K. M. Flurchick Email: kmflurch@ncat.edu Operating Systems and
More informationIntroduction to Linux
Introduction to Linux EECS 211 Martin Luessi April 14, 2010 Martin Luessi () Introduction to Linux April 14, 2010 1 / 14 Outline 1 Introduction 2 How to Get Started 3 Software Development under Linux 4
More informationCOSC350 System Software
COSC350 System Software Topics: The UNIX/Linux Operating System Basics UNIX/Linux basic commands, login scripts and environment set up, C programming environment, introduction to basic shell scripts Working
More informationPreview. Story about Linux. Story about Linux. Story about Linux. Story about GNU/Linux. Story about GNU/LINUX 1/26/2018
Preview What is Linux What is GNU/Linux Project Introduction to C Programming C System Environment C compilers in Linux Header files Libraries Static Libraries Shared Libraries 1 1985 Professor Andy Tanenbaum
More informationProjects and Environment Introduction
Projects and Environment Introduction A lot to go over today History of Linux Projects Overview Project partners Programming environment Programming language Useful Tools History of Linux The Beginning:
More informationEmbedded Systems Programming
Embedded Systems Programming OS Linux - Toolchain Iwona Kochańska Gdansk University of Technology Embedded software Toolchain compiler and tools for hardwaredependent software developement Bootloader initializes
More informationOperating System Labs. Yuanbin Wu
Operating System Labs Yuanbin Wu cs@ecnu Operating System Labs Introduction to Unix (*nix) Course Overview Operating System Labs Introduction to Unix (*nix) Course Overview Unix / *nix What A family of
More informationUNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29
UNIX The Very 10 Short Howto for beginners Soon-Hyung Yook March 27, 2015 Soon-Hyung Yook UNIX March 27, 2015 1 / 29 Table of Contents 1 History of Unix 2 What is UNIX? 3 What is Linux? 4 How does Unix
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come
More informationUnix to Linux. CS 3113 Fall 2018 Dr. Christan Grant
Unix to Linux CS 3113 Fall 2018 Dr. Christan Grant Outline A Brief History of Unix, C, Linux and the people involved. 2 https://commons.wikimedia.org/wiki/file:unix_history-simple.png 3 UNIX Unix definitions
More informationSaint Louis University. Intro to Linux and C. CSCI 2400/ ECE 3217: Computer Architecture. Instructors: David Ferry
Intro to Linux and C CSCI 2400/ ECE 3217: Computer Architecture Instructors: David Ferry 1 Overview Linux C Hello program in C Compiling 2 History of Linux Way back in the day: Bell Labs Unix Widely available
More informationSpring Modern Computer Science in a Unix Like Environment CIS c
Spring 2009 Modern Computer Science in a Unix Like Environment http://www.seas.upenn.edu/~cis399ux 25/01/09 Slide 1 What is Unix/Linux? Linux itself is an Operating System Kernel Linux is often used to
More informationBrief Linux Presentation. July 10th, 2006 Elan Borenstein
Brief Linux Presentation July 10th, 2006 Elan Borenstein History 1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) History
More informationIntroduction to Operating Systems. Note Packet # 1. CSN 115 Operating Systems. Genesee Community College. CSN Lab Overview
Introduction to Operating Systems Note Packet # 1 CSN 115 Operating Systems Genesee Community College CSN Lab Overview Dual booted Windows/Linux Workstations Linux workstations currently run CentOS and
More informationCS Fundamentals of Programming II Fall Very Basic UNIX
CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)
More informationCS108 Software Systems: UNIX. Fall 2011
CS108 Software Systems: UNIX Fall 2011 CS108 Fall 2011 2 Course Info cs.utexas.edu/ edwardsj/teaching/2011fall/cs108 CS108 Fall 2011 3 Why Linux? Multi-user, multi-process operating system Open-source
More informationToday. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview
Today CSCI 4061 Introduction to s Instructor: Abhishek Chandra OS Evolution Unix Overview Unix Structure Shells and Utilities Calls and APIs 2 Evolution How did the OS evolve? Dependent on hardware and
More informationTopics. Operating System. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we?
Topics Operating System What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Guess if you are not sure Pick an OS
More informationToday. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview
Today CSCI 4061 Introduction to s Instructor: Abhishek Chandra OS Evolution Unix Overview Unix Structure Shells and Utilities Calls and APIs 2 Evolution How did the OS evolve? Generation 1: Mono-programming
More informationIntroduction to Linux
Introduction to Operating Systems All computers that we interact with run an operating system There are several popular operating systems Operating Systems OS consists of a suite of basic software Operating
More informationCS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX
CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot
More informationLecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter
Lecture Topics Today: Operating System Overview (Stallings, chapter 2.1-2.4, 2.8-2.10) Next: Processes (Stallings, chapter 3.1-3.6) 1 Announcements Consulting hours posted Self-Study Exercise #3 posted
More informationIntroduc+on. General Information. General Information. General Information. General Information. General Information
Introduc+on IT244 - Introduc+on to Linux / Unix Instructor: Bo Sheng Location and Time S-3-143, Mon & Wed, 4:00 ~ 5:15pm Door code: 261359* Office Hours Science Center, S-3-167, Mon & Wed, 2 ~ 4pm TA office
More informationOverview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions
Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System
More informationLibraries and Compilation Environment (I) Computadors Grau en Ciència i Enginyeria de Dades Q2
Libraries and Compilation Environment (I) Computadors Grau en Ciència i Enginyeria de Dades 2018-2019 Q2 Facultat d Informàtica de Barcelona Departament d Arquitectura de Computadors Applications running
More informationCS 375 UNIX System Programming Spring 2014 Syllabus
CS 375 UNIX System Programming Spring 2014 Syllabus Instructor Dr. Deborah Hwang KC 264, 488 2193, hwang@evansville.edu Home page: http://csserver.evansville.edu/~hwang Office Hours: See instructor's home
More informationECE 2036 Lab 1: Introduction to Software Objects
ECE 2036 Lab 1: Introduction to Software Objects Assigned: Aug 24/25 2015 Due: September 1, 2015 by 11:59 PM Reading: Deitel& Deitel Chapter 2-4 Student Name: Check Off/Score Part 1: Check Off/Score Part
More informationIntroduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University
Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an
More informationChapter 1 An Introduction to C++, Unix, SSH and Komodo Edit
Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit Contents 1 An Introduction to C++, Unix, SSH and Komodo Edit 1.1 Introduction 1.2 The C++ Language 1.2.1 A Brief Introduction 1.2.1.1 Recommended
More informationUnit 10. Linux Operating System
1 Unit 10 Linux Operating System 2 Linux Based on the Unix operating system Developed as an open-source ("free") alternative by Linux Torvalds and several others starting in 1991 Originally only for Intel
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationModern C++ for Computer Vision and Image Processing. Igor Bogoslavskyi and Cyrill Stachniss
Modern C++ for Computer Vision and Image Processing Igor Bogoslavskyi and Cyrill Stachniss Outline Course introduction Linux introduction C++ syntax Hello World! 2 What you will learn in course How to
More informationCS101 Linux Shell Handout
CS101 Linux Shell Handout Introduction This handout is meant to be used as a quick reference to get a beginner level hands on experience to using Linux based systems. We prepared this handout assuming
More informationCompiling C/C++ programs
Name: Student ID: Lab Instructor: Borja Sotomayor Do not write in this area 1 2 3 TOTAL Maximum possible points: 20 + 2 NOTE: The lab session will take place in the Linux machines of the Maclab. This lab
More informationCourse Wiki. Today s Topics. Web Resources. Amazon EC2. Linux. Apache PHP. Workflow and Tools. Extensible Networking Platform 1
Today s Topics Web Resources Amazon EC2 Linux Apache PHP Workflow and Tools Extensible Networking Platform 1 1 - CSE 330 Creative Programming and Rapid Prototyping Course Wiki Extensible Networking Platform
More informationCISC 220 fall 2011, set 1: Linux basics
CISC 220: System-Level Programming instructor: Margaret Lamb e-mail: malamb@cs.queensu.ca office: Goodwin 554 office phone: 533-6059 (internal extension 36059) office hours: Tues/Wed/Thurs 2-3 (this week
More informationCOURSE OUTLINE. UNIX Programming 2014 Fall by Euiseong Seo
COURSE OUTLINE UNIX Programming 2014 Fall by Euiseong Seo Overview What this course is about Who teaches this course Why you have to take this course What you will learn in this course What you will earn
More informationErrors During Compilation and Execution Background Information
Errors During Compilation and Execution Background Information Preprocessor Directives and Compilation #define - defines a macro, identified by . During compilation, all instances of
More informationIntroduction: What is Unix?
Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix
More informationULI101 Introduction to Unix and Linux Week 1 Origin and History of Unix
ULI101 Introduction to Unix and Linux Week 1 Origin and History of Unix 1. Welcome to ULI101! This Internet has become part of our daily lives. This course introduces you to the operating system and network
More informationSystems Programming. The Unix/Linux Operating System
Systems Programming The Unix/Linux Operating System 1 What is UNIX? A modern computer operating system Operating system: a program that acts as an intermediary between a user of the computer and the computer
More informationWelcome to ULI101! The Internet has become part of our daily lives.
ULI101 Week 01 Week Overview Course introduction Obtaining your Seneca accounts Changing passwords The Matrix server The role of an operating system *nix overview Open source philosophy Linux GUI The terminal
More informationUnit 13. Linux Operating System Debugging Programs
1 Unit 13 Linux Operating System Debugging Programs COMPILATION 2 3 Editors "Real" developers use editors designed for writing code No word processors!! You need a text editor to write your code Eclipse,
More informationOregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011
Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Spring 2011 Outline Using Secure Shell Clients GCC Some Examples Intro to C * * Windows File transfer client:
More informationLecture 1. A. Sahu and S. V. Rao. Indian Institute of Technology Guwahati
Lecture 1 Introduction to Computing A. Sahu and S. V. Rao Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati 1 Outline Computer System Problem Solving and Flow Chart Linux Command ls, mkdir,
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationObject Oriented Design
Object Oriented Design Lecture 2: Introduction to C++ Class and Object Objects are essentially reusable software components. There are date objects, time objects, audio objects, video objects, automobile
More informationWelcome to MCS 360. content expectations. using g++ input and output streams the namespace std. Euclid s algorithm the while and do-while statements
Welcome to MCS 360 1 About the Course content expectations 2 our first C++ program using g++ input and output streams the namespace std 3 Greatest Common Divisor Euclid s algorithm the while and do-while
More informationCMPSC 311- Introduction to Systems Programming Module: UNIX/Operating Systems
CMPSC 311- Introduction to Systems Programming Module: UNIX/Operating Systems Professor Patrick McDaniel Fall 2015 Assignment #1 See webpage Due 9/14/15 Page 2 UNIX Utilities: tar tar collects multiple
More informationCptS 360 (System Programming) Unit 2: Introduction to UNIX and Linux
CptS 360 (System Programming) Unit 2: Introduction to UNIX and Linux Bob Lewis School of Engineering and Applied Sciences Washington State University Spring, 2018 Motivation APIs have a history: Learn
More informationLaboratorio di Programmazione. Prof. Marco Bertini
Laboratorio di Programmazione Prof. Marco Bertini marco.bertini@unifi.it http://www.micc.unifi.it/bertini/ How the compiler works Programs and libraries The compiler In C++, everytime someone writes ">>
More informationCS 246 Winter Tutorial 1
CS 246 Winter 2015 - Tutorial 1 January 11, 2016 1 Summary General Administration Stuff CS Undergraduate Environment Useful Software Basic Commands.profile Text Editors 2 General Administration Stuff Course
More informationSoftware Project. Lecturers: Ran Caneti, Gideon Dror Teaching assistants: Nathan Manor, Ben Riva
Software Project Lecturers: Ran Caneti, Gideon Dror Teaching assistants: Nathan Manor, Ben Riva Emails: (canetti/benriva)@post.tau.ac.il nathan.manor@gmail.com gideon@mta.ac.il http://www.cs.tau.ac.il/~roded/courses/soft-project10.html
More informationC++ For Science and Engineering Lecture 2
C++ For Science and Engineering Lecture 2 John Chrispell Tulane University Wednesday August 25, 2010 Basic Linux Commands Command ls pwd cd What it does. lists the files in the current directory prints
More information*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG
*nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install
More informationIntroduction to Cygwin Operating Environment
Introduction to Cygwin Operating Environment ICT 106 Fundamentals of Computer Systems Eric Li ICT106_Pract_week 1 1 What s Cygwin? Emulates Unix/Linux environment on a Windows Operating System; A collection
More informationChapter 1 Introduction to Computers and C++ Programming
Chapter 1 Introduction to Computers and C++ Programming 1 Outline 1.1 Introduction 1.2 What is a Computer? 1.3 Computer Organization 1.7 History of C and C++ 1.14 Basics of a Typical C++ Environment 1.20
More informationEECS2301. Lab 1 Winter 2016
EECS2301 Lab 1 Winter 2016 Lab Objectives In this lab, you will be introduced to the Linux operating system. The basic commands will be presented in this lab. By the end of you alb, you will be asked to
More informationIntroduction to Linux. Fundamentals of Computer Science
Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard
More informationTopics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History.
Topics Operating System I What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Pick an OS you know: What are some
More informationLaboratorio di Tecnologie dell'informazione
Laboratorio di Tecnologie dell'informazione Ing. Marco Bertini marco.bertini@unifi.it http://www.micc.unifi.it/bertini/ How the compiler works Programs and libraries The compiler "In C++, everytime someone
More informationCS 261 Recitation 1 Compiling C on UNIX
Oregon State University School of Electrical Engineering and Computer Science CS 261 Recitation 1 Compiling C on UNIX Winter 2017 Outline Secure Shell Basic UNIX commands Editing text The GNU Compiler
More informationOverloading Functions & Command Line Use in C++ CS 16: Solving Problems with Computers I Lecture #6
Overloading Functions & Command Line Use in C++ CS 16: Solving Problems with Computers I Lecture #6 Ziad Matni Dept. of Computer Science, UCSB A reminder about Labs Announcements Please make sure you READ
More informationCompiling C++ Programs Flow Control in C++ CS 16: Solving Problems with Computers I Lecture #3
Compiling C++ Programs Flow Control in C++ CS 16: Solving Problems with Computers I Lecture #3 Ziad Matni Dept. of Computer Science, UCSB Compiling Programs in C++ Input and Output Streams Simple Flow
More informationLinux Tutorial #1. Introduction. Login to a remote Linux machine. Using vim to create and edit C++ programs
Linux Tutorial #1 Introduction The Linux operating system is now over 20 years old, and is widely used in industry and universities because it is fast, flexible and free. Because Linux is open source,
More informationThe Unix Family. Linux 101. GNU/Linux distributions. Even more. MULTICS MIT/GE/Bell Labs. UNIX AT&T (Bell Labs) Mach, Carnegie Mellon
The Unix Family MULTICS MIT/GE/Bell Labs Linux 101 Johan Montelius KTH 2017 Mach, Carnegie Mellon GNU/Hurd OS X, Apple UNIX AT&T (Bell Labs) BSD Berkeley SysV AT&T Minix, Tanenbaum FreeBSD NetBSD GNU/Linux,
More informationChapter 1 An Introduction to C++, Unix, SSH and Komodo Edit
Chapter 1 An Introduction to C++, Unix, SSH and Komodo Edit A portion of this lab is to be done during the scheduled lab time. The take-home programming assignment is to be turned in before the next lab;
More informationBasic Computer Programming for ISNE. Santi Phithakkitnukoon ผศ.ดร.ส นต พ ท กษ ก จน ก ร
269102 Basic Computer Programming for ISNE Santi Phithakkitnukoon ผศ.ดร.ส นต พ ท กษ ก จน ก ร Syllabus Instructor: Asst. Prof. Dr. Santi Phithakkitnukoon ผศ.ดร.ส นต พ ท กษ ก จน ก ร (อ.เอ ม) Office room:
More informationMore Examples Using Functions and Command-Line Arguments in C++ CS 16: Solving Problems with Computers I Lecture #6
More Examples Using Functions and Command-Line Arguments in C++ CS 16: Solving Problems with Computers I Lecture #6 Ziad Matni Dept. of Computer Science, UCSB Administrative CHANGED T.A. OFFICE/OPEN LAB
More informationLinux. What is it? What s good about it? What s bad about it?
Linux What is it? What s good about it? What s bad about it? History Minix by Tanenbaum in late 1980s Linus Torvalds started Linux as a hobby project to improve on Minix First official public version late
More informationIntroduction to Linux (Part I) BUPT/QMUL 2018/03/14
Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.
More informationLinux at the Command Line Don Johnson of BU IS&T
Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you
More informationEKT332 COMPUTER NETWORK
EKT332 COMPUTER NETWORK LAB 1 INTRODUCTION TO GNU/LINUX OS Lab #1 : Introduction to GNU/Linux OS Objectives 1. Introduction to Linux File System (Red Hat Distribution). 2. Introduction to various packages
More informationEP241 Computer Programming
EP241 Computer Programming Topic 1 Dr. Ahmet BİNGÜL Department of Engineering Physics University of Gaziantep Modifications by Dr. Andrew BEDDALL Department of Electric and Electronics Engineering Sep
More informationEL2310 Scientific Programming
(yaseminb@kth.se) Overview Overview Roots of C Getting started with C Closer look at Hello World Programming Environment Discussion Basic Datatypes and printf Schedule Introduction to C - main part of
More informationIntroduction to Unix. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University
Introduction to Unix Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is an OS? OS is a resource manager Sharing Protection Fairness Performance
More informationLINUX FUNDAMENTALS. Supported Distributions: Red Hat Enterprise Linux 6 SUSE Linux Enterprise 11 Ubuntu LTS. Recommended Class Length: 5 days
LINUX FUNDAMENTALS The course is a challenging course that focuses on the fundamental tools and concepts of Linux and Unix. Students gain proficiency using the command line. Beginners develop a solid foundation
More informationEL2310 Scientific Programming
Lecture 6: Introduction to C (pronobis@kth.se) Overview Overview Lecture 6: Introduction to C Roots of C Getting started with C Closer look at Hello World Programming Environment Schedule Last time (and
More informationCS31 Discussion 1E. Jie(Jay) Wang Week1 Sept. 30
CS31 Discussion 1E Jie(Jay) Wang Week1 Sept. 30 About me Jie Wang E-mail: holawj@gmail.com Office hour: Wednesday 3:30 5:30 BH2432 Thursday 12:30 1:30 BH2432 Slides of discussion will be uploaded to the
More informationOperating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings
Operating Systems: Internals and Design Principles Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Operating systems are those
More informationSystems Programming and Computer Architecture ( ) Exercise Session 01 Data Lab
Systems Programming and Computer Architecture (252-0061-00) Exercise Session 01 Data Lab 1 Goal Get familiar with bit level representations, C and Linux Thursday, September 22, 2016 Systems Programming
More informationLab 2: Pointers. //declare a pointer variable ptr1 pointing to x. //change the value of x to 10 through ptr1
Lab 2: Pointers 1. Goals Further understanding of pointer variables Passing parameters to functions by address (pointers) and by references Creating and using dynamic arrays Combing pointers, structures
More informationVARIABLES & ASSIGNMENTS
Fall 2018 CS150 - Intro to CS I 1 VARIABLES & ASSIGNMENTS Sections 2.1, 2.2, 2.3, 2.4 Fall 2018 CS150 - Intro to CS I 2 Variables Named storage location for holding data named piece of memory You need
More informationOutline. overview & concepts files and processes in UNIX the platform and os modules. importing the turtle module drawing a spiral colors with turtle
Outline 1 Operating Systems overview & concepts files and processes in UNIX the platform and os modules 2 Turtle Graphics importing the turtle module drawing a spiral colors with turtle 3 Summary + Assignments
More informationAccounting Software. Collaboration Software
Accounting Software Android Application Software Bitmap Image BlackBerry OS Boot Process Buffer Collaboration Software Command Line Interface Commercial Software An application program that is used to
More informationIntroduction to Programming
Introduction to Programming session 5 Instructor: Reza Entezari-Maleki Email: entezari@ce.sharif.edu 1 Fall 2010 These slides are created using Deitel s slides Sahrif University of Technology Outlines
More informationIntermediate Programming, Spring Misha Kazhdan
600.120 Intermediate Programming, Spring 2017 Misha Kazhdan Outline Unix/Linux command line Basics of the Emacs editor Compiling and running a simple C program Cloning a repository Connecting to ugrad
More informationWe first learn one useful option of gcc. Copy the following C source file to your
Lecture 5 p.1 Faculty of Computer Science, Dalhousie University CSCI 2132 Software Development Lab 5: gcc and gdb tools 10-Oct-2018 Location: Teaching Labs Time: Thursday Instructor: Vlado Keselj Lab 5:
More informationCS11002 Programming and Data Structures Spring Introduction
Title page CS11002 Programming and Data Structures Spring 2008 Goutam Biswas Abhijit Das Dipankar Sarkar Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Jan 04, 2008
More informationComputer. Operating Systems Introduction to Operating System (OS)
Computer Operating Systems Introduction to Operating System (OS) A computer is a system composed of two major components: hardware and software. Hardware is the physical equipment. Software is the collection
More informationR- installation and adminstration under Linux for dummie
R- installation and adminstration under Linux for dummies University of British Columbia Nov 8, 2012 Outline 1. Basic introduction of Linux Why Linux (department servers)? Some terminology Tools for windows
More informationCOPYRIGHTED MATERIAL. Unix Fundamentals. Brief History
1 Unix Fundamentals The Unix operating system was created more than 30 years ago by a group of researchers at AT&T s Bell Laboratories. During the three decades of constant development that have followed,
More informationLINUX System Administration. Perspectives, Practices and Expectations
LINUX System Administration Perspectives, Practices and Expectations Eunuchs or UNIX? System Administration? General user administration Disk administration Application Administration Scripting and automation
More informationPrerequisites: Students should be comfortable with computers. No familiarity with Linux or other Unix operating systems is required.
GL-120: Linux Fundamentals Course Length: 4 days Course Description: The GL120 is a challenging course that focuses on the fundamental tools and concepts of Linux and Unix. Students gain proficiency using
More informationCS Operating Systems, Fall 2018 Project #0 Description
CS314-002 Operating Systems, Fall 2018 Project #0 Description Due: 11:00 A.M., September 5, 2018 I. Project Narrative: The primary objectives in this project are: (1) confirm your account (user name and
More informationLinux Operating System
Linux Operating System IT250 Unit 1 Chapters 1, 2, and 3 An Introduction to Linux Linux Operating Systems Wednesday, 9:00 am 1:20 pm Attendance is Mandatory! Each class may begin with a quiz from previous
More informationCS197U: A Hands on Introduction to Unix
CS197U: A Hands on Introduction to Unix Lecture 4: My First Linux System Tian Guo University of Massachusetts Amherst CICS 1 Reminders Assignment 2 was due before class Assignment 3 will be posted soon
More informationC++ Programming for Non-C Programmers. Supplement
C++ Programming for Non-C Programmers Supplement ii C++ Programming for Non-C Programmers C++ Programming for Non-C Programmers Published by itcourseware, 10333 E. Dry Creek Rd., Suite 150, Englewood,
More informationLecture 1: Preliminaries
Lecture 1: Preliminaries Edgardo Molina Department of Computer Science City College of New York August 30, 2011 Edgardo Molina (CS@CCNY) Lecture 1 August 30, 2011 1 / 44 Info and Schedule Course Info and
More information