Welcome. IT in AOS. Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University. September 21, 2012

Size: px
Start display at page:

Download "Welcome. IT in AOS. Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University. September 21, 2012"

Transcription

1 Welcome IT in AOS Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University September 21, 2012

2 Outline 1 Introduction to AOS IT Services 2 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 3 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 4 The Command-Line The Filesystem File and Directory Management Finding Files Ownership and Permissions 5 Fun Tips

3 Introduction to AOS IT Services Getting Support Check our wiki Include: A clear subject line A body with as much detail as possible. Your availability for the day. Your computer s name. Your username.

4 Introduction to AOS IT Services A good support request Subject: AOS-Jet-Duplex printer not working Hi AOS Support, I m having trouble printing to AOS-Jet-Duplex from my linux computer lappy. In OpenOffice, I select File -> Print but cannot find the printer AOS-Jet-Duplex. I log in as mhavas. If you d like to drop by, I ll be in my office for the next hour but plan to have some lunch. I should be back at around 3pm. Thanks, Michael

5 Introduction to AOS IT Services A Support Request That Can Use Some Work Subject: Fwd: Fwd: Re: Hi I can t print. HELP!

6 Accounts McGill Account Provided by McGill Supported by McGill: AOS Account Account name is normally a variation of firstname and lastname Grants you access to departmental systems (computers/printers) Supported by me.

7 Accounts McGill Account Provided by McGill Supported by McGill: AOS Account Account name is normally a variation of firstname and lastname Grants you access to departmental systems (computers/printers) Supported by me.

8 Introduction to AOS IT Services Remote Access Only computer accessible to the outside world is meteo.mcgill.ca also known as zephyr Is only available through ssh From zephyr, you can access any other system you have access to via ssh If you are connected to a departmental network jack, you don t need to go through zephyr

9 Introduction to AOS IT Services Printing McGill provides uprint where your student account is charged We provide free black+white printing to AOS-Jet-Duplex We provide colour printing charged back to your supervisor with AOS-Rainbow-Duplex

10 Introduction to AOS IT Services Website When AOS Account created You can create a website USERNAME

11 Introduction to AOS IT Services Computer Labs 708A 15 computers Projector with SMART Display All Linux

12 Outline 1 Introduction to AOS IT Services 2 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 3 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 4 The Command-Line The Filesystem File and Directory Management Finding Files Ownership and Permissions 5 Fun Tips

13 Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

14 Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

15 Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

16 Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

17 Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

18 Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

19 Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

20 What is Linux? A Unix-like operating system created by Linus Torvalds in Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

21 What is Linux? A Unix-like operating system created by Linus Torvalds in Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

22 What is Linux? A Unix-like operating system created by Linus Torvalds in Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

23 What is Linux? A Unix-like operating system created by Linus Torvalds in Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

24 Why Free Software? When you use free software, you also get the freedom to study, copy, change and redistribute the source code. If you don t like something, change it!

25 Why Free Software? When you use free software, you also get the freedom to study, copy, change and redistribute the source code. If you don t like something, change it!

26 Outline 1 Introduction to AOS IT Services 2 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 3 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 4 The Command-Line The Filesystem File and Directory Management Finding Files Ownership and Permissions 5 Fun Tips

27 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

28 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

29 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

30 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

31 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

32 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

33 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

34 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

35 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

36 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

37 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

38 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

39 Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

40 Applications in Windows and Linux Type Windows Linux Web Browser Internet Explorer Firefox Client Outlook Thunderbird File Transfer CuteFTP Filezilla Instant Messenger MSN Messenger Pidgin Media Player Windows Media Player VLC File Browser Windows Explorer Nautilus Raster Graphics Editor Photoshop The GIMP Vector Graphics Editor Illustrator Inkscape Office Suite Microsoft Office OpenOffice PDF Viewer Adobe Reader Evince Music Player Itunes Rhythmbox More equivalent applications

41 The Graphical User Interface

42 Outline 1 Introduction to AOS IT Services 2 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 3 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 4 The Command-Line The Filesystem File and Directory Management Finding Files Ownership and Permissions 5 Fun Tips

