Essentials for Scientific Computing: Introduction to UNIX and Linux Day 1

Size: px
Start display at page:

Download "Essentials for Scientific Computing: Introduction to UNIX and Linux Day 1"

Transcription

1 Essentials for Scientific Computing: Introduction to UNIX and Linux Day 1 Ershaad Ahamed TUE-CMS, JNCASR May Operating Systems Computers consist of one or more CPUs, memory and peripheral devices. The CPU fetches instructions from memory and executes them. When a computer boots up, the first instructions that it fetches and executes is from the BIOS. These instructions direct the CPU in various stages to eventually load the operating system and execute it. From that point onwards the operating system (or specifically the kernel) runs at all times and has the following functions. 1. Hardware abstraction 2. Resource management and multitasking 3. Standardised interfaces 1.1 Hardware Abstraction The manner in which hardware is instructed to perform their specific functions is highly dependent on the hardware itself. This in turn depends on the manufacturer, design and even the specific revision of the hardware in question. In case we didn t have an OS, every programmer would have to know the exact details of how to interact with the specific hardware on which their program will run whenever they write a program. 1.2 Resource Management and Multitasking On a computer which is running an operating system that supports multitasking (which includes most modern OSes), several programs appear to be running simultaneously although there may be only one or a few processors present. This is called multitasking and is achieved by running each program for a short amount of time on the CPU and quickly switching between them, giving the user the illusion that all programs are executing concurrently. Multiple programs running also means that they are sharing common resources such as memory and even devices such as the video display. It is the operating system that manages this sharing of resources and prevents rogue programs from disrupting 1

2 the functioning of other programs especially by protecting each program s share of memory from other running programs. 1.3 Standardised Interfaces Programs or applications interact with the operating system by invoking functions provided by the operating system called system calls. For example when an application needs to open a file, it invokes a specific system call with appropriate parameters. The operating system then performs hardware specific tasks that will eventually make the data of the file available to the application program. The specific names, parameters that need to be passed and return values of these system calls constitutes the Application Programming Interface (API) presented by the operating system to an application programmer. By standardising these APIs, an application program s source code can be compiled unmodified on all operating systems that present the same API regardless of the specific vendor or version of the operating system and independent of the hardware it is running on. 2 UNIX, Linux and the GNU Project In the early 1970 s, Ken Thompson, Dennis Ritchie and others began to design and develop the UNIX operating system at AT&T Bell Labs. Work on UNIX development continued into the 80 s and by the 1990 s several variants of the UNIX operating system were developed by various entities, a notable one being the Berkeley Software Distribution (BSD). The large number of variants eventually led to the creation of the IEEE POSIX standard which initially defined the API, and eventually all aspects of the behaviour of a UNIX-like system including commands, utilities and standard libraries. POSIX then evolved into what is now the Single Unix Specification (SUS). In 1983, Richard Stallman initiated the GNU project aiming to create a UNIX compatible software system consisting of free software. Free software can be modified, copied and redistributed without restriction. Several licenses qualify for designation as free software. The GPL (GNU General Public License) is the license adopted by the GNU project. In essence it dictates that the source code of any software released under the GPL should be available without restriction and that any modified or derivative software will also be governed by the GPL. Linux began as a hobby kernel by Linus Torvalds in It aimed to be POSIX compliant and was licensed under the GPL. The combination of Linux kernel and GNU project software is what is now popularly known as Linux, although it is more accurate to refer to it as GNU/Linux. Fedora, Ubuntu, SUSE etc. are all distributions of the GNU/Linux operating system. Software from the GNU project is extensive and includes everything from compilers for a large number of languages to editors to complete desktop graphical user interfaces (GUIs). 2

3 3 Users and Groups UNIX was designed around the concept of multiple users. Each user on a system owns a set of files. The owner can define whether other users may view, modify or execute (if they are scripts or executables) their files. Users may be divided into sets called groups. A user may be a member of several groups. Groups allow users to allow specific permissions to members of a group to which they belong. In UNIX, users and groups are identified by names which are mapped to unique user and group ids respectively. Any file on disk has a user and group id associated with it, and this defines its ownership. As special user exists on UNIX systems called the root user. The root user has access to all file and functions on the system. A person logs in as the root user in order to perform system administration tasks such as configuring a network or changing operating system policy and settings. The root user can edit files critical to the functioning of the system and can delete all files on the system, while normal users can only edit files that are owned by them or for which they are given write permissions. 4 Processes Once the programmer has written the source code in a programming language (like C or FORTRAN), it is compiled into machine code that is ready to be executed. This machine code executable when stored on disk is called a program. When a program is executed, the operating system reads it from disk and loads all or parts of the program into main memory. From there it initiates the execution of these instructions by the CPU and the program becomes a process. Each process in a UNIX system is identified by a process ID. A process may have a limited lifetime or may run for the entire duration the system is up. processes may be in a running, stopped or sleeping state. 5 Files (from the point of view of processes) A process may open a number of files for input or output. In the UNIX design files need not necessarily need to be data stored on disk. They may be a network device or even a sound device. This is one of the abstractions built into the UNIX design. The operating system can present any device (real or virtual) to an application program as a regular file. Three files are always opened whenever a process is started. They are the standard input, standard output and standard error (stdin, stdout and stderr). these files do not exist on disk. 6 Directory Layout, Pathnames and Symbolic Links In UNIX all files are stored within directories (folders). UNIX uses a hierarchical directory structure similar to other operating systems. In UNIX all directories are subdirectories of the uppermost level root directory represented by /. 3

