CS197U: A Hands on Introduction to Unix

Size: px
Start display at page:

Download "CS197U: A Hands on Introduction to Unix"

Transcription

1 CS197U: A Hands on Introduction to Unix Lecture 4: My First Linux System Tian Guo University of Massachusetts Amherst CICS 1

2 Reminders Assignment 2 was due before class Assignment 3 will be posted soon Please START EARLY so there is time to resolve any problems As always, let me know if you are skipping an assignment If you have questions, me. 2

3 Outline Last class... Learned what an OS does Multi-tasking, resource management, and security Overview of Linux file system structure File permissions 3

4 Quick Quiz Questions 1. What is the lowest level directory in the filesystem called? 2. What type of path starts from this directory? 3. What symbol is used to write a path relative to your home directory? 4. What types of files are stored in the /bin directory? Answers 1. The root directory 2. An absolute path 3. ~/ 4. Executable Files 5. Read, Write and Execute 6. chmod 5. List the three types of permissions that can be set for files and directories 6. What is the Linux command for changing file permissions 4

5 File permissions Control access for the user, group, or world (everyone else) group means everyone in the user s group (excluding the user) Abbreviation to use with chmod: g world means everyone who is not in the user s group Abbreviation to use with chmod: o all means everyone Abbreviation to use with chmod: a chmod - R a+x <dir> Recursively change permissions for all the files + dirs in <dir> a o g u 5

6 Be careful when you run this command What s the most dangerous command you can run? elnux3> rm rf * Removes everything in the current directory, including subdirectories Without asking you for confirmation! (- f flag) Depends on where you run this command Run in home directory? Contents of home directory are GONE! DON T do these things! Run in root /? Almost everything on the hard disk will be GONE! To remove everything you would have to run the command with sudo We will learn about sudo in this lecture 6

7 Handling the processes top: A dynamic real-time view of the system A friendlier version: htop Similar to Task Manager (Windows OS) and Activity Monitor (Mac OS) ps : list the process status By default: processes with terminal sessions that belongs to current user ps aux: all users, all processes pgrep: get the processes IDs pgrep PROCESSNAME l : returns both ID and name Kill: send a signal to process kill PROCESSID or kill -9 PROCESSID

8 Outline This class: Linux distributions Using virtualization to run Linux on your own computer Installing software in Linux 8

9 What OS is most popular? Web users" source: Dec 2011 Win7 Vista Win XP Linux Mac Aug 2015 Win10 Win8 Win7 Vista NT* WinXP Linux Mac Mobile 4% 5% 9% 11% 5% 20% 47% 4% 0% 6% 34% 1% 5% 49% 9

10 What OS is most popular? Web Servers" source: (spring 2010) Windows Unix-Like Windows Unix-Like 19% 32% 81% 68% 10

11 Linux distributions You don t really install Linux like you would for Windows OS There is one Linux kernel... but lots of different Linux distributions A distribution is: A Linux kernel (the core OS) A collection of pre-packaged applications Sometimes: a window manager with graphical interface 11

12 Top distributions Ubuntu - rose to popularity due to ease of use Debian - Ubuntu s parent RedHat, Fedora, CentOS Slackware - known for simplicity Gentoo FreeBSD... hundreds more 12

13 Distribution Popularity Mint is based on Ubuntu Avg Hits / day 2011 Data biased towards desktop users source: 13

14 Distribution Popularity Mint is based on Ubuntu Avg Hits / day Data biased towards desktop users source: 14

15 Ubuntu 2004: Made it easy to install Linux (nice installer, single CD) Provided helpful forums and wiki Pretty revolutionary compared to previous approaches... Multiple CDs for Redhat Gentoo compiles the entire system from scratch Mainly designed for personal use, not for running servers 15

16 Window Managers: Gnome vs KDE Underneath, all Linux distros are very similar Same Linux kernel, general libraries, basic utilities Graphically, may look very different depending on the window manager Gnome and KDE are the most popular window managers Some software requires a specific window manager generally if it starts with a G or a K... 16