43 Why use the Command-Line? Fast. Efficient. Powerful. Scripting language. Remote access. Almost Anything you can do in the GUI, you can do on the command line: Listen to music. Read . Browse the web. Watch movies (kinda: towel.blinkenlights.nl).

44 The Filesystem One root to rule them all

45 The Filesystem Different devices, same root

46 Absolute vs Relative Paths Absolute vs Relative Absolute Starting from the root (/). Relative Starting from your working directory. Special Paths. The current directory... The parent of the current directory. On Linux, everything is case sensitive!

47 Absolute vs Relative Paths An Example

48 Getting Around Shortcuts Shortcuts ${HOME} Your home directory. Your home directory. mhavas My home directory.

49 Getting Around Commands ls List contents of directory. cd Change directory. pwd Print working/current directory. Tab-completion is your friend

50 File and Directory Management Commans touch file Creates a file called file. mkdir dir Creates a directory dir. rm file Remove a file. rmdir dir Remove an empty directory dir. cp src dst Copies file from src to dst. mv src dst Moves file/dir from src to dst. du file Prints size of file in bytes. file file Prints what type of file file is. ln file link Creates a hard or soft link between file and link.

51 File and Directory Management Useful Options Commands mkdir -p path Creates all directories if they do not exist in path. rm -r dir Removes all files and directories in dir including dir cp -a srcdir dstdir Copies directory and contents from srcdir to dstdir. ls -l Same as ls but gives more information. du -hs dir Prints size of directory and all contents in human-readable format. Getting Help For useful options and detailed help for almost any program, you can look at the manual for that specific command using: man command.

52 Finding Files Finding Files Find files using locate locate word Find file or directory that has word in it. Fast but only search a database. Database is refreshed once a day using updatedb Find files using find find path -iname *word* Finds files and directories recursively starting in path path that have word in their filename. Very useful command and has lots and lots of options.

53 Finding Files Useful arguments to find More on the find command find. -type d Find all directories under the current directory. find. -type f Find all files under the current directory. find. -mtime 1 Find that were created in the past 24 hours. find. -daystart -mtime +0 -mtime -3 Find files created between yesterday and the day before. find. -size -5k Find files less than 5 kilobytes. Operating on found files find. -type d -exec chmod 755 {} \; Find all directories under the current directory and execute chmod 755 on them. find. -type f -exec chmod 644 {} \; Find all files under the current directory and execute chmod 755 on them.

54 Finding Files Finding Programs The path environment variable path tells the shell where to look for files. You can execute a program in your path by typing program. Programs not in your path must include the program s path. For example, /aos/shared/bin/matlab You can see your path by issuing env $PATH Searching through your path which program Will show the location of the first program named program in your path. which -a program Will show all programs names program in your path. Note that only the first will run if you type program. whereis program Will search for a program s binary, source and help in their standard locations.

55 Ownership and Permissions Owner tmp]$ ls -l -rw-rw-r--. 1 mhavas mhavas :18 a.1 -rw-rw-r--. 1 mhavas mhavas :18 b.1 -rw-rw-r--. 1 mhavas mhavas :18 c.1 -rw-rw-r--. 1 mhavas mhavas :18 t2.sh -rw-rw-r--. 1 mhavas mhavas :18 test1.txt

56 Ownership and Permissions Group tmp]$ ls -l -rw-rw-r--. 1 mhavas mhavas :18 a.1 -rw-rw-r--. 1 mhavas mhavas :18 b.1 -rw-rw-r--. 1 mhavas mhavas :18 c.1 -rw-rw-r--. 1 mhavas mhavas :18 t2.sh -rw-rw-r--. 1 mhavas mhavas :18 test1.txt

57 Ownership and Permissions Changing Ownership Commands for changing ownership chown user file Change the ownership of file to user. chgrp group file Change the group ownership of file to group. chown user:group file Change the ownership of file to user user and group group. Both commands can take a -R argument to apply the change recursively.

58 Ownership and Permissions Permissions tmp]$ ls -l -rw-rw-r--. 1 mhavas mhavas :18 a.1 -rw-rw-r--. 1 mhavas mhavas :18 b.1 -rw-rw-r--. 1 mhavas mhavas :18 c.1 -rw-rw-r--. 1 mhavas mhavas :18 t2.sh -rw-rw-r--. 1 mhavas mhavas :18 test1.txt

