Practical Computing-II. Programming in the Linux Environment. 0. An Introduction. B.W.Gore. March 20, 2015
|
|
- Allyson Elliott
- 5 years ago
- Views:
Transcription
1 Practical Computing-II March 20, An Introduction
2 About The Course CMS M.2.2 Practical Computing-II
3 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting)
4 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment
5 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk)
6 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk) 1. boot-up sequence
7 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk) 1. boot-up sequence 2. kernel
8 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk) 1. boot-up sequence 2. kernel 3. Signals
9 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk) 1. boot-up sequence 2. kernel 3. Signals 4. programs vs. processes
10 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk) 1. boot-up sequence 2. kernel 3. Signals 4. programs vs. processes 5. permissions and access control
11 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk) 1. boot-up sequence 2. kernel 3. Signals 4. programs vs. processes 5. permissions and access control 6. fork and exec
12 About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About Linux/Unix environment Scripting Tools and Languages (like sed & awk) 1. boot-up sequence 2. kernel 3. Signals 4. programs vs. processes 5. permissions and access control 6. fork and exec 7. foreground and background processes
13 Prerequisites Linux account
14 Prerequisites Linux account Familiarity with the basic Linux command line environment
15 Prerequisites Linux account Familiarity with the basic Linux command line environment Some experience in programming with the gcc and g++ compilers
16 Prerequisites Linux account Familiarity with the basic Linux command line environment Some experience in programming with the gcc and g++ compilers Insights into how the system behaves in various circumstances
17 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories
18 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories Ken Thompson in 1969 made it work on DEC PDP-7
19 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories Ken Thompson in 1969 made it work on DEC PDP-7 Also involved, through ideas & contributions, were Rudd Canaday, Doug McIlroy, Joe Ossanna & Dennis Ritchie
20 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories Ken Thompson in 1969 made it work on DEC PDP-7 Also involved, through ideas & contributions, were Rudd Canaday, Doug McIlroy, Joe Ossanna & Dennis Ritchie Ritchie ported UNIX to the more advanced PDP-11 in 1970
21 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories Ken Thompson in 1969 made it work on DEC PDP-7 Also involved, through ideas & contributions, were Rudd Canaday, Doug McIlroy, Joe Ossanna & Dennis Ritchie Ritchie ported UNIX to the more advanced PDP-11 in 1970 He then developed C language & its compiler to work with UNIX
22 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories Ken Thompson in 1969 made it work on DEC PDP-7 Also involved, through ideas & contributions, were Rudd Canaday, Doug McIlroy, Joe Ossanna & Dennis Ritchie Ritchie ported UNIX to the more advanced PDP-11 in 1970 He then developed C language & its compiler to work with UNIX In 1973, Thompson & Ritchie rewrote entire UNIX system code in C
23 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories Ken Thompson in 1969 made it work on DEC PDP-7 Also involved, through ideas & contributions, were Rudd Canaday, Doug McIlroy, Joe Ossanna & Dennis Ritchie Ritchie ported UNIX to the more advanced PDP-11 in 1970 He then developed C language & its compiler to work with UNIX In 1973, Thompson & Ritchie rewrote entire UNIX system code in C It broke the tradition of writing OS in assembly language
24 UNIX The UNIX operating system was developed in the late 1960s at AT&T Bell Laboratories Ken Thompson in 1969 made it work on DEC PDP-7 Also involved, through ideas & contributions, were Rudd Canaday, Doug McIlroy, Joe Ossanna & Dennis Ritchie Ritchie ported UNIX to the more advanced PDP-11 in 1970 He then developed C language & its compiler to work with UNIX In 1973, Thompson & Ritchie rewrote entire UNIX system code in C It broke the tradition of writing OS in assembly language With rewrite in C, UNIX became portable to any hardware
25 Unix It all resulted in UNIX becoming an operating system that was 1. time sharing
26 Unix It all resulted in UNIX becoming an operating system that was 1. time sharing 2. multi-user
27 Unix It all resulted in UNIX becoming an operating system that was 1. time sharing 2. multi-user 3. having support for programming
28 Unix It all resulted in UNIX becoming an operating system that was 1. time sharing 2. multi-user 3. having support for programming 4. unusually rich in features & productive (compared to its predecessors)
29 Unix It all resulted in UNIX becoming an operating system that was 1. time sharing 2. multi-user 3. having support for programming 4. unusually rich in features & productive (compared to its predecessors) 5. Hence, popular!
30 Unix It all resulted in UNIX becoming an operating system that was 1. time sharing 2. multi-user 3. having support for programming 4. unusually rich in features & productive (compared to its predecessors) 5. Hence, popular! Many free and commercial variants of UNIX are available today e.g.
31 Unix It all resulted in UNIX becoming an operating system that was 1. time sharing 2. multi-user 3. having support for programming 4. unusually rich in features & productive (compared to its predecessors) 5. Hence, popular! Many free and commercial variants of UNIX are available today e.g. Solaris, HP-UX, AIX, Zenix, FreeBSD, Linux,
32 Linux Unix-like computer operating system
33 Linux Unix-like computer operating system In 1991, as a graduate student at the University of Helsinki, Linus Torvalds became curious about OS
34 Linux Unix-like computer operating system In 1991, as a graduate student at the University of Helsinki, Linus Torvalds became curious about OS & got frustrated with limitations of existing Unix/Minix licensing terms
35 Linux Unix-like computer operating system In 1991, as a graduate student at the University of Helsinki, Linus Torvalds became curious about OS & got frustrated with limitations of existing Unix/Minix licensing terms Developed his own variant called Linux
36 Linux Unix-like computer operating system In 1991, as a graduate student at the University of Helsinki, Linus Torvalds became curious about OS & got frustrated with limitations of existing Unix/Minix licensing terms Developed his own variant called Linux (as his degree project!!!)
37 Linux Unix-like computer operating system In 1991, as a graduate student at the University of Helsinki, Linus Torvalds became curious about OS & got frustrated with limitations of existing Unix/Minix licensing terms Developed his own variant called Linux (as his degree project!!!) The core of Linux is the kernel, first released 5 October 1991 by Torvalds
38 Linux Unix-like computer operating system In 1991, as a graduate student at the University of Helsinki, Linus Torvalds became curious about OS & got frustrated with limitations of existing Unix/Minix licensing terms Developed his own variant called Linux (as his degree project!!!) The core of Linux is the kernel, first released 5 October 1991 by Torvalds Uses model of free and open source software development and distribution, prospered with GNU set of utilities
39 Linux Unix-like computer operating system In 1991, as a graduate student at the University of Helsinki, Linus Torvalds became curious about OS & got frustrated with limitations of existing Unix/Minix licensing terms Developed his own variant called Linux (as his degree project!!!) The core of Linux is the kernel, first released 5 October 1991 by Torvalds Uses model of free and open source software development and distribution, prospered with GNU set of utilities Today, Linux systems are everywhere, from embedded systems to supercomputers, from education to industry; in research labs, government establishments, financial institutions,
40 Linux internals Linux is made up of: The Linux kernel
41 Linux internals Linux is made up of: The Linux kernel version ending in even number is stable e.g
42 Linux internals Linux is made up of: The Linux kernel version ending in even number is stable e.g version ending in odd number is unstable/testing/beta version e.g
43 Linux internals Linux is made up of: The Linux kernel version ending in even number is stable e.g version ending in odd number is unstable/testing/beta version e.g The GNU tools like gcc, gawk, gnuplot etc.
44 Linux internals Linux is made up of: The Linux kernel version ending in even number is stable e.g version ending in odd number is unstable/testing/beta version e.g The GNU tools like gcc, gawk, gnuplot etc. A graphical desktop environment (GNOME/KDE/xfce etc.)
45 Linux internals Linux is made up of: The Linux kernel version ending in even number is stable e.g version ending in odd number is unstable/testing/beta version e.g The GNU tools like gcc, gawk, gnuplot etc. A graphical desktop environment (GNOME/KDE/xfce etc.) Application software: browsers, SciLab, eclipse etc.
46 Linux internals Linux is made up of: The Linux kernel version ending in even number is stable e.g version ending in odd number is unstable/testing/beta version e.g The GNU tools like gcc, gawk, gnuplot etc. A graphical desktop environment (GNOME/KDE/xfce etc.) Application software: browsers, SciLab, eclipse etc. None of these is useful independently
47 Linux internals Linux is made up of: The Linux kernel version ending in even number is stable e.g version ending in odd number is unstable/testing/beta version e.g The GNU tools like gcc, gawk, gnuplot etc. A graphical desktop environment (GNOME/KDE/xfce etc.) Application software: browsers, SciLab, eclipse etc. None of these is useful independently strength comes from their collaboration
48 Diagrammatic Representation Apllication S/W A graphical desktop environment GNU system tools/utilities Linux Kernel Computer H/W
49 Diagrammatic Representation Apllication S/W A graphical desktop environment shell GNU system tools/utilities Linux Kernel Computer H/W
50 Linux kernel core of the Linux system
51 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system
52 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system allocates resources as and when necessary
53 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system allocates resources as and when necessary executes commands/processes as and when necessary
54 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system allocates resources as and when necessary executes commands/processes as and when necessary its controls are divided generally into:
55 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system allocates resources as and when necessary executes commands/processes as and when necessary its controls are divided generally into: Hardware management
56 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system allocates resources as and when necessary executes commands/processes as and when necessary its controls are divided generally into: Hardware management Memory management
57 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system allocates resources as and when necessary executes commands/processes as and when necessary its controls are divided generally into: Hardware management Memory management File-system management
58 Linux kernel core of the Linux system kernel controls all of the hardware and software on the computing system allocates resources as and when necessary executes commands/processes as and when necessary its controls are divided generally into: Hardware management Memory management File-system management Software execution management
59 The shell a basic way of communication between kernel & user
60 The shell a basic way of communication between kernel & user it is a text-based command interpreter
61 The shell a basic way of communication between kernel & user it is a text-based command interpreter shell presents several user friendly facilities
62 The shell a basic way of communication between kernel & user it is a text-based command interpreter shell presents several user friendly facilities allows input/output redirection to files/console using pipes
63 The shell a basic way of communication between kernel & user it is a text-based command interpreter shell presents several user friendly facilities allows input/output redirection to files/console using pipes allows personalization of environment: user can create aliases for commands
64 The shell a basic way of communication between kernel & user it is a text-based command interpreter shell presents several user friendly facilities allows input/output redirection to files/console using pipes allows personalization of environment: user can create aliases for commands shell presents a powerful programming tool to work with commands: complete with
65 The shell a basic way of communication between kernel & user it is a text-based command interpreter shell presents several user friendly facilities allows input/output redirection to files/console using pipes allows personalization of environment: user can create aliases for commands shell presents a powerful programming tool to work with commands: complete with conditional statements
66 The shell a basic way of communication between kernel & user it is a text-based command interpreter shell presents several user friendly facilities allows input/output redirection to files/console using pipes allows personalization of environment: user can create aliases for commands shell presents a powerful programming tool to work with commands: complete with conditional statements, loops
67 The shell a basic way of communication between kernel & user it is a text-based command interpreter shell presents several user friendly facilities allows input/output redirection to files/console using pipes allows personalization of environment: user can create aliases for commands shell presents a powerful programming tool to work with commands: complete with conditional statements, loops and functions!!!
68 Command a basic entity that can run a process
69 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments)
70 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments) some examples:
71 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments) some examples: ls
72 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments) some examples: ls ls -al
73 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments) some examples: ls ls -al whoami
74 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments) some examples: ls ls -al whoami date
75 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments) some examples: ls ls -al whoami date possible to enter multiple commands on single line: a ; works as command terminator
76 Command a basic entity that can run a process shell does the job when command name is entered at command prompt (possibly with some arguments) some examples: ls ls -al whoami date possible to enter multiple commands on single line: a ; works as command terminator whoami; date;
77 Script script is nothing but a sequence of commands and control statements stored in a file
78 Script script is nothing but a sequence of commands and control statements stored in a file saves the effort of retyping that particular sequence of commands each time
79 Script script is nothing but a sequence of commands and control statements stored in a file saves the effort of retyping that particular sequence of commands each time script is a program a tool which can easily be modified
80 Script script is nothing but a sequence of commands and control statements stored in a file saves the effort of retyping that particular sequence of commands each time script is a program a tool which can easily be modified must be made executable by chmod +x [script file name]
81 Script script is nothing but a sequence of commands and control statements stored in a file saves the effort of retyping that particular sequence of commands each time script is a program a tool which can easily be modified must be made executable by chmod +x [script file name] making sure script can work across different flavours of Linux and/or different shells
82 Types of shell Two major types:
83 Types of shell Two major types: 1. the Bourne shell: includes sh, ksh, bash
84 Types of shell Two major types: 1. the Bourne shell: includes sh, ksh, bash 2. the C shell: includes csh, tcsh
85 Types of shell Two major types: 1. the Bourne shell: includes sh, ksh, bash 2. the C shell: includes csh, tcsh the Bourne type shells usually have $ as the prompt character
86 Types of shell Two major types: 1. the Bourne shell: includes sh, ksh, bash 2. the C shell: includes csh, tcsh the Bourne type shells usually have $ as the prompt character the C type shells usually have # as the prompt character
87 Types of shell Two major types: 1. the Bourne shell: includes sh, ksh, bash 2. the C shell: includes csh, tcsh the Bourne type shells usually have $ as the prompt character the C type shells usually have # as the prompt character sh is s POSIX standard shell
88 Shell Initialization When login program start shell, the parameters required for operation of shell to start are missing
89 Shell Initialization When login program start shell, the parameters required for operation of shell to start are missing shell undergoes an initialization phase
90 Shell Initialization When login program start shell, the parameters required for operation of shell to start are missing shell undergoes an initialization phase usually a two step process, involves reading the files
91 Shell Initialization When login program start shell, the parameters required for operation of shell to start are missing shell undergoes an initialization phase usually a two step process, involves reading the files /etc/profile
92 Shell Initialization When login program start shell, the parameters required for operation of shell to start are missing shell undergoes an initialization phase usually a two step process, involves reading the files /etc/profile.profile
93 Shell Initialization When login program start shell, the parameters required for operation of shell to start are missing shell undergoes an initialization phase usually a two step process, involves reading the files /etc/profile.profile If any file doesn t exist, it is skipped and no error is shown
94 Shell Initialization When login program start shell, the parameters required for operation of shell to start are missing shell undergoes an initialization phase usually a two step process, involves reading the files /etc/profile.profile If any file doesn t exist, it is skipped and no error is shown after reading both the files, the prompt character is presented
95 How login starts the shell login automatically starts the program: /bin/sh
96 How login starts the shell login automatically starts the program: /bin/sh by this, shell is put in interactive mode i.e. ready to interact with user
97 How login starts the shell login automatically starts the program: /bin/sh by this, shell is put in interactive mode i.e. ready to interact with user there is non-interactive mode of shell execution, where shell terminates after executing some commands e.g. when you logout
98 How login starts the shell login automatically starts the program: /bin/sh by this, shell is put in interactive mode i.e. ready to interact with user there is non-interactive mode of shell execution, where shell terminates after executing some commands e.g. when you logout shell can be started non-interactively by issuing command /bin/sh [script filename]
99 Commands for file-system handling mkdir cd pwd cp, mv, rm cat ls Editors: vi, gedit, nedit, emacs, chown, chgrp, chmod symbolic links: ln pipes:, >, <>>, <<
100 Next lecture Processes starting a process
101 Next lecture Processes starting a process listing running processes
102 Next lecture Processes starting a process listing running processes killing a process
103 Next lecture Processes starting a process listing running processes killing a process parent-child processes background/foreground precesses and their switching
104 References Ritchie, D.; Thompson, K.; The UNIX Time-Sharing System, Communications of ACM 17(1974), p Kernighan, B.W.; Pike, R.; The unix Programming Environment, Prentice-Hall, Bach, M.J.; The Design of The UNIX Operating System, Prentice-Hall, CMS library books: CMS-78, CMS-877, CMS-1287, CMS-1626 Robbins a.; Beebe, N.H.F.; Classic Shell Scripting - Hidden Commands that Unlock the Power of Unix, O Reilly Media, 2005.
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 informationUNIX. The Very 10 Short Howto for beginners. Soon-Hyung Yook. March 27, Soon-Hyung Yook UNIX March 27, / 29
UNIX The Very 10 Short Howto for beginners Soon-Hyung Yook March 27, 2015 Soon-Hyung Yook UNIX March 27, 2015 1 / 29 Table of Contents 1 History of Unix 2 What is UNIX? 3 What is Linux? 4 How does Unix
More informationUNIX Kernel. UNIX History
UNIX History UNIX Kernel 1965-1969 Bell Labs participates in the Multics project. 1969 Ken Thomson develops the first UNIX version in assembly for an DEC PDP-7 1973 Dennis Ritchie helps to rewrite UNIX
More informationCISC 220 fall 2011, set 1: Linux basics
CISC 220: System-Level Programming instructor: Margaret Lamb e-mail: malamb@cs.queensu.ca office: Goodwin 554 office phone: 533-6059 (internal extension 36059) office hours: Tues/Wed/Thurs 2-3 (this week
More informationOverview of Unix / Linux operating systems
Overview of Unix / Linux operating systems Mohammad S. Hasan Staffordshire University, UK Overview of Unix / Linux operating systems Slide 1 Lecture Outline History and development of Unix / Linux Early
More informationIntroduction to Cygwin Operating Environment
Introduction to Cygwin Operating Environment ICT 106 Fundamentals of Computer Systems Eric Li ICT106_Pract_week 1 1 What s Cygwin? Emulates Unix/Linux environment on a Windows Operating System; A collection
More informationLinux shell scripting intro/review
Linux shell scripting intro/review David Morgan You should already know how to log in run programs at the command line use pipelines and redirection ( < > ) put jobs in the background ( & ) create and
More informationUnix to Linux. CS 3113 Fall 2018 Dr. Christan Grant
Unix to Linux CS 3113 Fall 2018 Dr. Christan Grant Outline A Brief History of Unix, C, Linux and the people involved. 2 https://commons.wikimedia.org/wiki/file:unix_history-simple.png 3 UNIX Unix definitions
More informationEECS 2031E. Software Tools Prof. Mokhtar Aboelaze
EECS 2031 Software Tools Prof. Mokhtar Aboelaze Footer Text 1 EECS 2031E Instructor: Mokhtar Aboelaze Room 2026 CSEB lastname@cse.yorku.ca x40607 Office hours TTH 12:00-3:00 or by appointment 1 Grading
More informationBrief Linux Presentation. July 10th, 2006 Elan Borenstein
Brief Linux Presentation July 10th, 2006 Elan Borenstein History 1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) History
More informationLecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter
Lecture Topics Today: Operating System Overview (Stallings, chapter 2.1-2.4, 2.8-2.10) Next: Processes (Stallings, chapter 3.1-3.6) 1 Announcements Consulting hours posted Self-Study Exercise #3 posted
More informationIntroduction: What is Unix?
Introduction Introduction: What is Unix? An operating system Developed at AT&T Bell Labs in the 1960 s Command Line Interpreter GUIs (Window systems) are now available Introduction: Unix vs. Linux Unix
More informationWelcome to Linux. Lecture 1.1
Welcome to Linux Lecture 1.1 Some history 1969 - the Unix operating system by Ken Thompson and Dennis Ritchie Unix became widely adopted by academics and businesses 1977 - the Berkeley Software Distribution
More informationUnix/Linux: History and Philosophy
Unix/Linux: History and Philosophy History and Background Multics project Unix Linux Multiplexed Information and Computing Service Collaborative venture between General Electric, Bell Telephone Labs, and
More informationLecture 3. Unix. Question? b. The world s best restaurant. c. Being in the top three happiest countries in the world.
Lecture 3 Unix Question? Denmark is famous for? a. LEGO. b. The world s best restaurant. c. Being in the top three happiest countries in the world. d. Having the highest taxes in Europe (57%). e. All of
More informationToday. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview
Today CSCI 4061 Introduction to s Instructor: Abhishek Chandra OS Evolution Unix Overview Unix Structure Shells and Utilities Calls and APIs 2 Evolution How did the OS evolve? Generation 1: Mono-programming
More informationToday. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview
Today CSCI 4061 Introduction to s Instructor: Abhishek Chandra OS Evolution Unix Overview Unix Structure Shells and Utilities Calls and APIs 2 Evolution How did the OS evolve? Dependent on hardware and
More informationEECS2301. Lab 1 Winter 2016
EECS2301 Lab 1 Winter 2016 Lab Objectives In this lab, you will be introduced to the Linux operating system. The basic commands will be presented in this lab. By the end of you alb, you will be asked to
More informationUnix Handouts. Shantanu N Kulkarni
Unix Handouts Shantanu N Kulkarni Abstract These handouts are meant to be used as a study aid during my class. They are neither complete nor sincerely accurate. The idea is that the participants should
More informationCS246 Spring14 Programming Paradigm Notes on Linux
1 Unix History 1965: Researchers from Bell Labs and other organizations begin work on Multics, a state-of-the-art interactive, multi-user operating system. 1969: Bell Labs researchers, losing hope for
More informationCS370 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 informationThe UNIX operating system is a set of programs that act as a link between the computer and the user.
Chapter 1: Introduction to Unix 1 INRODUCTION TO UNIX What is Unix? The UNIX operating system is a set of programs that act as a link between the computer and the user. The computer programs that allocate
More informationUNIX / LINUX - GETTING STARTED
UNIX / LINUX - GETTING STARTED http://www.tutorialspoint.com/unix/unix-getting-started.htm Copyright tutorialspoint.com Advertisements What is Unix? The Unix operating system is a set of programs that
More informationLezione 8. Shell command language Introduction. Sommario. Bioinformatica. Mauro Ceccanti e Alberto Paoluzzi
Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza Sommario Shell command language Introduction A
More informationUNIX/Linux Fundamentals Lecture 1. Nick Stiffler Philip Conrad
UNIX/Linux Fundamentals Lecture 1 Nick Stiffler Philip Conrad Matrix Reloaded What will we cover? Operating system overview UNIX commands, shell & process mgt. Scripting languages Programming tools Various
More informationSystem Administration
Süsteemihaldus MTAT.08.021 System Administration File system basics UNIX shell basics 1/23 2/23 3/23 4/23 5/23 6/23 System Root Mount points User Profiles /home /boot /dev/sda Boot loader files and Linux
More informationEE516: Embedded Software Project 1. Setting Up Environment for Projects
EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment
More informationUNIX Concepts COMPSCI 386
UNIX Concepts COMPSCI 386 Topics History of C and UNIX The GNU Project Linux Command-Line Basics UNIX-Style File System Multics Multiplexed Information and Computing Service Time-sharing system for mainframes
More informationLezione 8. Shell command language Introduction. Sommario. Bioinformatica. Esercitazione Introduzione al linguaggio di shell
Lezione 8 Bioinformatica Mauro Ceccanti e Alberto Paoluzzi Esercitazione Introduzione al linguaggio di shell Dip. Informatica e Automazione Università Roma Tre Dip. Medicina Clinica Università La Sapienza
More informationIntroduction to Linux Basics
Introduction to Linux Basics Part-I Georgia Advanced Computing Resource Center University of Georgia Zhuofei Hou, HPC Trainer zhuofei@uga.edu Outline What is GACRC? What is Linux? Linux Command, Shell
More informationAn Introduction to Unix Power Tools
An to Unix Power Tools Randolph Langley Department of Computer Science Florida State University August 27, 2008 History of Unix Unix Today Command line versus graphical interfaces to COP 4342, Fall History
More informationNASA Lecture 2 (with lab) 2018/03/05 Michael Tsai Kai-Ling Lo
NASA Lecture 2 (with lab) 2018/03/05 Michael Tsai Kai-Ling Lo (@coderalo) Outline A Brief Introduction to UNIX/Linux The Beginning of Your Linux Tour (SSH, man, editor) Shell in Operating System File System
More informationLinux at the Command Line Don Johnson of BU IS&T
Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you
More informationIntroduction to Unix. University of Massachusetts Medical School. October, 2014
.. Introduction to Unix University of Massachusetts Medical School October, 2014 . DISCLAIMER For the sake of clarity, the concepts mentioned in these slides have been simplified significantly. Most of
More informationLecture 01: welcome and intro what LSD and Unix have in common
Lecture 01: welcome and intro what LSD and Unix have in common Hands-On Unix System Administration DeCal 2012-08-27 1 / 21 The Two of the most famous products of Berkeley are LSD and Unix. I don t think
More informationSystems Programming. The Unix/Linux Operating System
Systems Programming The Unix/Linux Operating System 1 What is UNIX? A modern computer operating system Operating system: a program that acts as an intermediary between a user of the computer and the computer
More informationIntroduction to Linux
Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come
More informationIntroduction and Overview Getting Started
Introduction and Overview Getting Started 1 Chapter-1 Introduction and Overview Getting Started Chapter Objectives Definition of operating system and the services offered by it. Types of operating system.
More informationWhat is UNIX? A Little Bit about UNIX and User Interfaces. Adapted from Practical Unix and Programming Hunter College
What is UNIX? A Little Bit about UNIX and User Interfaces Adapted from Practical Unix and Programming Hunter College Copyright 2006 Stewart Weiss What is UNIX? It is a multi-user, multi-tasking operating
More informationEECS 470 Lab 5. Linux Shell Scripting. Friday, 1 st February, 2018
EECS 470 Lab 5 Linux Shell Scripting Department of Electrical Engineering and Computer Science College of Engineering University of Michigan Friday, 1 st February, 2018 (University of Michigan) Lab 5:
More informationOperating System Labs. Yuanbin Wu
Operating System Labs Yuanbin Wu cs@ecnu Operating System Labs Introduction to Unix (*nix) Course Overview Operating System Labs Introduction to Unix (*nix) Course Overview Unix / *nix What A family of
More informationOperating Systems. Copyleft 2005, Binnur Kurt
3 Operating Systems Copyleft 2005, Binnur Kurt Content The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail.
More informationOperating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing
Content 3 Operating Systems The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail. How to log into (and out
More informationIntroduction to UNIX and Linux: Lecture 1
Introduction to UNIX: Lecture One 1.1 Objectives This lecture covers: The concept of an operating system. The internal architecture of an operating system. The evolution of the UNIX operating system into
More informationTopics. Prerequisites
Math 3040: in Scientific Computing to finite element simulations using FEniCS and FreeFem++ M. M. Sussman sussmanm@math.pitt.edu Office Hours: 11:10AM-12:10PM, Thack 622 May 12, 2014 to Unix 1 / 35 2 /
More informationIntroduction to Linux. Fundamentals of Computer Science
Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard
More informationBIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:
BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: This course provides Bioinformatics students with the
More informationCOURSE INTRODUCTION. Software Tools EECS2031 Winter 2018 Manos Papagelis. Thanks to Karen Reid and Alan J Rosenthal for material in these slides
COURSE INTRODUCTION Software Tools EECS2031 Winter 2018 Manos Papagelis Thanks to Karen Reid and Alan J Rosenthal for material in these slides What EECS2031 is about? A useful way to think about this course
More informationtech. solutions T2G Page1 ALT_01_Ch1 : Introduction to Linux ideas and history The History of Linux starts with the earlier development of UNIX.
Page1 ALT_01_Ch1 : Introduction to Linux ideas and history The History of Linux starts with the earlier development of UNIX. UNIX In 1969-1970, Kenneth Thompson, Dennis Ritchie, and others at AT&T Bell
More information3/8/2017. Unix/Linux Introduction. In this part, we introduce. What does an OS do? Examples
EECS2301 Title Unix/Linux Introduction These slides are based on slides by Prof. Wolfgang Stuerzlinger at York University Warning: These notes are not complete, it is a Skelton that will be modified/add-to
More informationEECS 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 informationIntroduction to Shell Scripting
Introduction to Shell Scripting Evan Bollig and Geoffrey Womeldorff Presenter Yusong Liu 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 informationSaint Louis University. Intro to Linux and C. CSCI 2400/ ECE 3217: Computer Architecture. Instructors: David Ferry
Intro to Linux and C CSCI 2400/ ECE 3217: Computer Architecture Instructors: David Ferry 1 Overview Linux C Hello program in C Compiling 2 History of Linux Way back in the day: Bell Labs Unix Widely available
More informationIntroduction to UNIX. SURF Research Boot Camp April Jeroen Engelberts Consultant Supercomputing
Introduction to UNIX SURF Research Boot Camp April 2018 Jeroen Engelberts jeroen.engelberts@surfsara.nl Consultant Supercomputing Outline Introduction to UNIX What is UNIX? (Short) history of UNIX Cartesius
More informationIntroduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University
Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an
More informationOverview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions
Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System
More informationIntroduction to Unix The Windows User perspective. Wes Frisby Kyle Horne Todd Johansen
Introduction to Unix The Windows User perspective Wes Frisby Kyle Horne Todd Johansen What is Unix? Portable, multi-tasking, and multi-user operating system Software development environment Hardware independent
More informationUnix Introduction to UNIX
Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various
More informationChapter-3. Introduction to Unix: Fundamental Commands
Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system
More informationLinux 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 informationCNT 4603, Spring 2009: Introduction
, : A practical hands-on approach Also higher-level concepts Expertise is distributed: system administration happens everywhere from your PC to large servers, and system administration is generally collaborative.
More informationLinux Shell Script. J. K. Mandal
Linux Shell Script J. K. Mandal Professor, Department of Computer Science & Engineering, Faculty of Engineering, Technology & Management University of Kalyani Kalyani, Nadia, West Bengal E-mail: jkmandal@klyuniv.ac.in,
More informationIntroduction. Let s start with the first set of slides
Tux Wars Class - 1 Table of Contents 1) Introduction to Linux and its history 2) Booting process of a linux system 3) Linux Kernel 4) What is a shell 5) Bash Shell 6) Anatomy of command 7) Let s make our
More informationCourse and Unix Intro
Course and Unix Intro Comp-206 : Introduction to Software Systems Lecture 1 Alexandre Denault Computer Science McGill University Fall 2006 Instructor Alexandre Denault Graduate student, working in the
More informationScripting Languages Course 1. Diana Trandabăț
Scripting Languages Course 1 Diana Trandabăț Master in Computational Linguistics - 1 st year 2017-2018 Today s lecture Introduction to scripting languages What is a script? What is a scripting language
More information5/20/2007. Touring Essential Programs
Touring Essential Programs Employing fundamental utilities. Managing input and output. Using special characters in the command-line. Managing user environment. Surveying elements of a functioning system.
More informationIntroduction to Supercomputing
Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical
More informationIntroduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie
Introduction in Unix Linus Torvalds Ken Thompson & Dennis Ritchie My name: John Donners John.Donners@surfsara.nl Consultant at SURFsara And Cedric Nugteren Cedric.Nugteren@surfsara.nl Consultant at SURFsara
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Kisik Jeong (kisik@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationUNIX 2 OPERATING SYSTEM
UNIX 2 OPERATING SYSTEM hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Objectives You will learn: Process management in Solaris. omponents of the operating system. Flow of control within the operating
More informationCNT 5605, Fall 2009: Introduction
, Fall 2009: A practical hands-on approach. We will build new servers and configure them with a variety of packages. Expertise is distributed: system administration happens everywhere from your PC to large
More informationScazLab. Linux Scripting. Core Skills That Every Roboticist Must Have. Alex Litoiu Thursday, November 14, 13
Linux Scripting Core Skills That Every Roboticist Must Have Alex Litoiu alex.litoiu@yale.edu 1 Scazlab Topics Covered Linux Intro - Basic Concepts Advanced Bash Scripting - Job scheduling - File system
More informationCS 300. Data Structures
CS 300 Data Structures Start VirtualBox Search or Windows Run C:\CS300 Launches CS 300/360 Virtual Machine (Eventually) Logon with Zeus password Syllabus http://zeus.cs.pacificu.edu/chadd/cs300f18/syllabus.html
More informationIntroduction 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 informationCSE 391 Lecture 1. introduction to Linux/Unix environment
CSE 391 Lecture 1 introduction to Linux/Unix environment slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/391/ 1 2 Lecture summary Course introduction
More informationHistory of Unix and Linux
License and cost Linux stand for Linus Unix. Linux originally developed by Linus Tarwalds of Finland, who currently owns the Linux trademark. Linux is Free (as in beer [freedom]). Using the open source
More informationIntroduction to Linux
Introduction to Linux Phil Mercurio The Scripps Research Institute mercurio@scripps.edu 1 Session Overview What is Linux Shells & Windows The Linux File System Assorted Commands 2 What Is Linux? Linux
More informationCOPYRIGHTED MATERIAL. Unix Fundamentals. Brief History
1 Unix Fundamentals The Unix operating system was created more than 30 years ago by a group of researchers at AT&T s Bell Laboratories. During the three decades of constant development that have followed,
More informationIntroduction 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 informationEssential Unix (and Linux) for the Oracle DBA. Revision no.: PPT/2K403/02
Essential Unix (and Linux) for the Oracle DBA Revision no.: PPT/2K403/02 Architecture of UNIX Systems 2 UNIX System Structure 3 Operating system interacts directly with Hardware Provides common services
More informationIntroduction to Linux
Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA - Dong-Yun Lee (dylee@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating
More informationUnderlying computer system = hardware + software
Underlying computer system = hardware + software Thanks to Chandra Krintz and Kevin Sanft, for this figure and some other parts of these lecture notes. Processing data & instructions Program instructions
More informationSystem Programming. Introduction to Unix
Content : by Dr. B. Boufama School of Computer Science University of Windsor Instructor: Dr. A. Habed adlane@cs.uwindsor.ca http://cs.uwindsor.ca/ adlane/60-256 Content Content 1 Introduction 2 3 Introduction
More informationChap2: 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 information100 SHELL PROGRAMS IN UNIX
100 SHELL PROGRAMS IN UNIX By Sarika Jain Head, MCA Department ABSS, Meerut (U.P.) Shivani Jain Senior Lecturer, Department of Computer Science VCE, Meerut (U.P.) FIREWAL MEDIA (An Imprint of Laxmi Publications
More informationShell Programming Systems Skills in C and Unix
Shell Programming 15-123 Systems Skills in C and Unix The Shell A command line interpreter that provides the interface to Unix OS. What Shell are we on? echo $SHELL Most unix systems have Bourne shell
More informationIntroduc+on. General Information. General Information. General Information. General Information. General Information
Introduc+on IT244 - Introduc+on to Linux / Unix Instructor: Bo Sheng Location and Time S-3-143, Mon & Wed, 4:00 ~ 5:15pm Door code: 261359* Office Hours Science Center, S-3-167, Mon & Wed, 2 ~ 4pm TA office
More informationCptS 360 (System Programming) Unit 2: Introduction to UNIX and Linux
CptS 360 (System Programming) Unit 2: Introduction to UNIX and Linux Bob Lewis School of Engineering and Applied Sciences Washington State University Spring, 2018 Motivation APIs have a history: Learn
More informationCOURSE OUTLINE. UNIX Programming 2014 Fall by Euiseong Seo
COURSE OUTLINE UNIX Programming 2014 Fall by Euiseong Seo Overview What this course is about Who teaches this course Why you have to take this course What you will learn in this course What you will earn
More informationUNIX COMMANDS AND SHELLS. UNIX Programming 2015 Fall by Euiseong Seo
UNIX COMMANDS AND SHELLS UNIX Programming 2015 Fall by Euiseong Seo What is a Shell? A system program that allows a user to execute Shell functions (internal commands) Other programs (external commands)
More informationLinux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2
Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working
More informationINTRODUCTION TO BIOINFORMATICS
Introducing the LINUX Operating System BecA-ILRI INTRODUCTION TO BIOINFORMATICS Mark Wamalwa BecA- ILRI Hub, Nairobi, Kenya h"p://hub.africabiosciences.org/ h"p://www.ilri.org/ m.wamalwa@cgiar.org 1 What
More informationIntroduction to Linux
p. 1/40 Introduction to Linux Xiaoxu Guan High Performance Computing, LSU January 31, 2018 p. 2/40 Outline What is an OS or Linux OS? Basic commands for files/directories Basic commands for text processing
More informationIntroduction to Linux (Part I) BUPT/QMUL 2018/03/14
Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.
More informationXSEDE Scholars Program Introduction to the Linux Environment. Tips and Tricks for Linux Users John Lockman III June 5 th, 2012
XSEDE Scholars Program Introduction to the Linux Environment Tips and Tricks for Linux Users John Lockman III June 5 th, 2012 Tools for this Course You will need a Linux terminal to do the examples as
More informationCSE 390a Lecture 1. introduction to Linux/Unix environment
1 CSE 390a Lecture 1 introduction to Linux/Unix environment slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/390a/ 2 Lecture summary Course introduction
More informationCSE 391 Lecture 1. introduction to Linux/Unix environment
CSE 391 Lecture 1 introduction to Linux/Unix environment slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/391/ 1 2 Lecture summary Course introduction
More informationTable of contents. Our goal. Notes. Notes. Notes. Summer June 29, Our goal is to see how we can use Unix as a tool for developing programs
Summer 2010 Department of Computer Science and Engineering York University Toronto June 29, 2010 1 / 36 Table of contents 1 2 3 4 2 / 36 Our goal Our goal is to see how we can use Unix as a tool for developing
More informationUnix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University
Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )
More information