ROS-Industrial Basic Developer s Training Class: Linux Basics. Southwest Research Institute Last Updated 2017

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

LAB #7 Linux Tutorial

Unit 10. Linux Operating System

Linux Command Line Primer. By: Scott Marshall

Unix Tutorial Haverford Astronomy 2014/2015

Lab Working with Linux Command Line

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

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

Working with Basic Linux. Daniel Balagué

Unit III: Working with Windows and Applications. Chapters 5, 7, & 8

Introduction to Linux and Supercomputers

Linux Bootcamp Fall 2015

Unix Basics. Systems Programming Concepts

1 Getting Started with Linux.

History. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME

Chap2: Operating-System Structures

Parallel Programming Pre-Assignment. Setting up the Software Environment

Connecting to ICS Server, Shell, Vim CS238P Operating Systems fall 18

Working With Unix. Scott A. Handley* September 15, *Adapted from UNIX introduction material created by Dr. Julian Catchen

The Command Shell. Fundamentals of Computer Science

Getting Started with Fedora

Unit 13. Linux Operating System Debugging Programs

Where Did My Files Go? How to find your files using Windows 10

Computer Systems and Architecture

Mills HPC Tutorial Series. Linux Basics I

CSCI 161: Introduction to Programming I Lab 1a: Programming Environment: Linux and Eclipse

Lab 2: Linux/Unix shell

CHEM 5412 Spring 2017: Introduction to Maestro and Linux Command Line

Introduction to Linux and Cluster Computing Environments for Bioinformatics

Running Sentaurus on the DOE Network

Introduction to Linux. Fundamentals of Computer Science

User Guide Version 2.0

Unix tutorial. Thanks to Michael Wood-Vasey (UPitt) and Beth Willman (Haverford) for providing Unix tutorials on which this is based.

The Directory Structure

Filesystem and common commands

Computer Basics. Hardware. This class is designed to cover the following basics:

Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12)

Part I. Introduction to Linux

Introduction to Unix - Lab Exercise 0

Operating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands

Getting Started with. Microsoft Office 2010

Guided Tour (Version 3.4) By Steven Castellucci

Using the Zoo Workstations

Introduction to Linux Spring 2014, Section 02, Lecture 3 Jason Tang

USB SERIAL ADAPTOR COM PORT INSTRUCTIONS

Operating Systems. Copyleft 2005, Binnur Kurt

Operating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing

CS Fundamentals of Programming II Fall Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

ECE 4110 Internetwork Programming Lab 2: TCP Traffic Generator. Lab Goals. Prelab

Modern C++ for Computer Vision and Image Processing. Igor Bogoslavskyi and Cyrill Stachniss

A+ Guide to Managing & Maintaining Your PC, 8th Edition. Chapter 3 Introducing Windows Operating Systems

Virtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you.

Setting up and running the pyrophosphate tools under the Knoppix GNU Linux system

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

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

You should see something like this, called the prompt :

Linux File System and Basic Commands

Linux Kung Fu. Ross Ventresca UBNetDef, Fall 2017

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

Introduction to Unix and Linux. Workshop 1: Directories and Files

How to set up an Amazon Work Profile for Windows 8

Getting Started with Command Prompts

STA 303 / 1002 Using SAS on CQUEST

New Dropbox Users (don t have a Dropbox account set up with your Exeter account)

Essential Linux Shell Commands

EKT332 COMPUTER NETWORK

Instructions PLEASE READ (notice bold and underlined phrases)

L.A.M.P. Stack Part I

USB SERIAL ADAPTOR COM PORT INSTRUCTIONS

Getting Started With UNIX Lab Exercises

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Operating System Interaction via bash

FireAMP Connector for Mac Diagnostic Data Collection

Session 1: Accessing MUGrid and Command Line Basics

INSE Lab 1 Introduction to UNIX Fall 2017

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

An Introduction to Cluster Computing Using Newton

What is an Operating System?

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Introduction: What is Unix?

Helsinki 19 Jan Practical course in genome bioinformatics DAY 0

