Linux Introduction What is Linux? How do you use it?

Slides:



Advertisements
Similar presentations
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
Advertisements

Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
Chapter One The Essence of UNIX.
1 Unix Systems Administration Y. K. Chang Generic Unix Directory Structure /bin /dev /etc /sbin /home /lost+found / Root Dir /dsk /rdsk /term /pts /rmt.
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Guide To UNIX Using Linux Third Edition
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 1 Introduction to Managing the SUSE Linux Enterprise Server.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Chapter 2: Exploring the Desktop The Complete Guide to Linux System Administration.
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
File System and Directory Structure in Linux. What is File System In a computer, a file system is the way in which files are named and where they are.
Linux GUI Chapter 5. Graphical User Interface GUI vs. CLI Easier and more intuitive More popular and advanced Needed for graphics, web browsing Linux.
Linux Operations and Administration
Operating Systems Operating System
Guide To UNIX Using Linux Fourth Edition
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Hands-On Microsoft Windows Server 2008
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Component 4: Introduction to Information and Computer Science Unit 4: Application and System Software 1 Health IT Workforce Curriculum Version 1.0/Fall.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 4 Manage Software for SUSE Linux Enterprise Server.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
University of Management & Technology 1 Operating Systems & Utility Programs.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Chapter Two Exploring the UNIX File System and File Security.
SUSE Linux Enterprise Desktop Administration Chapter 6 Manage Software.
Filesystem Hierarchy Dr. Michael L. Collard 1.
USING YOUR INSTALLED LINUX SYSTEM.  Common Linux Tasks  Installing Custom Packages  Common GUI Applications  Command Line Shell  Directory Structure/Navigation.
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
Linux file system "On a UNIX system, everything is a file; if something is not a file, it is a process." Sorts of files (on a Linux system) Directories:
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
UNIX/LINUX OPERATING SYSTEM. Introduction to Linux Introduction to Unix History of UNIX What is Linux Linux Distributions Linux Installation Unix File.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
Linux Overview Why Linux ? Not-so-ancient history –Torvalds, Linus Torvalds, 002 the Helsinki University, as a student, low budget, work home –rapid and.
UNIX History - joint venture between MIT and Bell Labs (originally called Multics) – Ken Thompson (AT&T) created an operating system to run Space.
Linux Commands C151 Multi-User Operating Systems.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
CSC190 Introduction to Computing Operating Systems and Utility Programs.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
2: Operating Systems Networking for Home & Small Business.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
A Brief Introduction to Linux Cheng-Han Du. History.
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Linux Administration – Finding You Way on the Command Line The Linux File Directory or Tree.
Course : PGClass : MCA Subject: Operating SystemSub.Code : 3CT11 Staff Name : S.SomasundaramYear & Sem : II nd & III rd.
Linux Essentials Chapter 1: Selecting an Operating System.
IT320 Operating System Concepts
Guide to Linux Installation and Administration, 2e
Welcome to Linux Chap#1 Hanin Abdulrahman.
Chapter 8 Operating Systems and Utility Programs.
UBUNTU INSTALLATION
Linux file system "On a UNIX system, everything is a file;
Structure of Unix OS.
9 Linux on the Desktop.
Exploring the UNIX File System and File Security
Operating Systems Lecture 4.
Chapter 2: The Linux System Part 1
Linux Professor Sabol.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

Linux Introduction What is Linux? How do you use it?

cs490ns - cotter2 Outline Linux Background Linux Basic Structure Linux User Interface Linux Commands

cs490ns - cotter3 History Linus Torvalds (Finnish student) looked for a development version of UNIX (other than Minux). Objective was to develop an open source version of UNIX that was functionally identical, but source code independent (as a hobby) Focus on the core operating system (the kernel) Project took on its own life. Version 1.0 released March, 1994

cs490ns - cotter4 Design Capabilities Multi-tasking Multi-user Multi-processing (multiple processors) Architecture Independence File system Flexibility Paging Memory Protection (protected mode) Networking

cs490ns - cotter5 Kernel vs Distribution Kernel provides core OS functionality –managed by Linux.org (Torvalds, et.al.) Distribution provides installation and package management needed to implement a complete OS including applications –Red Hat (Fedora) –CentOS –Ubuntu –SuSe –Debian –many others

