What is Unix? A multi-user networked operating system

Slides:



Advertisements
Similar presentations
Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy.
Advertisements

Linux+ Guide to Linux Certification, Second Edition
The UNIX File System.
What is Unix? A multi-user networked operating system –“Operating System” Handles files, running other programs, input/output Just like DOS or Windows.
What is Unix? A multi-user networked operating system –“Operating System” Handles files, running other programs, input/output Looks like DOS…but more powerful.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  Currently there.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
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.
Introduction to Unix Bent Thomsen Institut for Datalogi Aalborg Universitet.
Introduction to Unix Bent Thomsen Institut for Datalogi Aalborg Universitet.
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
The UNIX Shell. The Shell Program that constantly runs at terminal after a user has logged in. Prompts the user and waits for user input. Interprets command.
Linux+ Guide to Linux Certification, Second Edition
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.
1 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
Agenda Basic Unix Commands (Chapters 2 & 3) Miscellaneous Commands: whereis, which, whoami, finger, passwd, cal, date Working with Files: cat, more, less.
Λειτουργικά Συστήματα – Lab2 Γιάννης Πετράκης. Directory Navigation and Control  The Unix file system is set up like a tree branching out from the root.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
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.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
 Last lesson, the Windows Operating System was discussed along with the Windows command shell  Unix is a computer operating system, that similarly manages.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  There are many different.
What is Unix? A multi-user networked operating system –“Operating System” Handles files, running other programs, input/output Just like DOS or Windows.
Operating Systems and Using Linux Courtesy of John Y. Park 1.
CMSC 104, Version 8/061L03OperatingSystems.ppt Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux.
Introduction to LINUX command line Allegra Via IBBE, National Research Council, Italy Sapienza Università di Roma, Italy EMBO Practical Course on Computational.
2Operating Systems  Program that runs on a computer  Manages hardware resources  Allows for execution of programs  Acts as an intermediary between.
CMSC 104, Version 9/011 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Overview of Linux Fall 2016 Dr. Donghyun Kim
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.
CS1010: Intro Workshop.
Commands Basic syntax of shell commands UNIX or shell commands have a basic structure command -options target command comes first (such as cd or ls) any.
Web Programming Essentials:
Some Linux Commands.
The Command Prompt Commands are the way to “do things” in Unix
Part 3 – Remote Connection, File Transfer, Remote Environments
CSE 374 Programming Concepts & Tools
Introduction to UNIX.
Operating Systems and Using Linux
Operating Systems and Using Linux
An Introduction to UNIX System --- Cosc513 Presentation
Exploring the UNIX File System and File Security
Operating Systems and Using Linux
IWS (Instructional Work Servers)
Operating Systems and Using Linux
Operating Systems and Using Linux
IWS (Instructional Work Servers)
Web Programming Essentials:
Shells, Help, and Paths.
Introduction Paul Flynn
Operating Systems and Using Linux
Operating Systems and Using Linux
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Tutorial Unix Command & Makefile CIS 5027
Operating Systems and Using Linux
Operating Systems and Using Linux
CSE 303 Concepts and Tools for Software Development
Operating Systems and Using Linux
Module 6 Working with Files and Directories
Operating Systems and Using Linux
Lab 2: Terminal Basics.
January 26th, 2004 Class Meeting 2
Presentation transcript:

What is Unix? A multi-user networked operating system Handles files, running other programs, input/output Looks like DOS…but more powerful The internet was designed on it, thus networking is an intrinsic part of the system “Multi-user” Every user has different settings and permissions Multiple users can be logged in simultaneously Tons of fun!!! w00t! This tutorial provided by UW ACM http://www.cs.washington.edu/orgs/acm/ Questions to clbaker@cs, tanderl@cs, martine@cs, robh@cs, monnahan@cs

Logging In All four island servers allow you to access to your files Better performance on the right one Although your Windows and Unix usernames are the same, they have separate accounts (different passwords) Your z: drive is not your Unix account Connecting: We’ll connect to the Unix machines via ssh After connection, you are presented with a login prompt After logging in, you’re placed in your home directory (where your personal files are located)

The Command Prompt Commands are the way to “do things” in Unix A command consists of a command name and options called “flags” Commands are typed at the command prompt In Unix, everything (including commands) is case-sensitive [prompt]$ <command> <flags> <args> fiji:~$ ls –l -a unix-tutorial Command (Optional) arguments Command Prompt (Optional) flags Note: Many Unix commands will print a message only if something went wrong. Be careful with rm and mv.

Directories In Unix, files are grouped together in other files called directories, which are analogous to folders in Windows Directory paths are separated by a forward slash: / Example: /homes/iws/robh/classes/cse326 The hierarchical structure of directories (the directory tree) begins at a special directory called the root, or / Absolute paths start at / Relative paths start in the current directory Example: classes/cse326 (if you’re currently in /homes/iws/robh) Your home directory “~” is where your personal files are located, and where you start when you log in. Example: /homes/iws/robh

Files Unlike Windows, in Unix file types (e.g. “executable files, ” “data files,” “text files”) are not determined by file extension (e.g. “foo.exe”, “foo.dat”, “foo.txt”) Thus, the file-manipulation commands are few and simple … Many use only 2 letters rm ReMoves a file, without a possibility of “undelete!” Syntax: rm <file(s)> Example: rm tutorial.txt backups/old.txt

Shell Shortcuts Tab completion Command history Wildcards Type part of a file/directory name, hit <tab>, and the shell will finish as much of the name as it can Works if you’re running tcsh or bash Command history Don’t re-type previous commands – use the up-arrow to access them Wildcards Special character(s) which can be expanded to match other file/directory names * Zero or more characters ? Zero or one character Examples: ls *.txt rm may-?-notes.txt