Datathon 2018 Connecting to MicroStrategy on AWS Cloud

Galaxy How To Remote Desktop Connection and SSH

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

CS370 Operating Systems

WINDOWS 7 COMPUTER BASICS. Crystal Lake Public Library Adult Services Department 126 Paddock Street Crystal Lake, IL ext.

First of all, these notes will cover only a small subset of the available commands and utilities, and will cover most of those in a shallow fashion.

Computer Systems and Architecture

Introduction to the Linux Command Line January Presentation Topics

Python for Astronomers. Week 1- Basic Python

What s new in windows 10?

ACS Unix (Winter Term, ) Page 92

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

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

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

Introduction to Linux (and the terminal)

Computer Essentials Session 1 Lesson Plan

CSE115 Lab exercises for week 1 of recitations Spring 2011

BE CAREFUL! The Summer Research Student s Guide to UNIX

Transcription:

ROS-Industrial Basic Developer s Training Class: Linux Basics Southwest Research Institute Last Updated 2017 1

Outline What is Linux? Navigating the Ubuntu GUI Using the Terminal 2

An Introduction to Linux An operating system (think Windows/MacOS X) Used on everything from Android phones to web servers Open source you can add software to/remove software from, modify internal workings, etc., to core components as needed Actually a loose collection of software collected together There are multiple distributions of Linux We will be using Ubuntu for this course 3

A Lightning Primer to the Ubuntu GUI 4

The Ubuntu GUI 5

Where Is Everything? Ubuntu icon at top left is Start button Applications show up below, can be pinned to launcher (some are already) 2x2 grid is workspace launcher; any thumb drives, CDs, etc. are shown below icon Top right corner is system tray /notification area Gear icon at top right can be used to shut down or log off computer 6

Ubuntu Windows Close, minimize, and maximize buttons are at top left of window, not top right Menu bar is at top of screen, not window (like Macs) Must hover mouse over top window to view 7

Starting Applications Click on the Ubuntu icon and start typing Searches application filenames, titles, descriptions, etc., for your input When the application shows up, click on it to start Also searches files, etc. for search terms 8

Launcher Bar Little triangles on the left side of the icon show that there are windows of that application open Triangle on the right side shows which window has focus To pin launcher, rightclick on icon and select Add to launcher 9

Bringing Windows to Foreground If you have multiple windows of the same type open, multiple triangles show up on left side Single Window: Clicking on icon will bring window to foreground If you click on an icon with multiple windows open, all of the possible windows are brought to the foreground 10

The Linux File System Hierarchical file system, similar to Windows/Mac Major differences from Windows: Linux uses / character for separating directories, not \ No concept of C: Drive the primary hard drive is mounted as the root (/) folder, and all CD-ROMs, network drives, etc. are mounted as subfolders of the root, e.g. /media/thumbdrive Linux file system can contain more than files (disk drives, serial ports, etc.) 11

The Linux File System (cont d). Users ordinarily only have full access to their home directory (/home/<username>) Files don t have hidden attributes, like Windows. Instead, all files which begin with a. are hidden 12

Using the Linux Terminal 13

Using the Linux Terminal Similar to Windows command prompt, but on steroids Essential for developing ROS applications Click on the terminal icon to open a terminal Open new terminal window Menu File Open Terminal Ctrl+Shift+N Terminals can have multiple tabs Menu File Open Tab Ctrl+Shift+T You can use * and? characters as wildcards when specifying names 14

Running Commands in Linux Terminal opens with prompt Type command, followed by enter Command will run, then return with prompt If command needs to be killed, press Ctrl+C Hovering on right side will show you the scroll bar The tab key is your friend! 15

Standard Commands for Linux ls Lists files and folders. Specifying a file or wild card will show only the files listed ls a Lists hidden files as well cd <folder> - Changes the working folder to the given folder pwd Prints the current working folder cp <src> <dest> - Copies <src> to <dest> mv <src> <dest> - Moves/renames <src> to <dest> rm <file> - Removes <file> ps ax Shows all processes running on computer kill <pid> - Kills program with process <pid> 16