17 Ubuntu Window Manager Demo Unity v.s. KDE

18 Outline This class: Linux distributions Using virtualization to run Linux on your own computer Installing software in Linux 18

19 Running multiple operating systems Dual Boot - install two operating systems on one computer Need either two hard disks, or two disk partitions If you do this, be careful Install Windows first, then Linux Linux will setup a boot loader to let you switch between OSes at startup Virtualization - run a second operating system inside the first The second OS is run as a Virtual Machine (VM) VM tricks OS running inside it into thinking it owns the full machine Can run multiple VMs at once 19

20 Virtualization Several different virtualization methods Full Virtualization: A control program produces virtual machines Used for: Sharing a system between multiple users Isolating users/systems Full Virtualization App 1 App 2 Windows or Linux Virtualization Platform 20

21 Virtualization Hosted virtualization: Operating system runs the virtualization software Used for: Running apps for a different OS than you use Testing possibly unstable applications or OS We will use this It s easy and free Hosted Virtualization VMs App 1 App 1 App 2 Windows or Linux App 2 Windows 21

22 Virtualization platforms VMware - biggest virtualization company Makes both hosted and full virtualization platforms Has several free versions Xen - started as open source project, now part commercial Runs under Linux only Virtualbox - sort of open source Runs in Windows, Linux, or OS X Can host Windows or Linux VMs KVM - for Linux only Parallels - for Macs only 22

23 Using Virtualbox Available on Edlab machines in Linux only Or you can install it on your own computer: The VirtualBox control program lets you Create new virtual machines Start / Stop VMs Adjust configuration Amount of RAM Disk size Network settings It will ask you to register." You can just cancel 23

24 Your first Ubuntu virtual machine To create the VM, follows the guide on: Start the new VM, and watch it boot up Clicking inside VM display window captures the mouse / keyboard Press [right ctrl/cmd] key to release (varies by host operating system) Setting up VM is part of next HW 24

25 Virtualbox DEMO 25

26 Starting with Ubuntu Log in with your username and password Looks around and try: Change the account password: type passwd in a terminal Don t forget the new one! Resources: - free guide (no pictures)

27 Outline This class: Linux distributions Using virtualization to run Linux on your own computer Installing software in Linux 27

28 Administration: being a super user In the Edlab you are a basic user Limited permissions Can t write outside your home directory Can t install new software Inside your VM, YOU are in control Try not to break things... but if you do, it s easy to restore! The root user Root is a special account for the most powerful administrator If you are root you can do anything 28

29 Becoming root Don t want to use root as main account Only switch to root when needed Use su - switch user command Start root shell: sudo i / sudo s can be used with any username: su <username> Will ask for password! Ubuntu: Don t have to create a root account Helps reduce security issues 29

30 sudo - safely acting as root Lets you run a command as if you were root Does not require a root account to exist You must be on the sudoers list to use sudo Usage: sudo command As non-root user, will probably ask you for your password the first time 15 minutes password-free period 30

31 Getting software How to install software? In Windows or OS X, basic OS is always the same Easy to add new software because dependencies are known but two Linux systems may have very different configurations, drivers, libraries, etc! Software repositories You could build all applications from source code A lot easier to use distro specific repositories yum, RPM, apt-get, etc 31

32 Manual Installation Fetch source/binaries and install by hand Advantage: customizable Advantage: no limitations to what can be installed Disadvantage: must manage everything Disadvantage: tedious First step: get the source code, usually stored as a tar ball compressed file.tar.gz or file.tgz extract using tar -xzf file.tar.gz 32

33 make - installing from source make is a tool to help compile complex software Typical steps to build application from source code./configure - verifies that you have proper libraries, sets configuration make - compiles all of the source code in a temporary directory will use things like gcc, javac, etc make install - copies the compiled executables and libraries to their proper homes Do only the last step as root! otherwise bugs in the build process could corrupt important files in general, don t do something as root unless it is required 33