cs490ns - cotter6 System Organization Like UNIX... Predefined root directory structure with preferred locations for kernel files / (root) bin boot dev etc home lib mnt proc root sbin tmp usr var

cs490ns - cotter7 System Organization DirectoryPurpose /The root directory, which is the top of the file system. /binCritical executables needed to boot the system. /devDevices connected to the system, such as terminals, disks, tapes, modems, etc. /etcSystem configuration files, including passwords, network addresses and names, system start-up settings, etc. /homeLocation of users directories. /libThe home of various shared libraries for programs.

cs490ns - cotter8 System Organization DirectoryPurpose /mntThe point where file systems exported from another system are temporarily mounted. /procImages of currently executing processes on the system. /tmpTemporary files that are cleaned up during the boot operation. /usrA variety of system files, including standard system utilities (/usr/bin), manual pages (/usr/man), headers for C programs (/usr/include), and administration executables (/usr/sbin). /varDirectory that stores log files (/var/log) and temporary storage space for services (such as spooling for mail, printers, etc.)..Current directory...The directory just above the current directory.

cs490ns - cotter9 Linux Security File Level Security –Authentication - allow only authorized users into the system (user name, password) –Access control - Ensure that resources (files) are only used by authorized users. (user id, group id, mode bits) System Level Security –Many of the same weaknesses as UNIX, since the basic design is the same –Open source: Makes it easy for hackers to analyze the system Easy for testers to fix the system when bugs are found.

cs490ns - cotter10 User Interface Options Command Line Interface –Primitive Interface that requires little system support –Used on Embedded systems, old systems, some servers –All Linux (UNIX) functions (commands) originally developed for command line. –Commands defined in man 1 (See also “Running Linux”) –Change to GUI with “startx”

cs490ns - cotter11 User Interface Options Graphical User Interface –Based on X Windows System X Server to generate display (bitmap) X Client to present display to Video monitor –Manages basic graphical display configuration Display Resolution Monitor type Video Card Input Devices –Use Window Managers to provide GUI

cs490ns - cotter12 User Interface Options GNOME –GNU Network Object Model Environment –Uses “Enlightenment” or “Sawfish” WM –Based on CORBA Architecture to support interaction between objects (applications, components, etc.) –Uses Nautilus File Manager

cs490ns - cotter13 User Interface Options KDE –K Desktop Environment –Heavy use of Drag-and-drop –Includes Kongueror File Manager Integrates local file management with Web browsing –Often extensive list of “K” applications and applets available.

cs490ns - cotter14 Commands Installation / Update Schedule Programs / Jobs Check / Change Environmental Variables Manage Processes

cs490ns - cotter15 Installation / Update Based on “packages” that include all files associated with an application / function Includes configuration information – directory locations, linkage to existing system config files. Most common is rpm – Red Hat Package Manager –Developed by Red Hat, but supported by many Linux Distributions –Provides a method to test, verify, install, uninstall or upgrade software (packages)

cs490ns - cotter16 Automatically Schedule Programs

cs490ns - cotter17 Manually Schedule / Run Programs cron –System program that will schedule jobs crontab –Users controlled by /etc/cron.allow or /etc/cron.deny –Specify H Min D Mon DOW command –crontab –5 * 1,15 * * echo “turn in timesheets!” | mail cotterr – “^D”

cs490ns - cotter18 Manually Schedule / Run Programs at –Users controlled through /etc/at.allow or /etc/at.deny –Specify time [date] of execution –provide list (file) of commands / jobs to execute –at 11:21 Jan 5 –at> /home/cotterr/bin/myscript.sh –at> cp /home/cotterr/info.txt /home/backup/info.txt –at> “^D”

cs490ns - cotter19 Environmental Variables printenv –Display all environmental variables echo $PATH –Display the contents of a single variable set $PATH=“$PATH:/sbin” –Temporarily add “/sbin” to search path set –Display all current variables

cs490ns - cotter20 Manage Processes ps –Print status of all of your active processes ps aux –Print status on all active processes kill –s 9 PID –Terminate a process with process id PID

cs490ns - cotter21 SUMMARY Linux Background Linux Basic Structure Linux User Interface Linux Commands