59 Ownership and Permissions Permissions user group other r w x r w x r w x File Permissions r Read file. w Write file. x Execute file. Group Permissions r List contents. w Write into. x Enter.

60 Ownership and Permissions Changing Permissions Commands for changing permissions chmod perms file Changes the permission of file file to perms. perms? what perms? user group other r w x r w x r w x [mhavas@lappy tmp]$ ls -l a.1 -rw-r--r--. a.1 [mhavas@lappy tmp]$ chmod g+x,o+x a.1 [mhavas@lappy tmp]$ ls -l a.1

61 Ownership and Permissions Changing Permissions Commands for changing permissions chmod perms file Changes the permission of file file to perms. perms? what perms? user group other r w x r w x r w x [mhavas@lappy tmp]$ ls -l a.1 -rw-r--r--. a.1 [mhavas@lappy tmp]$ chmod g+x,o+x a.1 [mhavas@lappy tmp]$ ls -l a.1 -rw-r-xr-x. a.1

62 Ownership and Permissions Changing Permissions Commands for changing permissions chmod perms file Changes the permission of file file to perms. perms? what perms? user group other r w x r w x r w x [mhavas@lappy tmp]$ ls -l a.1 -rw-r--r--. a.1 [mhavas@lappy tmp]$ chmod g+x,o+x a.1 [mhavas@lappy tmp]$ ls -l a.1 -rw-r-xr-x. a.1 [mhavas@lappy tmp]$ chmod a+w a.1 [mhavas@lappy tmp]$ ls -l a.1

63 Ownership and Permissions Changing Permissions Commands for changing permissions chmod perms file Changes the permission of file file to perms. perms? what perms? user group other r w x r w x r w x [mhavas@lappy tmp]$ ls -l a.1 -rw-r--r--. a.1 [mhavas@lappy tmp]$ chmod g+x,o+x a.1 [mhavas@lappy tmp]$ ls -l a.1 -rw-r-xr-x. a.1 [mhavas@lappy tmp]$ chmod a+w a.1 [mhavas@lappy tmp]$ ls -l a.1 -rw-rwxrwx. a.1

64 Outline 1 Introduction to AOS IT Services 2 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 3 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 4 The Command-Line The Filesystem File and Directory Management Finding Files Ownership and Permissions 5 Fun Tips

65 Fun Tips cd - Go back to the last directory you visited. cd Go to your home directory. mkdir -p dir/{dir1,dir2,dir3} Create multiple nested directories at once.

AOS Linux Tutorial. Introduction to Linux. Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University. September 15, 2011

AOS Linux Tutorial. Introduction to Linux. Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University. September 15, 2011 AOS Linux Tutorial Introduction to Linux Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University September 15, 2011 Outline 1 Introduction to Linux Benefits of Linux What Exactly is Linux?

More information

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Brief 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 information

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

UNIX File Hierarchy: Structure and Commands

UNIX File Hierarchy: Structure and Commands UNIX File Hierarchy: Structure and Commands The UNIX operating system organizes files into a tree structure with a root named by the character /. An example of the directory tree is shown below. / bin

More information

Unix Filesystem. January 26 th, 2004 Class Meeting 2

Unix Filesystem. January 26 th, 2004 Class Meeting 2 Unix Filesystem January 26 th, 2004 Class Meeting 2 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty at Virginia Tech Unix Filesystem! The filesystem is your interface

More information

Linux at the Command Line Don Johnson of BU IS&T

Linux 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 information

Working with Basic Linux. Daniel Balagué

Working with Basic Linux. Daniel Balagué Working with Basic Linux Daniel Balagué How Linux Works? Everything in Linux is either a file or a process. A process is an executing program identified with a PID number. It runs in short or long duration

More information

Introduction to the Linux Command Line

Introduction to the Linux Command Line Introduction to the Linux Command Line May, 2015 How to Connect (securely) ssh sftp scp Basic Unix or Linux Commands Files & directories Environment variables Not necessarily in this order.? Getting Connected

More information

CS Unix Tools. Lecture 2 Fall Hussam Abu-Libdeh based on slides by David Slater. September 10, 2010