34 Package Managers Ubuntu/Debian: apt-get FreeBSD: addpkg, Redhat: rpm, Centos/Fedora: yum Database of packages, requirements, etc Install/update/uninstall programs fetch, install, update, and delete packages Advantage: easier and faster than manual installation or compiling Disadvantage: package database doesn t have everything Disadvantage: doesn t allow customization 34

35 apt-get - using a package manager apt- get can install, remove, and provide information about software To use, you must either be logged in as root, or use sudo ubuntu> apt- get install firefox E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? ubuntu> sudo apt- get install firefox Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed:... 35

36 Lecture 4 Review There are lots and lots of Linux distributions We will use Ubuntu... because it s easy to use Virtualization is an easy way to run multiple OSes on one computer We will use Virtualbox... because it is free and easy to set up The Super User root is all powerful on Linux systems Ubuntu uses sudo instead of creating a root user Assignment 3 will be posted soon and will be due Next Thursday 3:45PM. 36

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 3: UNIX Operating System Organization Tian Guo CICS, Umass Amherst 1 Reminders Assignment 2 is due THURSDAY 09/24 at 3:45 pm Directions are on the website

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 5 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 User Operating System Interface - CLI CLI

More information

VIRTUALBOX UBUNTU EBOOK

VIRTUALBOX UBUNTU EBOOK 17 March, 2018 VIRTUALBOX UBUNTU EBOOK Document Filetype: PDF 277.47 KB 0 VIRTUALBOX UBUNTU EBOOK It installs on your existing Intel or AMD-based computers, whether they are running Windows, Mac, Linux

More information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 11: WWW and Wrap up Tian Guo University of Massachusetts Amherst CICS 1 Reminders Assignment 4 was graded and scores on Moodle Assignment 5 was due and you

More information

UNIT 9 Introduction to Linux and Ubuntu

UNIT 9 Introduction to Linux and Ubuntu AIR FORCE ASSOCIATION S CYBERPATRIOT NATIONAL YOUTH CYBER EDUCATION PROGRAM UNIT 9 Introduction to Linux and Ubuntu Learning Objectives Participants will understand the basics of Linux, including the nature,

More information

1 Installation (briefly)

1 Installation (briefly) Jumpstart Linux Bo Waggoner Updated: 2014-09-15 Abstract A basic, rapid tutorial on Linux and its command line for the absolute beginner. Prerequisites: a computer on which to install, a DVD and/or USB

More information

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou EECS 2031 - Software Tools Lab 2 Tutorial: Introduction to UNIX/Linux Tilemachos Pechlivanoglou (tipech@eecs.yorku.ca) Sep 22 & 25, 2017 Material marked with will be in your exams Sep 22 & 25, 2017 Introduction

More information

Introduction to Linux

Introduction 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 information

Linux Kung Fu. Stephen James UBNetDef, Spring 2017

Linux Kung Fu. Stephen James UBNetDef, Spring 2017 Linux Kung Fu Stephen James UBNetDef, Spring 2017 Introduction What is Linux? What is the difference between a client and a server? What is Linux? Linux generally refers to a group of Unix-like free and

More information

Introduction. What is Linux? What is the difference between a client and a server?

Introduction. What is Linux? What is the difference between a client and a server? Linux Kung Fu Introduction What is Linux? What is the difference between a client and a server? What is Linux? Linux generally refers to a group of Unix-like free and open-source operating system distributions

More information

This is Lab Worksheet 7 - not an Assignment

This is Lab Worksheet 7 - not an Assignment This is Lab Worksheet 7 - not an Assignment This Lab Worksheet contains some practical examples that will prepare you to complete your Assignments. You do not have to hand in this Lab Worksheet. Make sure

More information

This is Lab Worksheet/Installation 7

This is Lab Worksheet/Installation 7 This is Lab Worksheet/Installation 7 This Lab Worksheet/Installation contains essential installation work needed for your upcoming Assignments. You do not have to hand in this Lab Worksheet, but there

More information

Introduction To Linux. Rob Thomas - ACRC

