BIF713 Introduction to Linux. Agenda Getting Started: Using Linux Unix and Linux - Structure / Features Elements of the Linux Philosophy Linux Command.

Slides:



Advertisements
Similar presentations
A Guide to Unix Using Linux Fourth Edition
Advertisements

Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
Chapter One The Essence of UNIX.
PacNOG 6: Nadi, Fiji Using Commands in Linux Hervey Allen Network Startup Resource Center.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Operating Systems Review. User Computer, including HW and SW.
Guide To UNIX Using Linux Third Edition
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.
Guide To UNIX Using Linux Third Edition
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
Objectives  Understand the purpose of the superuser account  Outline the key features of the Linux desktops  Navigate through the menus  Getting help.
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
1. This presentation covers :  User Interface Administration  Files System and Services Management 2.
Using the “CLI” Unix / Linux Preparation Course May 25 Djibouti.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
Advanced Shell Programming. 2 Objectives Use techniques to ensure a script is employing the correct shell Set the default shell Configure Bash login and.
Agenda  Terminal Handling in Unix File Descriptors Opening/Assigning & Closing Sockets Types of Sockets – Internal(Local) vs. Network(Internet) Programming.
UNIX command line. In this module you will learn: What is the computer shell What is the command line interface (or Terminal) What is the filesystem tree.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Software GCSE ICT.
UNIX Unbounded 5th Edition Amir Afzal Chapter 3 Getting Started
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
Standard Grade Computing System Software & Operating Systems.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
BIF703 stdin, stdout, stderr Redirection. stdin, stdout, stderr Recall the Unix philosophy “do one thing well”. Unix has over one thousand commands (utilities)
CENT 305 Information Systems Security Linux Introduction.
Agenda Chapter 1: Linux (Unix) Features Commands (Chapters 2 & 3) Command Structure / Command line editing man, passwd, cal, date, whereis, which Working.
UNIX and Shell Programming (06CS36) Unit 1 Continued… Shrinivas R. Mangalwede Department of Computer Science and Engineering K.L.S. Gogte Institute of.
The Shell Chapter 7. Overview The Command Line Standard IO Redirection Pipes Running a Program in the Background Killing (a process!)
System Administration Introduction to Unix Session 2 – Fri 02 Nov 2007 Reference:  chapter 1, The Unix Programming Environment, Kernighan & Pike, ISBN.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
CS 390 Unix Programming Environment Summer Suchindra Rengan - CS3902 Course Details Instructors Suchindra Rengan – ‘sachin’ ( Section 001)
Linux+ Guide to Linux Certification, Third Edition
Using Commands Unix/IP Preparation Course July 19, 2009 Eugene, Oregon, USA
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Some content in this lecture added.
Operating Systems and Using Linux CMSC 104, Lecture 3 John Y. Park 1.
Agenda Getting Started: Using Unix Unix Structure / Features Elements of the Unix Philosophy Unix Command Structure Command Line Editing Online Unix Command.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Using Commands Unix / Linux Preparation Course May 6, 2012 Serrekunda, The Gambia.
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
UNIX and Shell Programming
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: whereis, which, whoami, finger, passwd, cal, date Working with Files: cat, more, less.
Λειτουργικά Συστήματα - Lab1 Γιάννης Πετράκης. The Operating System  Unix is a layered operating system  The innermost layer is the hardware that provides.
Agenda Introduction to Shell Scripts Purpose of Shell Scripts
UNIX Unit 1- Architecture of Unix - By Pratima.
Introduction to UNIX. 2 History of Unix  1960 Software based on Hardware Limits  1969 Ken Thompson Develop a Better Programming Environment  1971 New.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: which, passwd, date, ps / kill Working with Files: file, touch, cat, more, less, grep,
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Using the “CLI” Unix / Linux Preparation Course June 9, 2013 Lusaka, Zambia.
Agenda Positional Parameters / Continued... Command Substitution Bourne Shell / Bash Shell / Korn Shell Mathematical Expressions Bourne Shell / Bash Shell.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
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.
Lesson 6-Using Utilities to Accomplish Complex Tasks.
Agenda Managing Processes (Jobs) Command Grouping Running jobs in background (bg) Bringing jobs to foreground (fg), Background job status (jobs) Suspending.
Agenda The Bourne Shell – Part I Redirection ( >, >>,
Operating Systems and Using Linux Courtesy of John Y. Park 1.
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
2Operating Systems  Program that runs on a computer  Manages hardware resources  Allows for execution of programs  Acts as an intermediary between.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands:
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
Shell & Kernel Concepts in Operating System
Introduction to Operating Systems
CSE 303 Concepts and Tools for Software Development
Module 5 Getting Help.
Presentation transcript:

BIF713 Introduction to Linux

Agenda Getting Started: Using Linux Unix and Linux - Structure / Features Elements of the Linux Philosophy Linux Command Structure Command Line Editing Online Linux Command Manual (man)

Unix Features The Unix operating system has the ability to run many processes (jobs) at the same time. Many jobs create other jobs that run simultaneously (for example, the Unix OS Kernel is a job which creates other jobs such as scheduling tasks, etc). Running many processes at the same time can allow many users to connect to and use the computer resources at the same time (This concept is referred to as "multitasking"). The Unix file system allows users to share or restrict access to their files and directories. Unix allows for a "Super-user ” or “ root” account to update or modify the UNIX Kernel (operating system).

Unix Features The Unix Shell provides a command interpreter to allow the user to communicate with the computer system (both on a software and hardware basis). There are over one thousand commands available. Many of these commands or "utilities" are available for the regular user. There are also commands that are available for the "super-user" for administering the OS. The Shell is not only a command interpreter, but is also a programming interface  i.e. commands can be bundled into files to be run (shell scripts) to accomplish many tasks.

The Unix Philosophy The Unix operating system is considered to be a “ complex ” operating system by the beginning user. In order to get an “ intuitive feel ” (better understanding) of Unix, users should understand the philosophy of Unix which was developed by its creators over 30 years ago.

The Unix Philosophy  “ Keep It Small and Simple (KISS)” Do one task well (i.e. A command should be designed to do only one task and do it well).  “Understand the Unix Hierarchy” Everything on the UNIX OS is interpreted as a file (file, directory, device). Directories are structured in a Hierarchical nature (like a family tree) to better organize material. Similar concept applies to processes

The Unix Philosophy “Using Pipe (Filters)” Unix OS commands can be connected by a mechanism called "pipes" to modify results from a command (called "filtering"). In this way, small and specific commands can be connected together to achieve the desired output or results. “People can Read” There is much documentation available to help the user to solve problems related to Unix and Linux OS such as HOWTO manuals, online documentation and newsgroups.

Utilities (Commands) For the remainder of this course, you can assume that utilities and commands mean the same thing. Linux commands are usually typed in lowercase followed by an argument (or arguments). Pressing ENTER or RETURN signals that you have completed giving an instruction and that you are ready for the OS to execute the command or respond to your message.

Unix Command Structure command [arg 1] [arg 2] … [arg n] An argument is a filename, string or text, or some other object that a command acts upon. An option is also an argument that modifies the effect of a command. A space, a number of spaces, or a tab can be used to separate command from argument, or separate arguments.

Command Line Editing You can correct mistyped command prior to pressing ENTER or RETURN Erase Characters Backspace or CTRL-Backspace or CTRL-h Delete a Word CTRL-w Delete an Entire Line CTRL-u

Command Line Editing Aborting Program Execution DELETE or CTRL-c Recalling Previous Commands Depends on shell &.profile setup Matrix / Zenit: Up arrow, Down arrow

Online Command Manual (man) A comprehensive online manual for common UNIX commands format: man [options] command Options: -k provides short (one-line) explanation relating to the commands matching the character string eg. man -k calendar