CS Unix Tools. Lecture 2 Fall Hussam Abu-Libdeh based on slides by David Slater. September 10, 2010 Lecture 2 Fall 2010 Hussam Abu-Libdeh based on slides by David Slater September 10, 2010 Last Time We had a brief discussion On The Origin of Species *nix systems Today We roll our sleeves and get our

More information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction 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 information

Introduction to Linux

Introduction 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 information

Week 2 Lecture 3. Unix

Week 2 Lecture 3. Unix Lecture 3 Unix Terminal and Shell 2 Terminal Prompt Command Argument Result 3 Shell Intro A system program that allows a user to execute: shell functions (e.g., ls -la) other programs (e.g., eclipse) shell

More information

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou

EECS 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 information

Introduction to Linux

Introduction 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 information

Chapter-3. Introduction to Unix: Fundamental Commands

Chapter-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 information

AN INTRODUCTION TO UNIX

AN INTRODUCTION TO UNIX AN INTRODUCTION TO UNIX Paul Johnson School of Mathematics September 18, 2011 OUTLINE 1 INTRODUTION Unix Common Tasks 2 THE UNIX FILESYSTEM Moving around Copying, deleting File Permissions 3 SUMMARY OUTLINE

More information

CSE 390a Lecture 1. introduction to Linux/Unix environment

CSE 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 information

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Overview 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 information

Working with Ubuntu. Bok, Jong Soon

Working with Ubuntu. Bok, Jong Soon Working with Ubuntu Bok, Jong Soon javaexpert@nate.com www.javaexpert.co.kr Office Suites Windows : Microsoft Office, LibreOffice Mac os x : iwork, Microsoft Office, LibreOffice Linux : LibreOffice, Koffice,

More information

Introduction to Linux Basics

Introduction 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 information

Introduction to Unix: Fundamental Commands

Introduction to Unix: Fundamental Commands Introduction to Unix: Fundamental Commands Ricky Patterson UVA Library Based on slides from Turgut Yilmaz Istanbul Teknik University 1 What We Will Learn The fundamental commands of the Unix operating

More information

Introduction: What is Unix?

Introduction: 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 information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Intro to Linux & Command Line

Intro to Linux & Command Line Intro to Linux & Command Line Based on slides from CSE 391 Edited by Andrew Hu slides created by Marty Stepp, modified by Jessica Miller & Ruth Anderson http://www.cs.washington.edu/391/ 1 Lecture summary

More information

commandname flags arguments

commandname flags arguments Unix Review, additional Unix commands CS101, Mock Introduction This handout/lecture reviews some basic UNIX commands that you should know how to use. A more detailed description of this and other commands

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

CISC 220 fall 2011, set 1: Linux basics

CISC 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 information

Files

Files http://www.cs.fsu.edu/~langley/cop3353-2013-1/reveal.js-2013-02-11/02.html?print-pdf 02/11/2013 10:55 AM Files A normal "flat" file is a collection of information. It's usually stored somewhere reasonably

More information

Introduction to Linux

Introduction 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 information

Perl and R Scripting for Biologists

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 information

Welcome to Linux. Lecture 1.1

Welcome 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 information

SECTION -C. Getting Started with UNIX

SECTION -C. Getting Started with UNIX Lecture 15 SECTION -C Getting Started with UNIX Introduction Changing permission modes Absolute & Relative Permissions Changing file permissions : chmod A file or directory is created with a default set

More information

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester

Linux Essentials. Programming and Data Structures Lab M Tech CS First Year, First Semester Linux Essentials Programming and Data Structures Lab M Tech CS First Year, First Semester Adapted from PDS Lab 2014 and 2015 Login, Logout, Password $ ssh mtc16xx@192.168.---.--- $ ssh X mtc16xx@192.168.---.---

More information

Essential Linux Shell Commands

Essential Linux Shell Commands Essential Linux Shell Commands Special Characters Quoting and Escaping Change Directory Show Current Directory List Directory Contents Working with Files Working with Directories Special Characters There

More information

Carnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016

Carnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016 Linux Boot Camp Jack, Matthew, Nishad, Stanley 6 Sep 2016 1 Connecting SSH Windows users: MobaXterm, PuTTY, SSH Tectia Mac & Linux users: Terminal (Just type ssh) andrewid@shark.ics.cs.cmu.edu 2 Let s

More information

Files (review) and Regular Expressions. Todd Kelley CST8207 Todd Kelley 1

Files (review) and Regular Expressions. Todd Kelley CST8207 Todd Kelley 1 Files (review) and Regular Expressions Todd Kelley kelleyt@algonquincollege.com CST8207 Todd Kelley 1 midterms (Feb 11 and April 1) Files and Permissions Regular Expressions 2 Sobel, Chapter 6 160_pathnames.html

More information

CS246 Spring14 Programming Paradigm Notes on Linux

CS246 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 information

Practical Session 0 Introduction to Linux

Practical Session 0 Introduction to Linux School of Computer Science and Software Engineering Clayton Campus, Monash University CSE2303 and CSE2304 Semester I, 2001 Practical Session 0 Introduction to Linux Novell accounts. Every Monash student

More information

Introduction to Linux

Introduction to Linux Introduction to Linux M Tech CS I 2015-16 Arijit Bishnu Debapriyo Majumdar Sourav Sengupta Mandar Mitra Login, Logout, Change password $ ssh, ssh X secure shell $ ssh www.isical.ac.in $ ssh 192.168 $ logout,

More information

Files and Directories

Files and Directories CSCI 2132: Software Development Files and Directories Norbert Zeh Faculty of Computer Science Dalhousie University Winter 2019 Files and Directories Much of the operation of Unix and programs running on

More information

Filesystem and common commands

Filesystem and common commands Filesystem and common commands Unix computing basics Campus-Booster ID : **XXXXX www.supinfo.com Copyright SUPINFO. All rights reserved Filesystem and common commands Your trainer Presenter s Name Title:

More information

Practical 4. Linux Commands: Working with Directories

Practical 4. Linux Commands: Working with Directories Practical 4 Linux Commands: Working with Directories 1. pwd: pwd stands for Print Working Directory. As the name states, command pwd prints the current working directory or simply the directory user is,

More information

Introduction to Linux

Introduction 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 information

Unix Tutorial. Beginner. CS Help Desk: Marc Jarvis (in spirit), Monica Ung, Corey Antoniuk 2015

Unix Tutorial. Beginner. CS Help Desk: Marc Jarvis (in spirit), Monica Ung, Corey Antoniuk 2015 Unix Tutorial Beginner CS Help Desk: Marc Jarvis (in spirit), Monica Ung, Corey Antoniuk 2015 Helpful info SOCS wiki cs.mcgill.ca/docs Help desk - McConnell 209N help@cs.mcgill.ca CSUS help desk - 3rd

More information

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab

Intro to Linux. this will open up a new terminal window for you is super convenient on the computers in the lab Basic Terminal Intro to Linux ssh short for s ecure sh ell usage: ssh [host]@[computer].[otheripstuff] for lab computers: ssh [CSID]@[comp].cs.utexas.edu can get a list of active computers from the UTCS

More information

INTRODUCTION TO LINUX

INTRODUCTION TO LINUX INTRODUCTION TO LINUX REALLY SHORT HISTORY Before GNU/Linux there were DOS, MAC and UNIX. All systems were proprietary. The GNU project started in the early 80s by Richard Stallman Goal to make a free

More information

Unix background. COMP9021, Session 2, Using the Terminal application, open an x-term window. You type your commands in an x-term window.

Unix background. COMP9021, Session 2, Using the Terminal application, open an x-term window. You type your commands in an x-term window. Unix background COMP9021, Session 2, 2016 1 Introduction Using the Terminal application, open an x-term window. You type your commands in an x-term window. Many commands take one or more arguments. Many

More information

Introduction to Lab Practicals (Lab Intro 3) Access Control, Synchronisation and Remote Access

Introduction to Lab Practicals (Lab Intro 3) Access Control, Synchronisation and Remote Access Introduction to Lab Practicals (Lab Intro 3) Access Control, Synchronisation and Remote Access 1 Introduction This practical is intended to familiarise you with the file access control mechanisms of Linux

More information

Outline. Structure of a UNIX command