Introduction To Linux. Rob Thomas - ACRC Introduction To Linux Rob Thomas - ACRC What Is Linux A free Operating System based on UNIX (TM) An operating system originating at Bell Labs. circa 1969 in the USA More of this later... Why Linux? Free

More information

Course Wiki. Today s Topics. Web Resources. Amazon EC2. Linux. Apache PHP. Workflow and Tools. Extensible Networking Platform 1

Course 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 information

INTRODUCTION TO LINUX

INTRODUCTION TO LINUX INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free

More information

Operating Systems Linux 1-2 Measurements Background material

Operating Systems Linux 1-2 Measurements Background material Operating Systems Linux 1-2 Measurements Background material Introduction The Linux measurements were designed to allow you to have an impression about the administration of Linux severs along with providing

More information

Introduction to Linux

Introduction 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 information

GPARTED GENERAL DOCUMENTATION (The doc size is 4MB)

GPARTED GENERAL DOCUMENTATION (The doc size is 4MB) Last update : 06/24/2006 GPARTED GENERAL DOCUMENTATION (The doc size is 4MB) Please, first have a look at the General introduction! How to resize partition, step by step The livecd-howto -1- Getting and

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 *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 information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction 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 information

Why You Should Not Use Arch

Why You Should Not Use Arch Why You Should Not Use Arch A new users guide to highly personalized, low maintenance operating system. Artur Frącek CC BY-NC-ND 4.0 1 Intro Arch is a very good Linux distribution so it is not a surprise

More information

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Overview 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 information

How To Manually Install Software In Linux Mint 14 Cinnamon Edition

How To Manually Install Software In Linux Mint 14 Cinnamon Edition How To Manually Install Software In Linux Mint 14 Cinnamon Edition the Cinnamon Edition but it is compatible with a wider variety of hardware connect to them via HTTP or FTP to install and upgrade their

More information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017 Linux Kung Fu Ross Ventresca UBNetDef, Fall 2017 GOTO: https://apps.ubnetdef.org/ What is Linux? Linux generally refers to a group of Unix-like free and open source operating system distributions built

More information

Chapter 2. Operating-System Structures

Chapter 2. Operating-System Structures Chapter 2 Operating-System Structures 2.1 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Introduction of Linux

Introduction of Linux Introduction of Linux 阳 oslab2018_class1@163.com 寅 oslab2018_class2@163.com PART I Brief Introduction Basic Conceptions & Environment Install & Configure a Virtual Machine Basic Commands PART II Shell

More information

Chap2: Operating-System Structures

Chap2: Operating-System Structures Chap2: Operating-System Structures Objectives: services OS provides to users, processes, and other systems structuring an operating system how operating systems are designed and customized and how they

More information

Basic Linux Security. Roman Bohuk University of Virginia