4 The / is also the symbol for separating elements in a pathname. An absolute pathname specifies how to reach a particular file or directory from the root directory. For example,. /home/user/thesis.txt 6.1 Relative and Absolute Pathnames If a pathname is specified without a leading /, then it is a relative path. Relative pathnames are interpreted as relative to the current working directory. Picture it as an absolute pathname that is constructed by joining the current working directory and the relative pathname. Every directory has two special subdirectories named. and.... is equivalent to the current working directory and.. is equivalent to the parent of the current working directory. 6.2 Symbolic Links Symbolic links are files on a disk that point to other files (shortcuts to Windows users). Deleting a symbolic link does not delete the file that it points to. Symbolic links take up very little actual space on the disk. One use of symbolic links is the make a direct link to a file that has a very long pathname. Symbolic links are created with the ln command. 7 Basic Commands 7.1 The Bash Shell In operating system, the shell is the interactive interface presented to the user. The user interacts with the shell in order to achieve specific tasks, and the shell in turn communicates with the operating system kernel. The shell is thus a layer of abstraction that hides details of the underlying operating system and presents a uniform and convenient way for the user to interact with the OS. The most common text mode shell for Linux based operating systems is the Bash shell. The Bash shell presents the user with a programmable interface along with several built-in commands. If you need to get a shell on a Linux system running a graphical front end, you usually need to open the terminal menu item. The Bash shell presents a prompt to the user when it is ready to accept commands. A user prompt may look like the following. ershaad@strobe:~$ or [ershaad@n138 ~]$ And a root prompt will be similar to root@strobe:~# or [root@n138 ~]# 4

5 Notice the # at the end of the prompt for the root user. As we mentioned above, the root user can affect the working of the system and therefore, this account should be used with caution. 7.2 ls Command and the Current Working Directory The ls command lists the contents of the current working directory. The current working directory for a session of the shell can be found by entering the pwd command. Files that begin with a period. are hidden files and do not appear in the output of the ls command. In order to view all files including hidden files pass the -a command line option to ls ls -a. Command line options may have a long and a short form. The corresponding long option for -a is --all, so that you would type ls --all to see the full listing of files. Short options can be strung together or supplied separately. Like ls -l -t or ls -lt. The same cannot be done with long options. Both long and short options can be used in the same command ls -t --all. Most commands usually print a usage summary when passed either of the -h or --help options. In order to get detailed usage of a command, the man page can be referred. It is an online documentation that can be viewed from the shell. To view the man page of the cp command simply type man cp at the shell prompt. The first few lines of the cp man page looks like. CP(1) User Commands NAME cp - copy files and directories SYNOPSIS cp [OPTION]... [-T] SOURCE DEST cp [OPTION]... SOURCE... DIRECTORY cp [OPTION]... -t DIRECTORY SOURCE... DESCRIPTION Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. The words in CAPS or in the form <word> or in italics means that they need to be substituted with an appropriate word which may be a filename or keyword. In the above example SOURCE needs to be replaced with the path of the source file. Words or options within square brackets [] are optional. If a symbol separates one or more words or options like -r -s, it means only one of them may be specified at a time. An ellipsis... after a word means that more can be specified. In the above man page SOURCE... means one or more source files can be specified separated by spaces. 7.3 Essential Commands pwd Print the present working directory cd Change the current working directory 5

6 cd [dir] cd /home/ershaad/workdir cd workdir rm Delete file(s) rm draftfile.txt rm -r tempdir cp Copy files cp thesis.tex thesiscopy.tex cp -r datadir datadircopy mv Move or rename files mv oldfilename.txt newfilename.txt mv /home/ershaad/olddirname /home/backup/newdirname mv myfile.txt.. mkdir Create a directory mkdir newdir mkdir -p newdir/newsubdir/subsubdir cat Write the concatenation of contents to stdout cat file1.txt cat file1.txt file2.txt less View the contents of files less readme.txt file Information on the type of a file file image01.jpg find Search for files based on criteria find sourcedir -name "*.f90" locate Search for filename within index of files locate workreport.doc 6

7 chmod Manage permissions for a file chmod u+x file.sh chmod go-rwx file.txt chmod o-w file.txt gzip Compress a file gzip bigfile.dat gunzip Uncompress a file gunzip bigfile.dat.gz tar Create/Extract an archive tar -cvf homebackup.tar /home/ershaad tar -czvf homebackup.tar.gz /home/ershaad tar -xvf homebackup.tar tar -xzvf homebackup.tar.gz df Summary of space on filesystems df -h exit Exit the shell head, tail Print the first/last few lines of a file head bankstatement.txt head -n 15 bankstatement.txt tail bankstatement.txt tail -n 12 bankstatement.txt du Find how much disk space a directory is using du -sh Downloads date Print or set the system date/time grep Print lines in file that match some pattern 7

