Intro to Linux (fun with UNIX) (( and the command line interface!))
|
|
- Owen Cox
- 5 years ago
- Views:
Transcription
1 Intro to Linux (fun with UNIX) (( and the command line interface!))
2 Overview Why Linux? Your environment Using ThinLinc The command line interface (CLI/terminal/shell) Linux directory structure: in the File system Working with files Pipes and Where to find help? SSH + FTP
3 Why use Linux? The biggest part of the so/ware used in the field of bioinforma7cs is largely wri:en for POSIX systems (such as Linux and UNIX). Why use Command Line Interface (CLI)? Many tools do not come with a Graphical User Interface (GUI) High effort to develop good GUIs. Displaying of GUI oten not possible (e.g. via SSH clients).
4 CentOS 7 Open Linux distribu@on built upon Red Hat Enterprise Linux (RHEL). Linux is a mul@- access, mul@- tasking system: mul@ple users may be logged in and run mul@ple tasks on one machine at the sharing resources (CPUs, memory, disk space). This is what you will be doing during the course.
5 Your environment In this class you will be using a IGEL thin client. A thin client refers to either a sotware program or to an actual computer that relies heavily on another computer to do most of its work. Think of it as a dumb computer that allows you to access our server (much bigger computer) stored in the data center. You get access to computa@onal resources that would not be available in a normal computer, such as the one you use at work or at home. The server we will be using is a HP DL 580 G7 4 CPUs x 8 cores + hyperthreading = 64 threads 1 TB RAM access to 100 TB storage
6 Logging in to our server It s easy! You will start with a fairly familiar- looking desktop. Double click on highlighted icon.
7 Enter your TU Graz the you use to login to online.tugraz.at
8 ATer you ve entered your click Connect.
9 Welcome to your Linux desktop
10 Logging out of your session At the end of each class please log out of your session. To log out simply click this icon at the top let of your screen. A dialog like the one on the right will appear, make sure you have selected Save this session for future logins and then click the Log Out bujon. You will be returned to the ini@al desktop of the thin client. Try it now!
11 Session control: F8 Pressing F8 during your ThinLinc remote desktop session gives you access to a few more op@ons. Disconnect session: Preserves your session! à programs stay running Full Screen mode: Switches on windowed mode. à allows you to toggle between local and remote environment.
12 Before we begin
13 The command line interface (CLI) The CLI is a text- based interface that allows computer users to type commands that get executed by the opera@ng system. You call programs, modify files and control your system just by wri@ng a bit of text. We will be using the CLI to do most of the lab tasks in this class. There are different types of Unix shells or CLIs available, the one we are using is called Bash. Other good examples are tcsh, zsh or ksh. A command shell is characterized by the available commands.
14 How to open a shell window
15
16 Linux directory structure You won t find any Windows, Program Files, or Users folders if you start browsing around the file system on your Linux computer. No drive lejers like C:\ Lowest level of the File- Tree is the root symbol / External storage devices are mounted to the file tree. For example our external storage is mounted at /export/ 2 most important folders we will be using in this course: /export/home/username your user home directory similar to the Windows C:\Users\User /export/programs contains all the bioinforma7cs so/ware used in the course.
17 in the file system: Basic commands First: Open a file- browser (Thunar) for visual aid. You start at your home directory. The symbol ~ references your home directory! Change directory: cd Type: cd /export/programs/ List the content of the directory: ls Switch back to your home directory: cd ~ cd /export/home/username
18 GUI CLI Linux directory structure at the root - / Graphical User Interface (GUI) versus command line view
19 Rela7ve and absolute paths: Absolute: /export/programs/samtools/ Rela7ve: ~ your home directory. this directory (where you currently are).. parent directory (upper directory) To see where you are at the moment: pwd command: (print working directory).
20 in the file system: Directories and Files Make a new directory: mkdir Make sure you are in your home directory Type: mkdir test Type: ls Type: cd test/ Type: ls Type: cd.. Type: ls
21 The manual: Every UNIX and Linux machine comes with built- in help for most of its commands and programs. Type man followed by the command name To leave: q For Scrolling: Arrow Up or Down for one line up or down Page Down or Ctrl- F for one page down Page Up or Ctrl- B for one page up To search A slash, then your search term, then enter. e.g. /list n to go to the next occurrence of the search term Even man itself has a manpage. Type man man into the terminal.
22 The manual: List Type: man ls Use ls alh in the current directory. - a - - all - l use a long lis@ng format - h, - - human- readable: print sizes in human readable format (e.g., 1K 234M 2G)
23 directory content Use ls alh in the current directory. permissions Owner user and group size file last accessed name blue - directory
24 Tab every single character of a command is tedious. But your shell can help you! Press the Tab key while wri@ng commands, directories or file names. Press once to complete un@l the last unambiguous character (you will hear a beep if there are no sugges@ons or you have ambiguous op@ons). Press twice to show all comple@on op@ons.
25 Tab More examples: bow<tab> -> bowtie and you hear a beep bowtie<tab><tab> :
26 Tab Examples: Commands: cuffl<tab> -> cufflinks Directories: ls /ex<tab> -> ls /export Files: cp /export/data/mol923/c<tab> -> cp /export/data/mol923/completionexample.txt
27 Useful things to know May not work with all remote clients! Use Up/Down arrow keys this will cycle through recently executed commands. Use the TAB key this will oten present you with a list of choices ater typing a part of a command (more on this in a moment) history command: list all recently used commands history - list all remembered commands history more - list all remembered commands page by page history grep i example (list all remembered commands containing string example, case- insensi@ve)
28 Working with files Types of files There are many types of files. Here are the most important: Text files (human- readable; can be viewed and modified using a text editor) Text documents (e.g., README files) Data in text format (e.g., FASTA, FASTQ, ) Scripts: Shell scripts (*.sh) Perl scripts (*.pl) Python scripts (*.py) and many others Binary files (not human- readable; cannot be viewed using a text editor) Executables (e.g., samtools, blastn, bow@e) Data in binary format (e.g, BAM files, index files for Bow@e, formajed BLAST databases) Compressed files - archives (*.gz, *.zip, *.bz2) oten text files re- formajed to save space on disk or packaged directory trees Directories are files too!
29 The file command: file [FILENAME] Tells you the type and of a file Examples: [amgrecu@cbt01 UNIX_examples]$ file example.txt example.txt: UTF-8 Unicode English text, with very long lines [amgrecu@cbt01 UNIX_examples]$ file read read: ASCII text [amgrecu@cbt01 UNIX_examples]$ file first-script.sh first-script.sh: Bourne-Again shell script text executable [amgrecu@cbt01 UNIX_examples]$ file blastn-example.fasta blastn-example.fasta: ASCII text [amgrecu@cbt01 velvet]$ file velvetg velvetg: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux , not stripped
30 The touch command: touch [FILENAME] Update the access and modifica7on 7mes of a file. Creates a new file if the specified file does not exist. Enter your test directory. Type: touch testfile List the content of the directory.
31 The mv command: Move! mv [target] [destination] Moves a file to a new loca@on. Also renames the file if desired. Create a new directory test2 Type: mv testfile test2/ Enter test2 and list the content of the directory. Type: mv testfile mytestfile List again
32 The cp command: Copy! cp [target] [destination] Creates an exact copy of a target file. Type: cp mytestfile.. Switch to the parent directory and list the content.
33 The rm command: Remove! rm [Filename] Removes the file. Once and for all! Be especially carful with the rm command Type: rm mytestfile
34 Removing directories rmdir /export/home/amgrecu/new_dir - Remove directory called new_dir in /export/home/amgrecu will fail if the directory is not empty rm rf /export/home/amgrecu/new_dir - Remove directory called new_dir in /export/home/amgrecu with all its content (i.e. all files and subdirectories will be gone) rm rf new_dir - Remove directory called new_dir in current directory with all its content (i.e. all files and subdirectories will be gone) rm rf is a very dangerous command! Once you have deleted something it is GONE! There is no Recycle Bin! There are no backups! Check carefully what you are dele7ng!
35 Naming Files Best Names should be meaningful, e.g. sample19_blastn_out.fasta, NOT blastn.fasta Names are case- sensi7ve - MyFile, myfile, myfile are all different Use only le:ers (upper- and lower- case), numbers from 0 to 9, a dot (.), and an underscore (_) e.g this_is_an_example.ext, NOT this &ismy example^.ext Avoid other characters! They may have special meaning in Linux No spaces in filenames! While working in command line terminal you always explicitly specify a program which is supposed to open this file.
36 File permissions: The chmod command (change modifier) is used to change file permissions: 4= read 2= write 1= execute Myself, Group, World chmod 700 filename 7 = read + write + execute.
37 programs: Explicit: /usr/local/bin/samtools From directory: cd /usr/local/bin/./samtools From environment (Path variable!): samtools
38 Working with files - compression To save disk space, we can compress large files if we do not intend to use them for a while. A lot of files downloaded from the web are compressed and usually need to be uncompressed before processing can take place. Compression works best on text files, such as FASTA or FASTQ. Common compressed formats: gzip (gz) gzip my_file - compresses file my_file, producing my_file.gz gzip d my_file.gz - decompress my_file.gz, producing my_file bzip2 bzip2 my_file - compresses to my_file.bz2 bzip2 my_file.bz2 decompress to my_file
39 Working with files - compression zip zip my_file.zip my_file1 my_file2 my_file3 - create a compressed archive called my_files.zip, containing three files: my_file1, my_file2, my_file3 unzip my_files.zip - decompress the archive into the cons@tuent files and directories tar tar -cvf my_file.tar my_file1 my_file2 my_dir - create a compressed archive called my_files.tar, containing files my_file1, my_file2 and the directory my_dir with all its content tar -xvf my_files.tar - decompress the archive into the cons@tuent files and directories Help for compression tools: gzip - h bzip2 - - help zip - - help tar - - help
40 text files User- friendly (GUI): gedit Kate More advanced nano You can call them from CLI: nano filename gedit filename kate filename In the course we will generally be using gedit
41 Working with text files more example.txt - display the content of the file README.txt in the current directory dividing the file into pages; press SPACE bar to go to the next page head -5 big.fasta - display first 5 lines of the file big.fasta in the current directory tail -5 big.fasta - display last 5 lines of the file big.fasta in the current directory head big.fasta tail display lines 901 through 1000 of the file big.fasta Note the character - it pipes the output from one command as input to another.
42 Working with text files Looking for a string in a text file: grep Error: lane error.log - display all lines of the file error.log in the current directory which contain the string Error: lane Looking for a string in a group of text files: grep Error: lane *.out - display all files *.out in the current directory which contain the string Error: lane ; also display the lines containing that string
43 Where to find help No.2? Not every command has a man page. However most commands have built- in help output: cp --help blastn -help cufflinks -h It s usually one of - h, - - help, - help or similar You can pipe the output into a pager (use q to leave; up/ down arrow Ctrl- F/Ctrl- B to navigate) cp --help less
44 Where to find help No.3? Also, there is plenty of help on the Internet hjp:// Most problems can be solved by Googling. Basically, just type all related words into the search field. hjp://stackoverflow.com/ Ask specific here. General are usually already answered. You can find them through the search field, but usually they re the top hits on Google anyway. hjps:// Stackoverflow for Biologists hjp://seqanswers.com/ Forum about tools and omics data processing tools
45 UNIX Tutorials hjp://people.ischool.berkeley.edu/~kevin/unix- tutorial/ toc.html hjp:// unixintro.html
46 Gezng files in and out of my home computer Filezilla or WinSCP hjps://filezilla- project.org/ Connect to cbt01.cbt.tugraz.at Use Port 22
47
48 from Home to the UNIX machines at TUGraz ThinLinc Client hjps:// Connect to cbt01.cbt.tugraz.at We have 50 licenses, if you aren t allowed in, please try again later.
49 Book Only available as an ebook: The Linux Command Line A Complete Introduc7on By William E. Shojs Jr. hjp://shop.oreilly.com/product/ do# An alterna@ve: Learning the bash Shell, 3rd Edi7on Unix Shell Programming By Cameron Newham
50 Your assignment for today Download Filezilla and ThinLinc client and install them on your home computer. Connect to cbt01.cbt.tugraz.at and play through a UNIX tutorial some more.
51 Emergency Assistance Max Malek
Linux for Beginners Part 1
Linux for Beginners Part 1 3CPG Workshop Robert Bukowski Computational Biology Service Unit http://cbsu.tc.cornell.edu/lab/doc/linux_workshop_part1.pdf Compute clusters BioHPC infrastructure at CBSU BioHPC
More informationLinux command line basics II: downloading data and controlling files. Yanbin Yin
Linux command line basics II: downloading data and controlling files Yanbin Yin 1 Things you should know about programming Learning programming has to go through the hands-on practice, a lot of practice
More informationIntroduction to UNIX command-line
Introduction to UNIX command-line Boyce Thompson Institute March 17, 2015 Lukas Mueller & Noe Fernandez Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions
More informationIntroduction 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 informationCS CS Tutorial 2 2 Winter 2018
CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,
More informationIntroduction 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 informationIntroduction 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 informationIntroduction to Unix and Linux. Workshop 1: Directories and Files
Introduction to Unix and Linux Workshop 1: Directories and Files Genomics Core Lab TEXAS A&M UNIVERSITY CORPUS CHRISTI Anvesh Paidipala, Evan Krell, Kelly Pennoyer, Chris Bird Genomics Core Lab Informatics
More informationChapter-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 informationUsing Linux as a Virtual Machine
Intro to UNIX Using Linux as a Virtual Machine We will use the VMware Player to run a Virtual Machine which is a way of having more than one Operating System (OS) running at once. Your Virtual OS (Linux)
More informationIntroduction 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 informationIntroduction to Unix The Windows User perspective. Wes Frisby Kyle Horne Todd Johansen
Introduction to Unix The Windows User perspective Wes Frisby Kyle Horne Todd Johansen What is Unix? Portable, multi-tasking, and multi-user operating system Software development environment Hardware independent
More informationIntroduction to Linux for BlueBEAR. January
Introduction to Linux for BlueBEAR January 2019 http://intranet.birmingham.ac.uk/bear Overview Understanding of the BlueBEAR workflow Logging in to BlueBEAR Introduction to basic Linux commands Basic file
More informationEE516: Embedded Software Project 1. Setting Up Environment for Projects
EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment
More informationShort Read Sequencing Analysis Workshop
Short Read Sequencing Analysis Workshop Day 2 Learning the Linux Compute Environment In-class Slides Matt Hynes-Grace Manager of IT Operations, BioFrontiers Institute Review of Day 2 Videos Video 1 Introduction
More informationUnix/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 informationBioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny.
Bioinformatics? Reads, assembly, annotation, comparative genomics and a bit of phylogeny stefano.gaiarsa@unimi.it Linux and the command line PART 1 Survival kit for the bash environment Purpose of the
More informationWorking With Unix. Scott A. Handley* September 15, *Adapted from UNIX introduction material created by Dr. Julian Catchen
Working With Unix Scott A. Handley* September 15, 2014 *Adapted from UNIX introduction material created by Dr. Julian Catchen What is UNIX? An operating system (OS) Designed to be multiuser and multitasking
More informationLab 1 Introduction to UNIX and C
Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text
More informationIntro 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 informationCISC 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 informationUnix 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 informationLinux Systems Administration Getting Started with Linux
Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International
More informationCS 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 informationVirtual Machine. Linux flavor : Debian. Everything (except slides) preinstalled for you. https://www.virtualbox.org/
Virtual Machine Anyone have problems installing it? VM: Virtual Box - allows you to run a different operating system within the current operating system of your machine. https://www.virtualbox.org/ Linux
More informationPerl 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 informationRead the relevant material in Sobell! If you want to follow along with the examples that follow, and you do, open a Linux terminal.
Warnings 1 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. Read the relevant material in Sobell! If
More informationLinux Command Line Interface. December 27, 2017
Linux Command Line Interface December 27, 2017 Foreword It is supposed to be a refresher (?!) If you are familiar with UNIX/Linux/MacOS X CLI, this is going to be boring... I will not talk about editors
More informationFirst 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.
Warnings 1 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. Read the relevant material in Sobell! If
More informationHistory. Terminology. Opening a Terminal. Introduction to the Unix command line GNOME
Introduction to the Unix command line History Many contemporary computer operating systems, like Microsoft Windows and Mac OS X, offer primarily (but not exclusively) graphical user interfaces. The user
More informationFirst 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.
Warnings Linux Commands 1 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. Read the relevant material
More informationINSE Lab 1 Introduction to UNIX Fall 2017
INSE 6130 - Lab 1 Introduction to UNIX Fall 2017 Updated by: Paria Shirani Overview In this lab session, students will learn the basics of UNIX /Linux commands. They will be able to perform the basic operations:
More informationLinux 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 informationIntroduction to Unix. University of Massachusetts Medical School. October, 2014
.. Introduction to Unix University of Massachusetts Medical School October, 2014 . DISCLAIMER For the sake of clarity, the concepts mentioned in these slides have been simplified significantly. Most of
More informationUsing LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12)
Using LINUX a BCMB/CHEM 8190 Tutorial Updated (1/17/12) Objective: Learn some basic aspects of the UNIX operating system and how to use it. What is UNIX? UNIX is the operating system used by most computers
More informationIntroduction: 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 informationWorking 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 informationOperating Systems and Using Linux. Topics What is an Operating System? Linux Overview Frequently Used Linux Commands
Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands 1 What is an Operating System? A computer program that: Controls how the CPU, memory
More informationCloud Computing and Unix: An Introduction. Dr. Sophie Shaw University of Aberdeen, UK
Cloud Computing and Unix: An Introduction Dr. Sophie Shaw University of Aberdeen, UK s.shaw@abdn.ac.uk Aberdeen London Exeter What We re Going To Do Why Unix? Cloud Computing Connecting to AWS Introduction
More informationUnix Essentials. BaRC Hot Topics Bioinformatics and Research Computing Whitehead Institute October 12 th
Unix Essentials BaRC Hot Topics Bioinformatics and Research Computing Whitehead Institute October 12 th 2016 http://barc.wi.mit.edu/hot_topics/ 1 Outline Unix overview Logging in to tak Directory structure
More informationThe Unix Shell & Shell Scripts
The Unix Shell & Shell Scripts You should do steps 1 to 7 before going to the lab. Use the Linux system you installed in the previous lab. In the lab do step 8, the TA may give you additional exercises
More informationIntroduction to UNIX command-line II
Introduction to UNIX command-line II Boyce Thompson Institute 2017 Prashant Hosmani Class Content Terminal file system navigation Wildcards, shortcuts and special characters File permissions Compression
More informationCloud Computing and Unix: An Introduction. Dr. Sophie Shaw University of Aberdeen, UK
Cloud Computing and Unix: An Introduction Dr. Sophie Shaw University of Aberdeen, UK s.shaw@abdn.ac.uk Aberdeen London Exeter What We re Going To Do Why Unix? Cloud Computing Connecting to AWS Introduction
More informationComputer 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 informationFirst 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.
Warnings 1 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. Read the relevant material in Sobell! If
More informationOperating Systems. Copyleft 2005, Binnur Kurt
3 Operating Systems Copyleft 2005, Binnur Kurt Content The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail.
More informationUnzip command in unix
Unzip command in unix Search 24-4-2015 Howto Extract Zip Files in a Linux and. You need to use the unzip command on a Linux or Unix like system. The nixcraft takes a lot of my time and. 16-4-2010 Howto:
More informationSession 1: Accessing MUGrid and Command Line Basics
Session 1: Accessing MUGrid and Command Line Basics Craig A. Struble, Ph.D. July 14, 2010 1 Introduction The Marquette University Grid (MUGrid) is a collection of dedicated and opportunistic resources
More informationOperating Systems 3. Operating Systems. Content. What is an Operating System? What is an Operating System? Resource Abstraction and Sharing
Content 3 Operating Systems The concept of an operating system. The internal architecture of an operating system. The architecture of the Linux operating system in more detail. How to log into (and out
More informationWelcome 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 informationChapter 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 informationUoW HPC Quick Start. Information Technology Services University of Wollongong. ( Last updated on October 10, 2011)
UoW HPC Quick Start Information Technology Services University of Wollongong ( Last updated on October 10, 2011) 1 Contents 1 Logging into the HPC Cluster 3 1.1 From within the UoW campus.......................
More informationCS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX
CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot
More informationCENG 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 informationBasic Survival UNIX.
Basic Survival UNIX Many Unix based operating systems make available a Graphical User Interface for the sake of providing an easy way for less experienced users to work with the system. Some examples are
More informationA Hands-On Tutorial: RNA Sequencing Using High-Performance Computing
A Hands-On Tutorial: RNA Sequencing Using Computing February 11th and 12th, 2016 1st session (Thursday) Preliminaries: Linux, HPC, command line interface Using HPC: modules, queuing system Presented by:
More informationIntroduction to UNIX I: Command Line 1 / 21
Introduction to UNIX I: Command Line 1 / 21 UNIX Command line The UNIX Shell: command line interface Navigating Directories and Files Running applications Reminder about helpful tutorial: http://korflab.ucdavis.edu/unix_and_perl/current.html
More informationComputer 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 informationContents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...
Contents Note: pay attention to where you are........................................... 1 Note: Plaintext version................................................... 1 Hello World of the Bash shell 2 Accessing
More informationLinux 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 informationIntroduction to Linux and Supercomputers
Introduction to Linux and Supercomputers Doug Crabill Senior Academic IT Specialist Department of Statistics Purdue University dgc@purdue.edu What you will learn How to log into a Linux Supercomputer Basics
More informationWeek 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 informationBasic UNIX. Jon K. Lærdahl, Structural Bioinforma cs
Basic UNIX Today s Programme Biological databases Brief introducon What is UNIX? Why should you learn UNIX? Bioinformacs Core Facility Seng up your laptops What about those of you that know Unix and Python
More informationUnix/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 informationEECS 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 informationThe Linux Command Line & Shell Scripting
The Linux Command Line & Shell Scripting [web] [email] portal.biohpc.swmed.edu biohpc-help@utsouthwestern.edu 1 Updated for 2017-11-18 Study Resources : A Free Book 500+ pages * Some of the materials covered
More informationLinux 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 informationBIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description:
BIOINFORMATICS POST-DIPLOMA PROGRAM SUBJECT OUTLINE Subject Title: OPERATING SYSTEMS AND PROJECT MANAGEMENT Subject Code: BIF713 Subject Description: This course provides Bioinformatics students with the
More informationAn Introduction to Linux and Bowtie
An Introduction to Linux and Bowtie Cavan Reilly November 10, 2017 Table of contents Introduction to UNIX-like operating systems Installing programs Bowtie SAMtools Introduction to Linux In order to use
More informationUnix Tutorial Haverford Astronomy 2014/2015
Unix Tutorial Haverford Astronomy 2014/2015 Overview of Haverford astronomy computing resources This tutorial is intended for use on computers running the Linux operating system, including those in the
More informationIntroduction of Linux
Introduction of Linux 阳 oslab2018_class1@163.com 寅 oslab2018_class2@163.com PART I Brief Introduction Basic Conceptions & Environment Install & Configure a Virtual Machine Basic Commands PART II Shell
More informationIntroduction to Linux
Introduction to Linux The command-line interface A command-line interface (CLI) is a type of interface, that is, a way to interact with a computer. Window systems, punched cards or a bunch of dials, buttons
More informationHitchhiker s Guide to VLSI Design with Cadence & Synopsys
Hitchhiker s Guide to VLSI Design with Cadence & Synopsys David Money Harris 17 January 2009 The VLSI design tools at Harvey Mudd College are hosted on a Linux server named chips. This document introduces
More informationIntroduction 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 informationIntroduction to Linux and Cluster Computing Environments for Bioinformatics
Introduction to Linux and Cluster Computing Environments for Bioinformatics Doug Crabill Senior Academic IT Specialist Department of Statistics Purdue University dgc@purdue.edu What you will learn Linux
More informationIntroduction to Linux Workshop 1
Introduction to Linux Workshop 1 The George Washington University SEAS Computing Facility Created by Jason Hurlburt, Hadi Mohammadi, Marco Suarez hurlburj@gwu.edu Logging In The lab computers will authenticate
More informationExercise 1: Basic Tools
Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit
More informationCarnegie 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 informationIntroduction. File System. Note. Achtung!
3 Unix Shell 1: Introduction Lab Objective: Explore the basics of the Unix Shell. Understand how to navigate and manipulate file directories. Introduce the Vim text editor for easy writing and editing
More informationUnix. 1 tblgrant projects 0 Jun 17 15:40 doc1.txt. documents]$ touch doc2.txt documents]$ ls -l total 0
Unix Each one of you will get an account on silo.cs.indiana.edu where you will do most of your work. You will need to become familiar with the Unix environment (file system and a number of Unix commands)
More informationOverview 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 information1) Introduc,on to unix command line and perl. Ma5 Webster IMBIM, BMC
1) Introduc,on to unix command line and perl Ma5 Webster IMBIM, BMC ma5hew.webster@imbim.uu.se Perl course details course book Learning Perl (6 ed.) lectures cover chapters morning lectures + aiernoon
More informationIntroduction to Linux. Fundamentals of Computer Science
Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard
More informationOutline. 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 informationUnix basics exercise MBV-INFX410
Unix basics exercise MBV-INFX410 In order to start this exercise, you need to be logged in on a UNIX computer with a terminal window open on your computer. It is best if you are logged in on freebee.abel.uio.no.
More informationLinux Introduction Martin Dahlö Valentin Georgiev
Linux Introduction 2018-02-12 Martin Dahlö martin.dahlo@scilifelab.uu.se Valentin Georgiev valentin.georgiev@icm.uu.se Objectives What is CLI, shell, terminal What is directory tree How to use simple commands
More informationIntroduction to Linux Organizing Files
Introduction to Linux Organizing Files Computational Science and Engineering North Carolina A&T State University Instructor: Dr. K. M. Flurchick Email: kmflurch@ncat.edu Arranging, Organizing, Packing
More informationUnix Basics. Systems Programming Concepts
Concepts Unix directories Important Unix file commands man, pwd, ls, mkdir, cd, cp, mv File and directory access rights through permission settings Using chmod to change permissions Other important Unix
More informationRecitation #1 Boot Camp. August 30th, 2016
18-600 Recitation #1 Boot Camp August 30th, 2016 Welcome to 18-600! Purpose of recitation Useful tools, information pertaining to the labs Hands-on activities Problem solving and exam prep Last ~30 mins
More informationLinux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala
Linux Training for New Users of Cluster Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala pakala@uga.edu 1 Overview GACRC Linux Operating System Shell, Filesystem, and Common
More informationUnix 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 informationLinux 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 informationIntroduction 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 informationFREEENGINEER.ORG. 1 of 6 11/5/15 8:31 PM. Learn UNIX in 10 minutes. Version 1.3. Preface
FREEENGINEER.ORG Learn UNIX in 10 minutes. Version 1.3 Preface This is something that I had given out to students (CAD user training) in years past. The purpose was to have on one page the basics commands
More informationThe Directory Structure
The Directory Structure All the files are grouped together in the directory structure. The file-system is arranged in a hierarchical structure, like an inverted tree. The top of the hierarchy is traditionally
More informationTutorial-1b: The Linux CLI
Balazs Konya (Lund University) Programming for Scientists Tutorial1b 1 / 22 HTTP://WWW.HEP.LU.SE/COURSES/MNXB01 Introduction to Programming and Computing for Scientists Tutorial-1b: The Linux CLI Balazs
More informationLecture # 2 Introduction to UNIX (Part 2)
CS390 UNIX Programming Spring 2009 Page 1 Lecture # 2 Introduction to UNIX (Part 2) UNIX is case sensitive (lowercase, lowercase, lowercase) Logging in (Terminal Method) Two basic techniques: 1. Network
More informationParts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/).
Ubuntu tutorial Parts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/). 1 Installing Ubuntu About Ubuntu For our lab sessions
More informationBasic Unix Commands. CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang
Basic Unix Commands CGS 3460, Lecture 6 Jan 23, 2006 Zhen Yang For this class you need to work from your grove account to finish your homework Knowing basic UNIX commands is essential to finish your homework
More informationacmteam/unix.pdf How to manage your account (user ID, password, shell); How to compile C, C++, and Java programs;
Note: you can find this file under: http://www.cs.queensu.ca/ acmteam/unix.pdf Introduction to Unix Tutorial In this tutorial, you will learn: How to manage your account (user ID, password, shell); Navigating
More information