Basic Linux Security. Roman Bohuk University of Virginia Basic Linux Security Roman Bohuk University of Virginia What is Linux? An open source operating system Project started by Linus Torvalds kernel Kernel: core program that controls everything else (controls

More information

Fedora Core: Made Simple

Fedora Core: Made Simple Table of Contents Installing Fedora...2 Before you begin...2 Compatible Hardware...2 Minimum Requirements...2 Disk Space Requirements...2 Help! Booting from the CD ROM Drive Fails!...2 Installing Fedora

More information

Installation of Fedora 12 with CD

Installation of Fedora 12 with CD Prepared by investech.wordpress.com Installation of Fedora 12 with Net Install CD Version 1.0 investech.wordpress.com 07-12-09 This document is produced under Creative Common License (Attribution No Derivatives).

More information

INF322 Operating Systems

INF322 Operating Systems Galatasaray University Computer Engineering Department INF322 Operating Systems TP01: Introduction to Linux Ozan Çağlayan ocaglayan@gsu.edu.tr ozancaglayan.com Fundamental Concepts Definition of Operating

More information

CSE 390a Lecture 3. Multi-user systems; remote login; editors; users/groups; permissions

CSE 390a Lecture 3. Multi-user systems; remote login; editors; users/groups; permissions CSE 390a Lecture 3 Multi-user systems; remote login; editors; users/groups; permissions slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/390a/ 1

More information

Introduction to Linux. Fundamentals of Computer Science

Introduction 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 information

Network Monitoring & Management. A few Linux basics

Network Monitoring & Management. A few Linux basics Network Monitoring & Management A few Linux basics Our chosen platform Ubuntu Linux 14.04.3 LTS 64-bit LTS = Long Term Support no GUI, we administer using ssh Ubuntu is Debian underneath There are other

More information

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa

Working with Ubuntu Linux. Track 2 Workshop June 2010 Pago Pago, American Samoa Working with Ubuntu Linux Track 2 Workshop June 2010 Pago Pago, American Samoa Assumptions You are comfortable with the following: Core Linux concepts - Shells - Permissions - Graphical user interface

More information

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box

Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box Building a 64-bit CentOS 7 Workstation using Oracle Virtual Box jthomas Enterprises, 2016 Building a CentOS 7 Workstation using Oracle VirtualBox 1 Section 1 Before You Begin This section details the environment

More information

Introduction to Linux

Introduction to Linux Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions

More information

Virtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you. https://www.virtualbox.org/

Virtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you. https://www.virtualbox.org/ Virtual Machine Anyone have problems installing it? VM: Virtual Box - allows you to run a different operating system within the current operating system of your machine. https://www.virtualbox.org/ Linux

More information

IOL INTACT Installation Guide

IOL INTACT Installation Guide IOL INTACT Installation Guide February 25, 2014 Contents 1 System Requirements 1 2 Installing IOL INTACT 3 3 Post-Installation 4 3.1 Wireshark............................. 4 3.2 Opening pcap Files........................

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

1. Open VirtualBox and start your linux VM. Boot the machine and log in with the user account you created in Lab #1. Open the Terminal application.

1. Open VirtualBox and start your linux VM. Boot the machine and log in with the user account you created in Lab #1. Open the Terminal application. CIT 210L Name: Lab #2 1. Open VirtualBox and start your linux VM. Boot the machine and log in with the user account you created in Lab #1. Open the Terminal application. 2. Listing installed packages -

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System

More information

Note: - the OS on which you will install VirtualBox is called the host OS. - the OS you will install on VirtualBox (later) is called the guest OS.

Note: - the OS on which you will install VirtualBox is called the host OS. - the OS you will install on VirtualBox (later) is called the guest OS. Get VirtualBox Go to www.virtualbox.org and select Downloads: VirtualBox/CentOS Setup 1 Note: - the OS on which you will install VirtualBox is called the host OS. - the OS you will install on VirtualBox

More information

Chapter 2: Operating-System Structures. Operating System Concepts 9 th Edit9on

Chapter 2: Operating-System Structures. Operating System Concepts 9 th Edit9on Chapter 2: Operating-System Structures Operating System Concepts 9 th Edit9on Silberschatz, Galvin and Gagne 2013 Objectives To describe the services an operating system provides to users, processes, and

More information

About the Presentations

About the Presentations About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning of each presentation. You may customize the presentations

More information

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines

Introduction to UNIX. Logging in. Basic System Architecture 10/7/10. most systems have graphical login on Linux machines Introduction to UNIX Logging in Basic system architecture Getting help Intro to shell (tcsh) Basic UNIX File Maintenance Intro to emacs I/O Redirection Shell scripts Logging in most systems have graphical

More information

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209 CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System

More information

HANDS UP IF YOU DON T HAVE A VM OR IF YOU DON T REMEMBER YOUR PASSWORDS. Or something broke

HANDS UP IF YOU DON T HAVE A VM OR IF YOU DON T REMEMBER YOUR PASSWORDS. Or something broke HANDS UP IF YOU DON T HAVE A VM OR IF YOU DON T REMEMBER YOUR PASSWORDS Or something broke Securing your VM 101 Getting Comfy in Linux -> Comfort ++ You After This Talk Quick recap from last week. Setup

More information

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1

Linux Essentials. Smith, Roderick W. Table of Contents ISBN-13: Introduction xvii. Chapter 1 Selecting an Operating System 1 Linux Essentials Smith, Roderick W. ISBN-13: 9781118106792 Table of Contents Introduction xvii Chapter 1 Selecting an Operating System 1 What Is an OS? 1 What Is a Kernel? 1 What Else Identifies an OS?

More information

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209 CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System

More information

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

Introduction 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 information

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras

Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras Privacy and Security in Online Social Networks Department of Computer Science and Engineering Indian Institute of Technology, Madras Lecture - 04 Tutorial 1, Part 1 Ubuntu Hi everyone, welcome to the first

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

Technology in Action. Chapter 5 System Software: The Operating System, Utility Programs, and File Management

Technology in Action. Chapter 5 System Software: The Operating System, Utility Programs, and File Management Technology in Action Chapter 5 System Software: The Operating System, Utility Programs, and File Management Chapter Topics Operating System Fundamentals What the Operating System Does The Boot Process:

More information

CSE 390a Lecture 4. Persistent shell settings; users/groups; permissions

CSE 390a Lecture 4. Persistent shell settings; users/groups; permissions CSE 390a Lecture 4 Persistent shell settings; users/groups; permissions slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/390a/ 1 2 Lecture summary

More information

Manually Mount Usb Device Linux Command Line Ubuntu 12.04

Manually Mount Usb Device Linux Command Line Ubuntu 12.04 Manually Mount Usb Device Linux Command Line Ubuntu 12.04 4 answers, How to access a usb flash drive from the terminal? (How can I mount a flash drive manually?) Can't mount external usb driver on Ubuntu

More information

UNIX. 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, 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 information

Linux install Party. Elsa Guillot, Pablo Hernandez 19/10/14. IFS, Massey University. Elsa, Pablo (IFS) Open Source Workshop (beamer) 19/10/14 1 / 21

Linux install Party. Elsa Guillot, Pablo Hernandez 19/10/14. IFS, Massey University. Elsa, Pablo (IFS) Open Source Workshop (beamer) 19/10/14 1 / 21 Linux install Party Elsa Guillot, Pablo Hernandez IFS, Massey University 19/10/14 Elsa, Pablo (IFS) Open Source Workshop (beamer) 19/10/14 1 / 21 Outline 1 Linux Install Party An OS story Linux 2 Open

More information

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version... Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing

More information

Lab E2: bypassing authentication and resetting passwords

Lab E2: bypassing authentication and resetting passwords Lab E2: bypassing authentication and resetting passwords TTM4175 September 7, 2015 The purpose of this lab is to learn about techniques for bypassing the authentication and access control of Windows and

More information

TECH 4272 Operating Systems

TECH 4272 Operating Systems TECH 4272 Lecture 3 2 Todd S. Canaday Adjunct Professor Herff College of Engineering sudo sudo is a program for Unix like computer operating systems that allows users to run programs with the security

More information

Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 Downloading and installing Db2 Developer Community Edition on Red Hat Enterprise Linux Roger E. Sanders Yujing Ke Published on October 24, 2018 This guide will help you download and install IBM Db2 software,

More information

Travis Cardwell Technical Meeting

Travis Cardwell Technical Meeting .. Introduction to Docker Travis Cardwell Tokyo Linux Users Group 2014-01-18 Technical Meeting Presentation Motivation OS-level virtualization is becoming accessible Docker makes it very easy to experiment

More information

Chapter 1 - Introduction. September 8, 2016

Chapter 1 - Introduction. September 8, 2016 Chapter 1 - Introduction September 8, 2016 Introduction Overview of Linux/Unix Shells Commands: built-in, aliases, program invocations, alternation and iteration Finding more information: man, info Help

More information

Linux for Beginners. Windows users should download putty or bitvise:

Linux for Beginners. Windows users should download putty or bitvise: Linux for Beginners Windows users should download putty or bitvise: https://putty.org/ Brief History UNIX (1969) written in PDP-7 assembly, not portable, and designed for programmers as a reaction by Bell

More information

LAB #7 Linux Tutorial

LAB #7 Linux Tutorial Gathering information: LAB #7 Linux Tutorial Find the password file on a Linux box Scenario You have access to a Linux computer. You must find the password file on the computer. Objective Get a listing

More information

Can t Believe It s Linux. a totally different and hypothetical linux distribution

Can t Believe It s Linux. a totally different and hypothetical linux distribution Can t Believe It s Linux a totally different and hypothetical linux distribution What s the Situation? ubuntu is doing pretty well OS X is doing a lot better crap is actually pretty cool nobody cares about

More information

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions

1Z Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions 1Z0-409 Oracle Linux Fundamentals (Oracle Partner Network) Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-409 Exam on Oracle Linux Fundamentals (Oracle Partner Network)... 2 Oracle

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls (important!) Types of System Calls (important!) System

More information

Masternode Setup Guide

Masternode Setup Guide Masternode Setup Guide What this guide is This guide is aimed at anyone who wants to run a Reliance masternode on an Ubuntu 16.04 VPS. What this guide is not A tutorial for linux. What I mean by that,

More information

Setting up my Dev Environment ECS 030

Setting up my Dev Environment ECS 030 Setting up my Dev Environment ECS 030 1 Command for SSHing into a CSIF Machine If you already have a terminal and already have a working ssh program (That is, you type ssh into the terminal and it doesn

More information

Code::Blocks Student Manual

Code::Blocks Student Manual Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of

More information

Removing files and directories, finding files and directories, controlling programs

Removing files and directories, finding files and directories, controlling programs Removing files and directories, finding files and directories, controlling programs Laboratory of Genomics & Bioinformatics in Parasitology Department of Parasitology, ICB, USP Removing files Files can

More information

CSE 390a Lecture 4. Persistent shell settings; users/groups; permissions

CSE 390a Lecture 4. Persistent shell settings; users/groups; permissions CSE 390a Lecture 4 Persistent shell settings; users/groups; permissions slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/390a/ 1 2 Lecture summary

More information

Project 0: Linux & Virtual Machine Dabbling

Project 0: Linux & Virtual Machine Dabbling Project 0: Linux & Virtual Machine Dabbling CS-3013 Operating Systems Hugh C. Lauer (Slides include materials from Slides include materials from Modern Operating Systems, 3 rd ed., by Andrew Tanenbaum

More information

Singularity: container formats

Singularity: container formats Singularity Easy to install and configure Easy to run/use: no daemons no root works with scheduling systems User outside container == user inside container Access to host resources Mount (parts of) filesystems

More information

Systems Programming and Computer Architecture ( ) Exercise Session 01 Data Lab

Systems 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 information

Acronis Backup Version 11.5 Update 6 INSTALLATION GUIDE. For Linux Server APPLIES TO THE FOLLOWING PRODUCTS

Acronis Backup Version 11.5 Update 6 INSTALLATION GUIDE. For Linux Server APPLIES TO THE FOLLOWING PRODUCTS Acronis Backup Version 11.5 Update 6 APPLIES TO THE FOLLOWING PRODUCTS For Linux Server INSTALLATION GUIDE Copyright Statement Copyright Acronis International GmbH, 2002-2015. All rights reserved. Acronis

More information

Sample: Computer Network. Contents

Sample: Computer Network. Contents Sample: Computer Network Contents Introduction Virtual machines Virtualization or a virtual machine is a software that gives permission to an entire operating system to run on the Host operating system

More information

Unix unzip zip compress uncompress zip zip zip zip Extracting zip Unzip ZIP Unix Unix zip extracting ZIP zip zip unzip zip unzip zip Unix zipped

Unix unzip zip compress uncompress zip zip zip zip Extracting zip Unzip ZIP Unix Unix zip extracting ZIP zip zip unzip zip unzip zip Unix zipped Unix unzip zip Jan 28, 2011. Typically one uses tar to create an uncompressed archive and either gzip or bzip2 to compress that archive. The corresponding gunzip and bunzip2 commands can be used to uncompress

More information

R- installation and adminstration under Linux for dummie

R- 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 information

Operating systems fundamentals - B02

Operating systems fundamentals - B02 Operating systems fundamentals - B02 David Kendall Northumbria University David Kendall (Northumbria University) Operating systems fundamentals - B02 1 / 1 Introduction Getting started with Linux How the

More information

Introduction to Linux

Introduction 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 information

Download the current release* of VirtualBox for the OS on which you will install VirtualBox. In these notes, that's Windows 7.

Download the current release* of VirtualBox for the OS on which you will install VirtualBox. In these notes, that's Windows 7. Get VirtualBox Go to www.virtualbox.org and select Downloads. VirtualBox/CentOS Setup 1 Download the current release* of VirtualBox for the OS on which you will install VirtualBox. In these notes, that's

More information

Welcome to Linux Foundation E-Learning Training

Welcome to Linux Foundation E-Learning Training Welcome to Linux Foundation E-Learning Training by The Linux Foundation 06/04/2018 Version 7.3. All rights reserved. Specific instructions for your course will be addressed in the Appendix. After reading

More information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 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 information

Jackson State University Department of Computer Science CSC 437/539 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan

Jackson State University Department of Computer Science CSC 437/539 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan Jackson State University Department of Computer Science CSC 437/539 Computer Security Fall 2013 Instructor: Dr. Natarajan Meghanathan Lab Project # 3: Simulating DHCP Snooping and DNS Cache Poisoning through

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Silberschatz, Galvin and Gagne 2009 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System

More information

How To Manually Install Driver Ubuntu Server On Virtualbox

How To Manually Install Driver Ubuntu Server On Virtualbox How To Manually Install Driver Ubuntu 12.04 Server On Virtualbox I'm using virtual box in order to configure Ubuntu 12.04 Server. Video tutorials on youtube most people use ubuntu desktop and after odoo

More information

Operating system hardening

Operating system hardening Operating system Comp Sci 3600 Security Outline 1 2 3 4 5 6 What is OS? Hardening process that includes planning, ation, uration, update, and maintenance of the operating system and the key applications

More information

How To Reinstall Grub In Windows 7 Without Losing Data And Programs

How To Reinstall Grub In Windows 7 Without Losing Data And Programs How To Reinstall Grub In Windows 7 Without Losing Data And Programs So if I install Windows 7 using CD again, will I lose Ubuntu? then yes you will lose Ubuntu, however if you reinstall Windows without

More information

CSE 390 Lecture 9. Version control and Subversion (svn)

CSE 390 Lecture 9. Version control and Subversion (svn) CSE 390 Lecture 9 Version control and Subversion (svn) slides created by Marty Stepp, modified by Jessica Miller and Ruth Anderson http://www.cs.washington.edu/390a/ 1 Working Alone Ever done one of the

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures 2.1 Silberschatz, Galvin and Gagne 2009 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System

More information

Course 55187B Linux System Administration

Course 55187B Linux System Administration Course Outline Module 1: System Startup and Shutdown This module explains how to manage startup and shutdown processes in Linux. Understanding the Boot Sequence The Grand Unified Boot Loader GRUB Configuration

More information

Post Ubuntu Install Exercises

Post Ubuntu Install Exercises Post Ubuntu Install Exercises PacNOG 3 June 18 Rarotonga, Cook Islands 1. Get used to using sudo 2. Create an ainst account 3. Learn how to install software 4. Install gcc and make 5. Learn how to control

More information

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine

IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine IT 341 Introduction to System Administration Project I Installing Ubuntu Server on a Virtual Machine Here we create a new virtual machine and install Ubuntu 16.04 LTS Server on it. In this instance, we

More information

Spring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand

Spring 2017 :: CSE 506. Introduction to. Virtual Machines. Nima Honarmand Introduction to Virtual Machines Nima Honarmand Virtual Machines & Hypervisors Virtual Machine: an abstraction of a complete compute environment through the combined virtualization of the processor, memory,

More information