8 grep orange fruits.txt 8

LSN 10 Linux Overview

LSN 10 Linux Overview LSN 10 Linux Overview ECT362 Operating Systems Department of Engineering Technology LSN 10 Linux Overview Linux Contemporary open source implementation of UNIX available for free on the Internet Introduced

More information

Unix Sampler. PEOPLE whoami id who

Unix Sampler. PEOPLE whoami id who Unix Sampler PEOPLE whoami id who finger username hostname grep pattern /etc/passwd Learn about yourself. See who is logged on Find out about the person who has an account called username on this host

More information

Linux command line. An introduction to the Linux command line for genomics. Susan Fairley

Linux command line. An introduction to the Linux command line for genomics. Susan Fairley Linux command line An introduction to the Linux command line for genomics Susan Fairley Aims Introduce the command line Provide an awareness of basic functionality Illustrate with some examples Provide

More information

Thirty Useful Unix Commands

Thirty Useful Unix Commands Leaflet U5 Thirty Useful Unix Commands Last revised April 1997 This leaflet contains basic information on thirty of the most frequently used Unix Commands. It is intended for Unix beginners who need a

More information

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002) Cisco Networking Academy Program Curriculum Scope & Sequence Fundamentals of UNIX version 2.0 (July, 2002) Course Description: Fundamentals of UNIX teaches you how to use the UNIX operating system and

More information

LECTURE-7. Introduction to DOS. Introduction to UNIX/LINUX OS. Introduction to Windows. Topics:

LECTURE-7. Introduction to DOS. Introduction to UNIX/LINUX OS. Introduction to Windows. Topics: Topics: LECTURE-7 Introduction to DOS. Introduction to UNIX/LINUX OS. Introduction to Windows. BASIC INTRODUCTION TO DOS OPERATING SYSTEM DISK OPERATING SYSTEM (DOS) In the 1980s or early 1990s, the operating

More information

Tutorial 0A Programming on the command line

Tutorial 0A Programming on the command line Tutorial 0A Programming on the command line Operating systems User Software Program 1 Program 2 Program n Operating System Hardware CPU Memory Disk Screen Keyboard Mouse 2 Operating systems Microsoft Apple

More information

Programming for GCSE Topic H: Operating Systems

Programming for GCSE Topic H: Operating Systems Programming for GCSE Topic H: Operating Systems William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London Aims Introduce Operating Systems Core concepts Processes

More information

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems Module 9: Operating Systems Objective What is an operating system (OS)? OS kernel, and basic functions OS Examples: MS-DOS, MS Windows, Mac OS Unix/Linux Features of modern OS Graphical operating system

More information

CS 103 Lab Linux and Virtual Machines

CS 103 Lab Linux and Virtual Machines 1 Introduction In this lab you will login to your Linux VM and write your first C/C++ program, compile it, and then execute it. 2 What you will learn In this lab you will learn the basic commands and navigation

More information

Unit 10 : An Introduction to Linux OS

Unit 10 : An Introduction to Linux OS Unit 10 : An Introduction to Linux OS Linux is a true 32/64-bit operating system that run on different platforms. It is a multi-user, multi-tasking and time sharing operating system. Linux is a very stable

More information

UNIX / Linux commands Basic level. Magali COTTEVIEILLE - September 2009

UNIX / Linux commands Basic level. Magali COTTEVIEILLE - September 2009 UNIX / Linux commands Basic level Magali COTTEVIEILLE - September 2009 What is Linux? Linux is a UNIX system Free Open source Developped in 1991 by Linus Torvalds There are several Linux distributions:

More information

USEFUL UNIX COMMANDS

USEFUL UNIX COMMANDS cancel cat file USEFUL UNIX COMMANDS cancel print requested with lp Display the file cat file1 file2 > files Combine file1 and file2 into files cat file1 >> file2 chgrp [options] newgroup files Append

More information

Linux System Administration on Red Hat