Outline. Structure of a UNIX command Outline Structure of Unix Commands Command help (man) Log on (terminal vs. graphical) System information (utility) File and directory structure (path) Permission (owner, group, rwx) File and directory

More information

CS197U: A Hands on Introduction to Unix

CS197U: A Hands on Introduction to Unix CS197U: A Hands on Introduction to Unix Lecture 3: UNIX Operating System Organization Tian Guo CICS, Umass Amherst 1 Reminders Assignment 2 is due THURSDAY 09/24 at 3:45 pm Directions are on the website

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

Chapter 1 - Introduction. September 8, 2016

Chapter 1 - Introduction. September 8, 2016 Chapter 1 - Introduction September 8, 2016 Introduction Overview of Linux/Unix Shells Commands: built-in, aliases, program invocations, alternation and iteration Finding more information: man, info Help

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Linux File System and Basic Commands

Linux File System and Basic Commands Linux File System and Basic Commands 0.1 Files, directories, and pwd The GNU/Linux operating system is much different from your typical Microsoft Windows PC, and probably looks different from Apple OS

More information

Computer Architecture Lab 1 (Starting with Linux)

Computer Architecture Lab 1 (Starting with Linux) Computer Architecture Lab 1 (Starting with Linux) Linux is a computer operating system. An operating system consists of the software that manages your computer and lets you run applications on it. The

More information

Mills HPC Tutorial Series. Linux Basics I

Mills HPC Tutorial Series. Linux Basics I Mills HPC Tutorial Series Linux Basics I Objectives Command Line Window Anatomy Command Structure Command Examples Help Files and Directories Permissions Wildcards and Home (~) Redirection and Pipe Create

More information

Lecture 3. Unix. Question? b. The world s best restaurant. c. Being in the top three happiest countries in the world.

Lecture 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 information

A Brief Introduction to Unix

A Brief Introduction to Unix A Brief Introduction to Unix Sean Barag Drexel University March 30, 2011 Sean Barag (Drexel University) CS 265 - A Brief Introduction to Unix March 30, 2011 1 / 17 Outline 1 Directories

More information

Lab01: Part I. Introduction to Linux. Professional Training Academy Linux Series

Lab01: Part I. Introduction to Linux. Professional Training Academy Linux Series Lab01: Part I Introduction to Linux Professional Training Academy Linux Series What is Linux? Linux is an operating system. Specifically, Linux is the kernel or the core of the system Originally developed

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/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

CSE 391 Lecture 1. introduction to Linux/Unix environment

CSE 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 information

Unix Introduction to UNIX

Unix 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 information

Introduc)on to Linux Session 2 Files/Filesystems/Data. Pete Ruprecht Research Compu)ng Group University of Colorado Boulder

Introduc)on to Linux Session 2 Files/Filesystems/Data. Pete Ruprecht Research Compu)ng Group University of Colorado Boulder Introduc)on to Linux Session 2 Files/Filesystems/Data Pete Ruprecht Research Compu)ng Group University of Colorado Boulder www.rc.colorado.edu Outline LeHover from last week redirec)on Filesystem layout

More information

COMS 6100 Class Notes 3

COMS 6100 Class Notes 3 COMS 6100 Class Notes 3 Daniel Solus September 1, 2016 1 General Remarks The class was split into two main sections. We finished our introduction to Linux commands by reviewing Linux commands I and II

More information

CENG393 Computer Networks Labwork 1

CENG393 Computer Networks Labwork 1 CENG393 Computer Networks Labwork 1 Linux is the common name given to a large family of operating systems. All Linux-based operating systems are essentially a large set of computer software that are bound

More information

12/7/10 ATSC 212 UNIX ATSC 212 ATSC 212 UNIX

12/7/10 ATSC 212 UNIX ATSC 212 ATSC 212 UNIX ATSC 212 1 An operating system (OS) is a resource manager. It's task is to schedule resources and make available resources to system processes or programs. There have been hundreds of operating systems

More information

CS 307: UNIX PROGRAMMING ENVIRONMENT KATAS FOR EXAM 1

