Before we start…Getting Started. UST Outline History Getting Started Basic commands (command line) Operations on Files and Directories Input and Output.

Slides:



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

Introduction to the gedit editor. gedit: the Gnome editor Gnome: Gnome is a freely available (i.e., no cost) desktop environment for the UNIX system The.
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.
Lesson 10-Controlling User Processes. Overview Managing and processing processes. Managing jobs. Exiting/quitting when jobs have been stopped.
1 The Shell and some useful administrative Unix Commands How Unix works along with some additional, useful administrative Unix commands you might need.
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.
Linux+ Guide to Linux Certification, Second Edition
Linux+ Guide to Linux Certification, Second Edition
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Lecture 02CS311 – Operating Systems 1 1 CS311 – Lecture 02 Outline UNIX/Linux features – Redirection – pipes – Terminating a command – Running program.
CS 497C – Introduction to UNIX Lecture 1: Getting Started Chin-Chih Chang
Introduction to Linux and Shell Scripting Jacob Chan.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Agenda What is Computer Programming? The Programming Process
Advanced Shell Programming. 2 Objectives Use techniques to ensure a script is employing the correct shell Set the default shell Configure Bash login and.
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 3 Mastering Editors
Week 7 Working with the BASH Shell. Objectives  Redirect the input and output of a command  Identify and manipulate common shell environment variables.
Agenda User Profile File (.profile) –Keyword Shell Variables Linux (Unix) filters –Purpose –Commands: grep, sort, awk cut, tr, wc, spell.
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX – The Shell The Shell The agency that.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Guide To UNIX Using Linux Fourth Edition
CENT 305 Information Systems Security Linux Introduction.
Computer Programming for Biologists Oct 30 th – Dec 11 th, 2014 Karsten Hokamp  Fill out.
Introduction to Unix – CS 21 Lecture 9. Lecture Overview Shell description Shell choices History Aliases Topic review.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Linux+ Guide to Linux Certification, Third Edition
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
Week 3 Exploring Linux Filesystems. Objectives  Understand and navigate the Linux directory structure using relative and absolute pathnames  Describe.
LINUX programming 1. INDEX UNIT-III PPT SLIDES Srl. No. Module as per Session planner Lecture No. PPT Slide No. 1.Problem solving approaches in Unix,Using.
Linux+ Guide to Linux Certification Chapter Eight Working with the BASH Shell.
Agenda Regular Expressions (Appendix A in Text) –Definition / Purpose –Commands that Use Regular Expressions –Using Regular Expressions –Using the Replacement.
Introduction to Unix (CA263) Getting Started By Tariq Ibn Aziz.
(A Very Short) Introduction to Shell Scripts CSCI N321 – System and Network Administration Copyright © 2000, 2003 by Scott Orr and the Trustees of Indiana.
UNIX Commands COMP 1090 Introduction to Unix Fall
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: whereis, which, whoami, finger, passwd, cal, date Working with Files: cat, more, less.
Introduction to Unix (CA263) File Editing By Tariq Ibn Aziz.
Chapter Three The UNIX Editors.
Introduction to Programming Using C An Introduction to Operating Systems.
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.
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.
Manually Creating a New User Account Presented by Carl South.
1 CS3695/M6-109 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Linux+ Guide to Linux Certification, Second Edition
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Linux Administration Working with the BASH Shell.
 Prepared by: Eng. Maryam Adel Abdel-Hady
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
ITX2000 Remote hosts and web servers Prof. Xiaohong (Sharon) Gao Room: T125 Ext: Week 14 – UNIX vi text editor.
Linux CSE 1222 CSE1222: Lecture 1BThe Ohio State University1.
Chapter 3: Mastering Editors Chapter 3 Mastering Editors (Emacs)
Introduction to Unix for FreeSurfer Users
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
SUSE Linux Enterprise Desktop Administration
Prepared by: Eng. Maryam Adel Abdel-Hady
Unix Shells.
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands:
Guide To UNIX Using Linux Third Edition
Linux Shell Script Programming
LPI Linux Certification
Presentation transcript:

Before we start…Getting Started

UST Outline History Getting Started Basic commands (command line) Operations on Files and Directories Input and Output Editors (Emacs, gedit, vi) Processes and jobs. Regular expressions and pattern matching. Shell scripts (sed, awk) Maybe Programming (perl, python)

Before we start 1 An overview of the course. be patient, the learning curve is steeper than with windows, but you will develop a deeper appreciation of computers after mastering Unix. no viruses with Unix many people (and companies and governments!) are switching to Unix and Linux You will do a lot of typing, rather than clicking and dragging icons (maybe you should learn to touch type!).

Before we start 2 look at the environment as you learn, and you will learn more. be observant. think about what you are doing. Unix can be thought of as not being user friendly Unix is in contrast to Windows.

Before we start 3 you may love/hate Windows/Unix. try and develop a balance perspective. you can switch between operating systems. but you should learn to use both (why?). Unix offers diversity from windows.

Getting Started You will not know everything about Unix, part of this course is to teach you how to find it. You need to do Unix to learn it, not just read about it. You cannot learn it just from the man pages, like you cannot learn a language from a dictionary, or java from the API.

ASCII ASCII (American Standard Code For Information Interchange), is a numerical code for characters. 7 bits providing 128 characters. Unicode has now been developed ( Unix is case sensitive. Control characters (e.g. ^L clears the screen, ^H is backspace, ^C cancels a login attempt) What do ^A and ^E do? the Unix environment is unforgiving, so be careful.

Shells Unix often comes with three main shells. Bourne and Korn shells use the dollar $ prompt. The C shell uses percent % You can find out your shell by echo $SHELL To log out type exit or logout or quit. Read the error messages (Just like you should be doing with Java)

Advice 1 ^C kills a command, and ^Z suspends the command. Unix terminals are typically left switched on. keep your password secret. passwd to change your password keep a list of commands you have found useful during the course.

Advice 2 use the tab key to auto-complete commands and arguments. semi-colon ; can connect two commands. pipe | send output of one command to input of next command. man (manual) command to find out about commands. Windows confirms almost everything, Unix confirms almost nothing - so be careful (unless you use interactive mode).

Advice 3 Always think – is there an easier way to do this (remember computing is all about efficiency) Always think – is there another way to do this. Often doing things a different way make you think about what you are doing. Always think – has someone else already solved this problem. Always think – can what you are doing be automated. Computer thrive on repetitive processes. Make a list of commands you use (along with the options)