Linux System Administration on Red Hat Linux System Administration on Red Hat Kenneth Ingham September 29, 2009 1 Course overview This class is for people who are familiar with Linux or Unix systems as a user (i.e., they know file manipulation,

More information

Introduction to Linux and Cluster Basics for the CCR General Computing Cluster

Introduction to Linux and Cluster Basics for the CCR General Computing Cluster Introduction to Linux and Cluster Basics for the CCR General Computing Cluster Cynthia Cornelius Center for Computational Research University at Buffalo, SUNY 701 Ellicott St Buffalo, NY 14203 Phone: 716-881-8959

More information

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont. Objectives To describe the services an operating system provides to users, processes, and other systems To discuss the various ways of structuring an operating system Chapter 2: Operating-System Structures

More information

Introduction to Mac OS X

Introduction to Mac OS X Introduction to Mac OS X The Mac OS X operating system both a graphical user interface and a command line interface. We will see how to use both to our advantage. Using DOCK The dock on Mac OS X is the

More information

An Introduction to the Linux Command Shell For Beginners

An Introduction to the Linux Command Shell For Beginners An Introduction to the Linux Command Shell For Beginners Presented by: Victor Gedris In Co-Operation With: The Ottawa Canada Linux Users Group and ExitCertified Copyright and Redistribution This manual

More information

Introduction to Linux operating system. module Basic Bioinformatics PBF

Introduction to Linux operating system. module Basic Bioinformatics PBF Introduction to Linux operating system module Basic Bioinformatics PBF What is Linux? A Unix-like Operating System A famous open source project Free to use, distribute, modify under a compatible licence

More information

Outline: Operating Systems

Outline: Operating Systems Outline: Operating Systems What is an OS OS Functions Multitasking Virtual Memory File Systems Window systems PC Operating System Wars: Windows vs. Linux 1 Operating System provides a way to boot (start)

More information

Unix the Bare Minimum

Unix the Bare Minimum Unix the Bare Minimum Norman Matloff September 27, 2005 c 2001-2005, N.S. Matloff Contents 1 Purpose 2 2 Shells 2 3 Files and Directories 4 3.1 Creating Directories.......................................

More information

Operating Systems. Study this screen display and answer these questions.

Operating Systems. Study this screen display and answer these questions. UNIT 6 Operating Systems STARTER Study this screen display and answer these questions. 1 How do you enter Unix commands? 2 Which Unix commands does it show? 3 What is the output of each command? 4 What

More information

OPERATING SYSTEM SERVICES

OPERATING SYSTEM SERVICES OPERATING SYSTEM SERVICES USER INTERFACE Command line interface(cli):uses text commands and a method for entering them Batch interface(bi):commands and directives to control those commands are entered

More information

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 2 Introducing Operating Systems

A+ Guide to Managing and Maintaining Your PC, 7e. Chapter 2 Introducing Operating Systems A+ Guide to Managing and Maintaining Your PC, 7e Chapter 2 Introducing Operating Systems Objectives Learn about the various operating systems and the differences between them Learn about the components

More information

L01 Introduction to the Unix OS

L01 Introduction to the Unix OS Geophysical Computing L01-1 1. What is Unix? L01 Introduction to the Unix OS Unix is an operating system (OS): it manages the way the computer works by driving the processor, memory, disk drives, keyboards,

More information

HP-UX Essentials and Shell Programming Course Summary

HP-UX Essentials and Shell Programming Course Summary Contact Us: (616) 875-4060 HP-UX Essentials and Shell Programming Course Summary Length: 5 Days Prerequisite: Basic computer skills Recommendation Statement: Student should be able to use a computer monitor,

More information

Command Line - Part 1

Command Line - Part 1 Command Line - Part 1 STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat Course web: gastonsanchez.com/teaching/stat133 GUIs 2 Graphical User Interfaces

More information

Introduction to Operating Systems

Introduction to Operating Systems Introduction to Operating Systems It is important that you familiarize yourself with Windows and Linux in preparation for this course. The exercises in this book assume a basic knowledge of both of these

More information

Birmingham Environment for Academic Research. Introduction to Linux Quick Reference Guide. Research Computing Team V1.0

Birmingham Environment for Academic Research. Introduction to Linux Quick Reference Guide. Research Computing Team V1.0 Birmingham Environment for Academic Research Introduction to Linux Quick Reference Guide Research Computing Team V1.0 Contents The Basics... 4 Directory / File Permissions... 5 Process Management... 6

More information

Introduction to the UNIX Operating System and Open Windows Desktop Environment

Introduction to the UNIX Operating System and Open Windows Desktop Environment Introduction to the UNIX Operating System and Open Windows Desktop Environment Welcome to the Unix world! And welcome to the Unity300. As you may have already noticed, there are three Sun Microsystems

More information

TEL2821/IS2150: INTRODUCTION TO SECURITY Lab: Operating Systems and Access Control

TEL2821/IS2150: INTRODUCTION TO SECURITY Lab: Operating Systems and Access Control TEL2821/IS2150: INTRODUCTION TO SECURITY Lab: Operating Systems and Access Control Version 3.4, Last Edited 9/10/2011 Students Name: Date of Experiment: Read the following guidelines before working in

More information

After studying this lesson, you will have a clear understanding of, what an Operating System is. functions of an Operating System

After studying this lesson, you will have a clear understanding of, what an Operating System is. functions of an Operating System After studying this lesson, you will have a clear understanding of, what an Operating System is functions of an Operating System User Interfaces how to use Windows Operating System 5.1 Introduction As

More information

Command-Line Operations : The Shell. Don't fear the command line...

Command-Line Operations : The Shell. Don't fear the command line... Command-Line Operations : The Shell Don't fear the command line... Shell Graphical User Interface (GUI) Graphical User Interface : displays to interact with the computer - Open and manipulate files and

More information

1 Basic commands. 2 Terminology. CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger

1 Basic commands. 2 Terminology. CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger 1 Basic commands This section describes a list of commonly used commands that are available on the EECS UNIX systems. Most commands are executed by

More information

Hadoop Shell Commands

Hadoop Shell Commands Table of contents 1 DFShell... 3 2 cat...3 3 chgrp...3 4 chmod...3 5 chown...4 6 copyfromlocal... 4 7 copytolocal... 4 8 cp...4 9 du...4 10 dus... 5 11 expunge... 5 12 get... 5 13 getmerge... 5 14 ls...

More information

4.1 Introduction 4.2 Explain the purpose of an operating system 4.2.1 Describe characteristics of modern operating systems Control Hardware Access

4.1 Introduction 4.2 Explain the purpose of an operating system 4.2.1 Describe characteristics of modern operating systems Control Hardware Access 4.1 Introduction The operating system (OS) controls almost all functions on a computer. In this lecture, you will learn about the components, functions, and terminology related to the Windows 2000, Windows

More information

Example of Standard API

Example of Standard API 16 Example of Standard API System Call Implementation Typically, a number associated with each system call System call interface maintains a table indexed according to these numbers The system call interface

More information

Hadoop Shell Commands

Hadoop Shell Commands Table of contents 1 FS Shell...3 1.1 cat... 3 1.2 chgrp... 3 1.3 chmod... 3 1.4 chown... 4 1.5 copyfromlocal...4 1.6 copytolocal...4 1.7 cp... 4 1.8 du... 4 1.9 dus...5 1.10 expunge...5 1.11 get...5 1.12

More information

Lab 1: Introduction to C, ASCII ART and the Linux Command Line Environment

Lab 1: Introduction to C, ASCII ART and the Linux Command Line Environment .i.-' `-. i..' `/ \' _`.,-../ o o \.' ` ( / \ ) \\\ (_.'.'"`.`._) /// \\`._(..: :..)_.'// \`. \.:-:. /.'/ `-i-->..

More information

1. Installation Instructions - Unix & Linux

1. Installation Instructions - Unix & Linux Planning Your Installation 1. Installation Instructions - Unix & Linux There are two types of Gridgen installations: a First Time Installation and a Maintenance Release Installation. A First Time Installation

More information

Training Day : Linux

Training Day : Linux Training Day : Linux Objectives At the end of the day, you will be able to use Linux command line in order to : Connect to «genotoul» server Use available tools Transfer files between server and desktop

More information

Command Line Crash Course For Unix

Command Line Crash Course For Unix Command Line Crash Course For Unix Controlling Your Computer From The Terminal Zed A. Shaw December 2011 Introduction How To Use This Course You cannot learn to do this from videos alone. You can learn

More information

Operating System Structures

Operating System Structures COP 4610: Introduction to Operating Systems (Spring 2015) Operating System Structures Zhi Wang Florida State University Content Operating system services User interface System calls System programs Operating

More information

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. Linux Basics

Computer Systems and Networks. ECPE 170 Jeff Shafer University of the Pacific. Linux Basics ECPE 170 Jeff Shafer University of the Pacific Linux Basics 2 Pre- Lab Everyone installed Linux on their computer Everyone launched the command line ( terminal ) and ran a few commands What problems were

More information

CS3600 SYSTEMS AND NETWORKS

CS3600 SYSTEMS AND NETWORKS CS3600 SYSTEMS AND NETWORKS NORTHEASTERN UNIVERSITY Lecture 2: Operating System Structures Prof. Alan Mislove (amislove@ccs.neu.edu) Operating System Services Operating systems provide an environment for

More information

Operating System Today s Operating Systems File Basics File Management Application Software

Operating System Today s Operating Systems File Basics File Management Application Software Lecture Content Operating System Today s Operating Systems File Basics File Management Application Software Operating Systems and File Management 2 Operating Systems and File Management 3 Operating System

More information

CPSC2800: Linux Hands-on Lab #3 Explore Linux file system and file security. Project 3-1

CPSC2800: Linux Hands-on Lab #3 Explore Linux file system and file security. Project 3-1 CPSC2800: Linux Hands-on Lab #3 Explore Linux file system and file security Project 3-1 Linux support many different file systems that can be mounted using the mount command. In this project, you use the

More information

New Lab Intro to KDE Terminal Konsole

New Lab Intro to KDE Terminal Konsole New Lab Intro to KDE Terminal Konsole After completing this lab activity the student will be able to; Access the KDE Terminal Konsole and enter basic commands. Enter commands using a typical command line

More information

1/5/2013. Technology in Action

1/5/2013. Technology in Action 0 1 2 3 4 5 6 Technology in Action Chapter 5 Using System Software: The Operating System, Utility Programs, and File Management Chapter Topics System software basics Types of operating systems What the

More information

The Linux Operating System and Linux-Related Issues

The Linux Operating System and Linux-Related Issues Review Questions: The Linux Operating System and Linux-Related Issues 1. Explain what is meant by the term copyleft. 2. In what ways is the Linux operating system superior to the UNIX operating system

More information

Beginners Shell Scripting for Batch Jobs

Beginners Shell Scripting for Batch Jobs Beginners Shell Scripting for Batch Jobs Evan Bollig and Geoffrey Womeldorff Before we begin... Everyone please visit this page for example scripts and grab a crib sheet from the front http://www.scs.fsu.edu/~bollig/techseries

More information

Operating System Components

Operating System Components Lecture Overview Operating system software introduction OS components OS services OS structure Operating Systems - April 24, 2001 Operating System Components Process management Memory management Secondary

More information

Fred Hantelmann LINUX. Start-up Guide. A self-contained introduction. With 57 Figures. Springer

Fred Hantelmann LINUX. Start-up Guide. A self-contained introduction. With 57 Figures. Springer Fred Hantelmann LINUX Start-up Guide A self-contained introduction With 57 Figures Springer Contents Contents Introduction 1 1.1 Linux Versus Unix 2 1.2 Kernel Architecture 3 1.3 Guide 5 1.4 Typographical

More information

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun Logo Reproduction Colours red and black on white backgroun School of Computing & Information Systems Unix Guide Mono positive black on white background 2013 Mono negative white only out of any colou 2

More information

STUDY GUIDE CHAPTER 4

STUDY GUIDE CHAPTER 4 STUDY GUIDE CHAPTER 4 True/False Indicate whether the statement is true or false. 1. A(n) desktop operating system is designed for a desktop or notebook personal computer. 2. A(n) mirrored user interface

More information

Introduction to Running Hadoop on the High Performance Clusters at the Center for Computational Research

Introduction to Running Hadoop on the High Performance Clusters at the Center for Computational Research Introduction to Running Hadoop on the High Performance Clusters at the Center for Computational Research Cynthia Cornelius Center for Computational Research University at Buffalo, SUNY 701 Ellicott St

More information

A UNIX/Linux in a nutshell

A UNIX/Linux in a nutshell bergman p.1/23 A UNIX/Linux in a nutshell Introduction Linux/UNIX Tommi Bergman tommi.bergman[at]csc.fi Computational Environment & Application CSC IT center for science Ltd. Espoo, Finland bergman p.2/23

More information

CS420: Operating Systems OS Services & System Calls

CS420: Operating Systems OS Services & System Calls NK YORK COLLEGE OF PENNSYLVANIA HG OK 2 YORK COLLEGE OF PENNSYLVAN OS Services & System Calls James Moscola Department of Physical Sciences York College of Pennsylvania Based on Operating System Concepts,

More information

Linux Overview. The Senator Patrick Leahy Center for Digital Investigation. Champlain College. Written by: Josh Lowery

Linux Overview. The Senator Patrick Leahy Center for Digital Investigation. Champlain College. Written by: Josh Lowery Linux Overview Written by: Josh Lowery The Senator Patrick Leahy Center for Digital Investigation Champlain College October 29, 2012 Disclaimer: This document contains information based on research that

More information

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines Operating System Concepts 3.1 Common System Components

More information

Basic Linux & Package Management. Original slides from GTFO Security

Basic Linux & Package Management. Original slides from GTFO Security Basic Linux & Package Management Original slides from GTFO Security outline Linux What it is? Commands Filesystem / Shell Package Management Services run on Linux mail dns web central authentication router

More information

CS 170, Section 000, Fall 2009

CS 170, Section 000, Fall 2009 Lecture 3: Unix Recap, Java (cont d) CS 170, Section 000, Fall 2009 3 September 2009 Lecture Plan Logistics (important announcements) Lab1 postmortem Unix: commands, examples, resources Java recap from

More information

Partek Flow Installation Guide

Partek Flow Installation Guide Partek Flow Installation Guide Partek Flow is a web based application for genomic data analysis and visualization, which can be installed on a desktop computer, compute cluster or cloud. Users can access

More information

HDFS File System Shell Guide

HDFS File System Shell Guide Table of contents 1 Overview...3 1.1 cat... 3 1.2 chgrp... 3 1.3 chmod... 3 1.4 chown... 4 1.5 copyfromlocal...4 1.6 copytolocal...4 1.7 count... 4 1.8 cp... 4 1.9 du... 5 1.10 dus...5 1.11 expunge...5

More information

Components of a Computing System. What is an Operating System? Resources. Abstract Resources. Goals of an OS. System Software

Components of a Computing System. What is an Operating System? Resources. Abstract Resources. Goals of an OS. System Software What is an Operating System? An operating system (OS) is a collection of software that acts as an intermediary between users and the computer hardware One can view an OS as a manager of system resources

More information

Using Symantec NetBackup with Symantec Security Information Manager 4.5

Using Symantec NetBackup with Symantec Security Information Manager 4.5 Using Symantec NetBackup with Symantec Security Information Manager 4.5 Using Symantec NetBackup with Symantec Security Information Manager Legal Notice Copyright 2007 Symantec Corporation. All rights

More information

TNM093 Practical Data Visualization and Virtual Reality Laboratory Platform

TNM093 Practical Data Visualization and Virtual Reality Laboratory Platform October 6, 2015 1 Introduction The laboratory exercises in this course are to be conducted in an environment that might not be familiar to many of you. It is based on open source software. We use an open

More information

INASP: Effective Network Management Workshops

INASP: Effective Network Management Workshops INASP: Effective Network Management Workshops Linux Familiarization and Commands (Exercises) Based on the materials developed by NSRC for AfNOG 2013, and reused with thanks. Adapted for the INASP Network

More information

CSE 265: System and Network Administration. CSE 265: System and Network Administration

CSE 265: System and Network Administration. CSE 265: System and Network Administration CSE 265: System and Network Administration MW 9:10-10:00am Packard 258 F 9:10-11:00am Packard 112 http://www.cse.lehigh.edu/~brian/course/sysadmin/ Find syllabus, lecture notes, readings, etc. Instructor:

More information

Open Source Computational Fluid Dynamics

Open Source Computational Fluid Dynamics Open Source Computational Fluid Dynamics An MSc course to gain extended knowledge in Computational Fluid Dynamics (CFD) using open source software. Teachers: Miklós Balogh and Zoltán Hernádi Department

More information

UNIX - FILE SYSTEM BASICS

UNIX - FILE SYSTEM BASICS http://www.tutorialspoint.com/unix/unix-file-system.htm UNIX - FILE SYSTEM BASICS Copyright tutorialspoint.com A file system is a logical collection of files on a partition or disk. A partition is a container

More information

Week Overview. Running Live Linux Sending email from command line scp and sftp utilities

Week Overview. Running Live Linux Sending email from command line scp and sftp utilities ULI101 Week 06a Week Overview Running Live Linux Sending email from command line scp and sftp utilities Live Linux Most major Linux distributions offer a Live version, which allows users to run the OS

More information

Tutorial Guide to the IS Unix Service

Tutorial Guide to the IS Unix Service Tutorial Guide to the IS Unix Service The aim of this guide is to help people to start using the facilities available on the Unix and Linux servers managed by Information Services. It refers in particular

More information

file://d:\webs\touch-base.com\htdocs\documentation\androidplatformnotes52.htm

file://d:\webs\touch-base.com\htdocs\documentation\androidplatformnotes52.htm Page 1 of 5 Deliverables Requirements Installation Uninstall Supported programs Limitations Contact Welcome to UPDD Android platform specific installation instructions and related notes for UPDD version

More information

Attix5 Pro Server Edition

Attix5 Pro Server Edition Attix5 Pro Server Edition V7.0.3 User Manual for Linux and Unix operating systems Your guide to protecting data with Attix5 Pro Server Edition. Copyright notice and proprietary information All rights reserved.

More information

RECOVER ( 8 ) Maintenance Procedures RECOVER ( 8 )

RECOVER ( 8 ) Maintenance Procedures RECOVER ( 8 ) NAME recover browse and recover NetWorker files SYNOPSIS recover [-f] [-n] [-q] [-u] [-i {nnyyrr}] [-d destination] [-c client] [-t date] [-sserver] [dir] recover [-f] [-n] [-u] [-q] [-i {nnyyrr}] [-I

More information

Chapter 4. Operating Systems and File Management

Chapter 4. Operating Systems and File Management Chapter 4 Operating Systems and File Management Chapter Contents Section A: Operating System Basics Section B: Today s Operating Systems Section C: File Basics Section D: File Management Section E: Backup

More information

ICS 351: Today's plan

ICS 351: Today's plan ICS 351: Today's plan routing protocols linux commands Routing protocols: overview maintaining the routing tables is very labor-intensive if done manually so routing tables are maintained automatically:

More information

AES Crypt User Guide

AES Crypt User Guide AES Crypt User Guide Publication Date: 2013-12-26 Original Author: Gary C. Kessler (gck@garykessler.net) Revision History Date Contributor Changes 2012-01-17 Gary C. Kessler First version 2013-03-03 Doug

More information

Ubuntu, FEAP, and Virtualiza3on. Jonathan Wong Lab Mee3ng 11/08/10

Ubuntu, FEAP, and Virtualiza3on. Jonathan Wong Lab Mee3ng 11/08/10 Ubuntu, FEAP, and Virtualiza3on Jonathan Wong Lab Mee3ng 11/08/10 Mo3va3on Compiling and opera3ng FEAP requires knowledge of Unix/ Posix systems Being comfortable using command- line Naviga3ng the file

More information

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Acronis Backup & Recovery 10 Server for Linux. Installation Guide Acronis Backup & Recovery 10 Server for Linux Installation Guide Table of contents 1 Before installation...3 1.1 Acronis Backup & Recovery 10 components... 3 1.1.1 Agent for Linux... 3 1.1.2 Management

More information

Android Environment Emulator

Android Environment Emulator Part 2-b Android Environment Emulator Victor Matos Cleveland State University Notes are based on: http://developer.android.com/index.html http://developer.android.com/guide/developing/tools/emulator.html

More information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 4: My First Linux System J.D. DeVaughn-Brown University of Massachusetts Amherst Department of Computer Science jddevaughn@cs.umass.edu 1 Reminders After

More information

QNX Software Development Platform 6.6. Installation Guide

QNX Software Development Platform 6.6. Installation Guide QNX Software Development Platform 6.6 QNX Software Development Platform 6.6 Installation Guide Table of Contents Table of Contents Preface: About This Guide...iv Typographical conventions...v Before you

More information

Stata R Release 13 Installation Guide

Stata R Release 13 Installation Guide i Stata R Release 13 Installation Guide Contents Simple installation........................................ 1 Installing Stata for Windows................................ 3 Installing Stata for Mac....................................

More information

Basic Installation of the Cisco Collection Manager

Basic Installation of the Cisco Collection Manager CHAPTER 3 Basic Installation of the Cisco Collection Manager Introduction This chapter gives the information required for a basic installation of the Cisco Collection Manager and the bundled Sybase database.

More information

Recommended File System Ownership and Privileges

Recommended File System Ownership and Privileges FOR MAGENTO COMMUNITY EDITION Whenever a patch is released to fix an issue in the code, a notice is sent directly to your Admin Inbox. If the update is security related, the incoming message is colorcoded

More information

Extreme computing lab exercises Session one

Extreme computing lab exercises Session one Extreme computing lab exercises Session one Michail Basios (m.basios@sms.ed.ac.uk) Stratis Viglas (sviglas@inf.ed.ac.uk) 1 Getting started First you need to access the machine where you will be doing all

More information

Fall 2009. Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Fall 2009. Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu. Fall 2009 Lecture 1 Operating Systems: Configuration & Use CIS345 Introduction to Operating Systems Mostafa Z. Ali mzali@just.edu.jo 1-1 Chapter 1 Introduction to Operating Systems An Overview of Microcomputers

More information

GeBro-BACKUP. Die Online-Datensicherung. Manual Pro Backup Client on a NAS

GeBro-BACKUP. Die Online-Datensicherung. Manual Pro Backup Client on a NAS GeBro-BACKUP Die Online-Datensicherung. Manual Pro Backup Client on a NAS Created and tested on a QNAP TS-559 Pro Firmware 4.0.2 Intel x86 Architecture Default hardware configuration OBM v6.15.0.0 Last

More information

Linux Overview. Local facilities. Linux commands. The vi (gvim) editor

Linux Overview. Local facilities. Linux commands. The vi (gvim) editor Linux Overview Local facilities Linux commands The vi (gvim) editor MobiLan This system consists of a number of laptop computers (Windows) connected to a wireless Local Area Network. You need to be careful

More information

File System Shell Guide

File System Shell Guide Table of contents 1 Overview...3 1.1 cat... 3 1.2 chgrp... 3 1.3 chmod... 3 1.4 chown... 4 1.5 copyfromlocal...4 1.6 copytolocal...4 1.7 count... 4 1.8 cp... 5 1.9 du... 5 1.10 dus...5 1.11 expunge...6

More information

WebPublish User s Manual

WebPublish User s Manual WebPublish User s Manual Documentation for WebPublish Version 0.1.0. Charles Henry Schoonover i Table of Contents 1 Introduction............................... 1 2 Installation................................

More information

Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux

Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux By the OS4 Documentation Team Prepared by Roberto J Dohnert Copyright 2013, PC/OpenSystems LLC This whitepaper describes how

More information

Understanding the OS Architecture and Linux History. Zhiqiang Lin

Understanding the OS Architecture and Linux History. Zhiqiang Lin CS 6V81-05: System Security and Malicious Code Analysis Understanding the OS Architecture and Linux History Zhiqiang Lin Department of Computer Science University of Texas at Dallas February 15 th, 2012

More information

Computing Service G72. File Transfer Using SCP, SFTP or FTP. many leaflets can be found at: http://www.cam.ac.uk/cs/docs

Computing Service G72. File Transfer Using SCP, SFTP or FTP. many leaflets can be found at: http://www.cam.ac.uk/cs/docs Computing Service G72 File Transfer Using SCP, SFTP or FTP many leaflets can be found at: http://www.cam.ac.uk/cs/docs 50 pence April 2003 Contents Introduction Servers and clients... 2 Comparison of FTP,

More information

Unix Shell Scripts. Contents. 1 Introduction. Norman Matloff. July 30, 2008. 1 Introduction 1. 2 Invoking Shell Scripts 2

Unix Shell Scripts. Contents. 1 Introduction. Norman Matloff. July 30, 2008. 1 Introduction 1. 2 Invoking Shell Scripts 2 Unix Shell Scripts Norman Matloff July 30, 2008 Contents 1 Introduction 1 2 Invoking Shell Scripts 2 2.1 Direct Interpretation....................................... 2 2.2 Indirect Interpretation......................................

More information

Steps for running C-program

Steps for running C-program Steps for running C-program for AVR microcontroller on Linux Step:1 Installation of required packages We will first install all the required packages. This includes 1. binutils - Tools like the assembler,

More information

Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab

Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab Yocto Project Eclipse plug-in and Developer Tools Hands-on Lab Yocto Project Developer Day San Francisco, 2013 Jessica Zhang Introduction Welcome to the Yocto Project Eclipse plug-in

More information

System Structures. Services Interface Structure

System Structures. Services Interface Structure System Structures Services Interface Structure Operating system services (1) Operating system services (2) Functions that are helpful to the user User interface Command line interpreter Batch interface

More information