CS 307: UNIX PROGRAMMING ENVIRONMENT KATAS FOR EXAM 1 CS 307: UNIX PROGRAMMING ENVIRONMENT KATAS FOR EXAM 1 Prof. Michael J. Reale Fall 2014 COMMAND KATA 0 Command Kata 0: Preparation First, go to ~/cs307 cd ~/cs307 Make directory dkata0 and go to it mkdir

More information

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Introduction to remote command line Linux. Research Computing Team University of Birmingham Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments

More information

INF322 Operating Systems

INF322 Operating Systems Galatasaray University Computer Engineering Department INF322 Operating Systems TP01: Introduction to Linux Ozan Çağlayan ocaglayan@gsu.edu.tr ozancaglayan.com Fundamental Concepts Definition of Operating

More information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS Fundamentals of Programming II Fall Very Basic UNIX CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)

More information

You will automatically be in your user (home) directory when you login.

You will automatically be in your user (home) directory when you login. Directory structure / (root) bin dev etc lib users users2 tmp These directories typically contain system libraries, executable binary files, device handlers and drivers, etc. The user home directories

More information

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one] Data and Computer Security (CMPD414) Lab II Topics: secure login, moving into HOME-directory, navigation on Unix, basic commands for vi, Message Digest This lab exercise is to be submitted at the end of

More information

Common UNIX Commands. Unix. User Interfaces. Unix Commands Winter COMP 1270 Computer Usage II 9-1. Using UNIX. Unix has a command line interface

Common UNIX Commands. Unix. User Interfaces. Unix Commands Winter COMP 1270 Computer Usage II 9-1. Using UNIX. Unix has a command line interface Common UNIX Commands Using UNIX Unix Unix has a command line interface Unix commands must be typed Similar to the DOS operating system for PC s Compare to the Graphical User Interface (GUI) used by Windows,

More information

Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth

Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth This document was inspired by the Guided Tour written by Professor H. Roumani. His version of the tour can be accessed at

More information

User Guide Version 2.0

User Guide Version 2.0 User Guide Version 2.0 Page 2 of 8 Summary Contents 1 INTRODUCTION... 3 2 SECURESHELL (SSH)... 4 2.1 ENABLING SSH... 4 2.2 DISABLING SSH... 4 2.2.1 Change Password... 4 2.2.2 Secure Shell Connection Information...

More information

Principles of Bioinformatics. BIO540/STA569/CSI660 Fall 2010

Principles of Bioinformatics. BIO540/STA569/CSI660 Fall 2010 Principles of Bioinformatics BIO540/STA569/CSI660 Fall 2010 Lecture Five Practical Computing Skills Emphasis This time it s concrete, not abstract. Fall 2010 BIO540/STA569/CSI660 3 Administrivia Monday

More information

Linux 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 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 information

Getting started with Hugs on Linux

Getting started with Hugs on Linux Getting started with Hugs on Linux CS190 Functional Programming Techniques Dr Hans Georg Schaathun University of Surrey Autumn 2008 Week 1 Dr Hans Georg Schaathun Getting started with Hugs on Linux Autumn

More information

CSCI 2132 Software Development. Lecture 4: Files and Directories

CSCI 2132 Software Development. Lecture 4: Files and Directories CSCI 2132 Software Development Lecture 4: Files and Directories Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 12-Sep-2018 (4) CSCI 2132 1 Previous Lecture Some hardware concepts

More information

Introduction to Linux Part I: The Filesystem Luca Heltai

Introduction to Linux Part I: The Filesystem Luca Heltai The 2nd workshop on High Performance Computing Introduction to Linux Part I: The Filesystem Luca Heltai SISSA/eLAB - Trieste Adapted from a presentation by Michael Opdenacker Free Electrons http://free-electrons.com

More information

Kurt Schmidt. October 12, 2018

Kurt Schmidt. October 12, 2018 duction duction Dept. of Computer Science, Drexel University October 12, 2018 duction Quick Note duction Many flavors of Unix, some for the PC platform, including many distributions Linux. Collectively,

More information

UTA Tech Orientation Spring 2019

UTA Tech Orientation Spring 2019 UTA Tech Orientation Spring 2019 Overview Why is Tech Stuff Important? The Filesystem Shell Commands File Permissions Miscellaneous Why is Tech Stuff Important? Why is TA Tech Stuff Important? Different

More information

Links, basic file manipulation, environmental variables, executing programs out of $PATH

Links, basic file manipulation, environmental variables, executing programs out of $PATH Links, basic file manipulation, environmental variables, executing programs out of $PATH Laboratory of Genomics & Bioinformatics in Parasitology Department of Parasitology, ICB, USP The $PATH PATH (which

More information

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG

*nix Crash Course. Presented by: Virginia Tech Linux / Unix Users Group VTLUUG *nix Crash Course Presented by: Virginia Tech Linux / Unix Users Group VTLUUG Ubuntu LiveCD No information on your hard-drive will be modified. Gives you a working Linux system without having to install

More information

Week 2. Exp 2 (a) (b): Introduction to LINUX OS, Installation of LINUX OS, Basic DOS commands

Week 2. Exp 2 (a) (b): Introduction to LINUX OS, Installation of LINUX OS, Basic DOS commands Week 2 Exp 2 (a) (b): Introduction to LINUX OS, Installation of LINUX OS, Basic DOS commands mkdir, cd, cls, del, copy, attrib, date, path, type, format, exit. Basic commands in LINUX - cat, ls, pwd,,

More information

GNU/Linux Course Lesson 1. Puria Nafisi

GNU/Linux Course Lesson 1. Puria Nafisi GNU/Linux Course Lesson 1 Puria Nafisi Azizi @pna http://netstudent.polito.it Netstudent is an students volunteer association within the Politecnico di Torino. Is build of different people and students

More information

CHAPTER 1 UNIX FOR NONPROGRAMMERS

CHAPTER 1 UNIX FOR NONPROGRAMMERS CHAPTER 1 UNIX FOR NONPROGRAMMERS The man command is used to display the manual entry associated with word entered as argument. The -k option is used displays a list of manual entries that contain entered

More information

Part 3 Console basics

Part 3 Console basics Part 3 Console basics Having installed Linux using Fedora Core 3, Jarrod Spiga introduces the command line console and explains how to put it to work. Skill level Beginner Requirements PC with DVD drive

More information

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm Operating Systems Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) armahmood786@yahoo.com alphasecure@gmail.com alphapeeler.sf.net/pubkeys/pkey.htm http://alphapeeler.sourceforge.net pk.linkedin.com/in/armahmood

More information

UNIX. 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, 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 information

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011

Unix/Linux Operating System. Introduction to Computational Statistics STAT 598G, Fall 2011 Unix/Linux Operating System Introduction to Computational Statistics STAT 598G, Fall 2011 Sergey Kirshner Department of Statistics, Purdue University September 7, 2011 Sergey Kirshner (Purdue University)

More information

Permission and Ownership

Permission and Ownership Permission and Ownership 1. Understanding file and directory ownership Every file on your Linux system, including directories, is owned by a specific user and group. Therefore, file permissions are defined

More information

CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22

CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22 CSCE 212H, Spring 2008, Matthews Lab Assignment 1: Representation of Integers Assigned: January 17 Due: January 22 Manton Matthews January 29, 2008 1 Overview The purpose of this assignment is to become

More information

CSE 391 Lecture 1. introduction to Linux/Unix environment

CSE 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 information

CST8207: GNU/Linux Operating Systems I Lab Six Linux File System Permissions. Linux File System Permissions (modes) - Part 1

CST8207: GNU/Linux Operating Systems I Lab Six Linux File System Permissions. Linux File System Permissions (modes) - Part 1 Student Name: Lab Section: Linux File System Permissions (modes) - Part 1 Due Date - Upload to Blackboard by 8:30am Monday March 12, 2012 Submit the completed lab to Blackboard following the Rules for

More information

Getting your department account

Getting your department account 02/11/2013 11:35 AM Getting your department account The instructions are at Creating a CS account 02/11/2013 11:36 AM Getting help Vijay Adusumalli will be in the CS majors lab in the basement of the Love

More information

The UNIX File System

The UNIX File System The UNIX File System Magnus Johansson May 9, 2007 1 UNIX file system A file system is created with mkfs. It defines a number of parameters for the system, such as: bootblock - contains a primary boot program

More information