Linux command line. An introduction to the Linux command line for genomics. Susan Fairley
|
|
|
- Claud Taylor
- 10 years ago
- Views:
Transcription
1 Linux command line An introduction to the Linux command line for genomics Susan Fairley
2 Aims Introduce the command line Provide an awareness of basic functionality Illustrate with some examples Provide some information on how to find out more
3 What we will not achieve Immediate proficiency in the command line As with learning a language, it takes time and use A comprehensive survey of the command line There is a vast array of commands, this session can only cover a small fraction
4 Format Series of short talks followed by exercises Should not need to listen and type at the same time Suggested reading listed at end
5 Overview Introduction to Linux Navigating the filesystem Basic commands Linking commands and directing output Additional commands Shells and shell scripts
6 Introduction to Linux What is Linux and what is an operating system? Unix and Linux what s the difference? Why consider Unix/Linux? The command prompt
7 Linux is an operating system Operating systems enable applications and users to make use of computer hardware User Applications Operating system Hardware
8 Operating systems Operating systems act as resource managers for the machine on which they are installed They wrap, and provide access to, hardware functionality The OS kernel controls the hardware Access to kernel services is provided to higher level applications and system utilities via system calls
9 Operating systems and shells Applications and system utilities can be started via a shell or GUI A shell is a textual command line interface A variety of shells, with slightly different features, exist Examples of shells include bash, bourne, csh and tcsh Using the shell can provide useful functionality
10 Unix and Linux From
11 Unix and Linux There are many variations of these systems They have some differences but many similarities Examples of Unix and Unix-like systems include Sun Solaris, GNU/Linux and Mac OS X Popular Linux distributions (packaging a Linux kernel with system utilities, GUI and applications) include Redhat and Debian, among others
12 Why Linux? Linux systems are commonplace in bioinformatics Large variety of software is developed by academic groups for these platforms Free and open source software
13 The command prompt The command line (shell) and GUI enable interaction with applications and system utilities A command prompt, where commands are entered at the command line, is accessed via software that provides a terminal window
14 The command prompt
15 The command prompt A terminal window can be opened when logged in to a machine Also options to open terminals on remote machines ssh, telnet and PuTTY Today, we will use PuTTY to connect from the classroom Windows machines to a Linux machine
16 Commands The command prompt 1) The command 2) Options 3) What the command is to run on Example: prompt$ command option thing_to_run_on
17 Commands White space Quotes Special characters We ll return to some of these topics later Typically best to avoid white space in file names
18 Important points No need to be afraid but Type with care You will NOT be asked if you really mean it Some commands are powerful and can remove many files at once Sometimes a command will run and run and run because something is wrong Can use Ctrl-C to kill processes in most cases If in doubt, ask!
19 In Exercise 1 Open PuTTY Connect to a remote machine Copy material to the remote machine
20 Exercise 1
21 Overview Introduction to Linux Navigating the filesystem Basic commands Linking commands and directing output Additional commands Shells and shell scripts
22 Navigating the filesystem Where am I? What is here (and permissions)? Moving around Searching
23 Navigating the filesystem In Exercise 1 we used some commands ls listed the contents of the directory tar unpackaged linux_course.tar.gz These commands followed the pattern we described earlier Command option thing_to_run_on The command is given along with any necessary additional information
24 Navigating the filesystem Now we are going to look at commands related to navigating the filesystem At any point in time, the command prompt is somewhere within the filesystem The filesystem is similar to the directory structure you will be familiar with in graphical interfaces, where you navigate by clicking on folders and documents
25 Navigating the filesystem
26 Navigating the filesystem
27 Where am I? The current directory is also called the working directory pwd print working directory Gives the path from the top of the file system (or root) to the current directory Root can be written as / [s08sf2@login1(maxwell) ~]$ pwd /users/s08sf2
28 What is here? We ve already used ls ls lists the contents of the current directory We used the simple form of ls Options can also be specified, including l or combinations of options such as lh -l gives the long version of output and h converts file sizes to human-readable form
29 What is here? spades_dec14]$ pwd /users/s08sf2/ken_forbes/spades_dec14 spades_dec14]$ ls mv.sh process_quast.pl quast_summary.txt notes.txt quast.sh spades_listeria_dec14.sh
30 What is here? spades_dec14]$ ls -l total 136 -rw-r--r-- 1 s08sf2 clsm Dec 10 16:53 mv.sh -rw-r--r-- 1 s08sf2 clsm Dec 12 14:55 notes.txt -rw-r--r-- 1 s08sf2 clsm 1932 Dec 10 16:51 process_quast.pl -rw-r--r-- 1 s08sf2 clsm 634 Dec 10 16:13 quast.sh -rw-r--r-- 1 s08sf2 clsm Dec 10 16:53 quast_summary.txt -rw-r--r-- 1 s08sf2 clsm 977 Dec 10 11:19 spades_listeria_dec14.sh [s08sf2@login1(maxwell) spades_dec14]$ ls -lh total 136K -rw-r--r-- 1 s08sf2 clsm 49K Dec 10 16:53 mv.sh -rw-r--r-- 1 s08sf2 clsm 45K Dec 12 14:55 notes.txt -rw-r--r-- 1 s08sf2 clsm 1.9K Dec 10 16:51 process_quast.pl -rw-r--r-- 1 s08sf2 clsm 634 Dec 10 16:13 quast.sh -rw-r--r-- 1 s08sf2 clsm 23K Dec 10 16:53 quast_summary.txt -rw-r--r-- 1 s08sf2 clsm 977 Dec 10 11:19 spades_listeria_dec14.sh
31 File type Owner Permissions -rw-r--r-- All users Group First character is file type: - for file, d for directory Then groups of three characters describing permissions for the user (u), group (g) and others (o) Each set of three characters is read, write and execute r = read, w = write, x=execute, -=no permission Here, we have a file (not a directory) where the owner can read and write, the group and all users can read and nobody can execute the file
32 Permissions Linux cares about permissions Permissions (including who the owner of a file is) can, in some cases, get carried over when moving or copying files Permissions can be changed using chmod
33 chmod chmod has various ways in which it can be used We ll look at one where a number is supplied for each of user, group and other How do we know what number to supply for each category?
34 chmod x 1 -w- 2 -wx 3 r-- 4 r-x 5 rw- 6 rwx 7
35 chmod chmod 600 private_file.txt chmod 777 everything_file.txt chmod 644 my_rw_otherwise_read.txt
36 Moving around We ve said the command prompt is in a directory How do we change that directory? cd change directory cd directions/to/where/we/want/to/go
37 Moving around Start in our home directory Can return there using ~ cd ~ There are some other directories we can refer to easily. is the directory we are in.. is the parent directory of our current location (the level above where we are)
38 Moving around We can move to a directory by specifying it and its location relative to root or our current location cd../linux_course/text_files cd /users/s08sf2/linux_course/text_files cd linux_course/text_files NB: once you have started typing the path, you can press tab to autocomplete NB: you can use the up arrow to get the previous command and then edit it
39 Exercise 2 We ve looked at how you establish what is in a directory and how to move about In exercise 2, we ll use the contents of linux_course to try out some of this material using pwd, ls and cd We ll also try out chmod
40 Exercise 2
41 Overview Introduction to Linux Navigating the filesystem Basic commands Linking commands and directing output Additional commands Shells and shell scripts
42 Basic commands We ve now used a few commands, including some with options and have the basic skills to navigate through the file system Now, we ll look at some additional commands, enabling you to make directories, move files, copy files, remove files, view files and find them
43 man man manual You can use the man command by supplying the name of a command you want to see the manual entry for i.e. man ls The manual entry provides information on the command and its usage Information can also be found online
44 mkdir mkdir make directory This creates the specified directory as a subdirectory of the current directory Multiple levels can be created at once using the p option mkdir my_dir mkdir p my_dir/new_dir/another_new_dir
45 cp cp copy file cp existing.txt copy.txt cp existing.txt../different_location/copy.txt We can also use the r option to recursively copy a directory and all of its contents cp r dir copy_of_dir
46 mv mv move Moves instead of copying Can be used to rename something in the same location mv old_name.txt new_name.txt mv old.txt../new_location/new.txt Can be applied to files and directories
47 rm Type with care rm remove (this means delete, and it will NOT move it to trash) rm file_to_remove.txt Need r option to remove a directory because you must also remove any contents rm r directory_to_remove
48 less less can be used to view files When viewing file press q to quit With less, can search the file using / and then typing pattern to search for less shakespeare/romeo_and_juliet.txt Also head, tail and more
49 wc wc word count Counts the number of words in a file Has options that can be used, for example, to count the number of lines in a file wc l file.txt
50 sort sort does what it says By default, sorts lexicographically Can sort numerically and can output only unique lines sort file.txt sort u file.txt
51 grep grep general regular expression print grep options pattern files grep Juliet romeo_and_juliet.txt grep r tide shakespeare Can supply patterns or regular expressions, which describe what to look for NB: we don t have time to discuss regular expressions today
52 find find search for things This command has many options find options path expression Path says where to look and expression what to look for find. name going*
53 Exercise 3 In Exercise 3 we ll try out some of the commands we ve just looked at
54 Exercise 3
55 Overview Introduction to Linux Navigating the filesystem Basic commands Linking commands and directing output Additional commands for genomics Shells and shell scripts
56 Linking commands and directing output So far, any output from our commands has been printed in our terminal However, we can redirect output to files or pipe it to another command pipes output from one command to another > writes output to a file >> appends output to a file
57 stdout and stderr In most cases, output is written to standard output (stdout) Some errors are written to standard error (stderr) Both are, by default, written to the terminal We ll look at redirecting stdout but stderr can also be redirected
58 Examples ls > dir_contents.txt ls sort > sorted_dir_contents.txt
59 Exercise 4 In Exercise 4 we ll use the output of one command as input for another by piping We ll also try redirecting output from standard out (stdout) to a file
60 Exercise 4
61 Overview Introduction to Linux Navigating the filesystem Basic commands Linking commands and directing output Additional commands Shells and shell scripts
62 Additional commands Many and varied commands can be used (including when handling genomic data) These are a few arbitrary examples
63 Grep for FASTA headers FASTA files have headers for each sequence Headers start with the character > grep > proteins.fa Note the use of around >, enabling the command line to differentiate from redirection
64 Identify unique FASTA headers grep > proteins.fa grep > proteins.fa wc l grep > proteins.fa sort u grep > proteins.fa sort u wc l
65 Retain part of FASTA header grep > protein_2.fa >sp P09922 MX1_MOUSE Interferon-induced GTP-binding protein Mx1 OS=Mus musculus GN=Mx1 PE=1 SV=1 sed e s/>\(\s*\).*/\1/ -e execute s/substitute this/for this/ \(\) capture the contents of the brackets (using \ to escape) and reuse the contents using \1 \S non-whitespace, * match many times
66 Compare sorted lists comm compares sorted lists Options lines unique to file1, -2 lines unique to file2, -3 lines that appear in both files Also diff diff y --suppress-common-lines file1 file2
67 Exercise 5 In Excercise 5 we ll work with some FASTA files We ll try some of the examples that we ve discussed
68 Exercise 5
69 Overview Introduction to Linux Navigating the filesystem Basic commands Linking commands and directing output Additional commands Shells and shell scripts
70 Shells and shell scripts We briefly discussed shells earlier in the session There are different shells that differ slightly in how they operate Often, you can identify the shell you are using by typing: echo $SHELL $SHELL is a variable
71 Scripts Scripts let us put together a sequence of commands that can then be run We can run a script by typing: source script.sh Source runs the commands in your current shell environment Alternatively, you can make the shell file (.sh) executable
72 Scripts #!/bin/bash echo Hello World
73 Scripts #!/bin/bash echo Hello World echo Goodbye World
74 Exercise 6 In this exercise, we ll look at scripts that run commands we ve already discussed We ll also review checking permissions to see if files are executable
75 Exercise 6
76 More information Also many books and online resources
77 Feedback Please complete and return the feedback form before you leave
78 Acknowledgements Naveed Khan Tony Travis Eduardo Alves Mel McCann
Command Line - Part 1
Command Line - Part 1 STAT 133 Gaston Sanchez Department of Statistics, UC Berkeley gastonsanchez.com github.com/gastonstat Course web: gastonsanchez.com/teaching/stat133 GUIs 2 Graphical User Interfaces
ICS 351: Today's plan
ICS 351: Today's plan routing protocols linux commands Routing protocols: overview maintaining the routing tables is very labor-intensive if done manually so routing tables are maintained automatically:
Command-Line Operations : The Shell. Don't fear the command line...
Command-Line Operations : The Shell Don't fear the command line... Shell Graphical User Interface (GUI) Graphical User Interface : displays to interact with the computer - Open and manipulate files and
Tutorial 0A Programming on the command line
Tutorial 0A Programming on the command line Operating systems User Software Program 1 Program 2 Program n Operating System Hardware CPU Memory Disk Screen Keyboard Mouse 2 Operating systems Microsoft Apple
Unix Sampler. PEOPLE whoami id who
Unix Sampler PEOPLE whoami id who finger username hostname grep pattern /etc/passwd Learn about yourself. See who is logged on Find out about the person who has an account called username on this host
A UNIX/Linux in a nutshell
bergman p.1/23 A UNIX/Linux in a nutshell Introduction Linux/UNIX Tommi Bergman tommi.bergman[at]csc.fi Computational Environment & Application CSC IT center for science Ltd. Espoo, Finland bergman p.2/23
Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)
Cisco Networking Academy Program Curriculum Scope & Sequence Fundamentals of UNIX version 2.0 (July, 2002) Course Description: Fundamentals of UNIX teaches you how to use the UNIX operating system and
An Introduction to the Linux Command Shell For Beginners
An Introduction to the Linux Command Shell For Beginners Presented by: Victor Gedris In Co-Operation With: The Ottawa Canada Linux Users Group and ExitCertified Copyright and Redistribution This manual
How To Use The Librepo Software On A Linux Computer (For Free)
An introduction to Linux for bioinformatics Paul Stothard March 11, 2014 Contents 1 Introduction 2 2 Getting started 3 2.1 Obtaining a Linux user account....................... 3 2.2 How to access your
Command Line Crash Course For Unix
Command Line Crash Course For Unix Controlling Your Computer From The Terminal Zed A. Shaw December 2011 Introduction How To Use This Course You cannot learn to do this from videos alone. You can learn
1 Basic commands. 2 Terminology. CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger
CS61B, Fall 2009 Simple UNIX Commands P. N. Hilfinger 1 Basic commands This section describes a list of commonly used commands that are available on the EECS UNIX systems. Most commands are executed by
Unix the Bare Minimum
Unix the Bare Minimum Norman Matloff September 27, 2005 c 2001-2005, N.S. Matloff Contents 1 Purpose 2 2 Shells 2 3 Files and Directories 4 3.1 Creating Directories.......................................
Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems
Module 9: Operating Systems Objective What is an operating system (OS)? OS kernel, and basic functions OS Examples: MS-DOS, MS Windows, Mac OS Unix/Linux Features of modern OS Graphical operating system
INASP: Effective Network Management Workshops
INASP: Effective Network Management Workshops Linux Familiarization and Commands (Exercises) Based on the materials developed by NSRC for AfNOG 2013, and reused with thanks. Adapted for the INASP Network
Tutorial Guide to the IS Unix Service
Tutorial Guide to the IS Unix Service The aim of this guide is to help people to start using the facilities available on the Unix and Linux servers managed by Information Services. It refers in particular
Thirty Useful Unix Commands
Leaflet U5 Thirty Useful Unix Commands Last revised April 1997 This leaflet contains basic information on thirty of the most frequently used Unix Commands. It is intended for Unix beginners who need a
A Crash Course on UNIX
A Crash Course on UNIX UNIX is an "operating system". Interface between user and data stored on computer. A Windows-style interface is not required. Many flavors of UNIX (and windows interfaces). Solaris,
Introduction to Mac OS X
Introduction to Mac OS X The Mac OS X operating system both a graphical user interface and a command line interface. We will see how to use both to our advantage. Using DOCK The dock on Mac OS X is the
Linux Overview. Local facilities. Linux commands. The vi (gvim) editor
Linux Overview Local facilities Linux commands The vi (gvim) editor MobiLan This system consists of a number of laptop computers (Windows) connected to a wireless Local Area Network. You need to be careful
Open Source Computational Fluid Dynamics
Open Source Computational Fluid Dynamics An MSc course to gain extended knowledge in Computational Fluid Dynamics (CFD) using open source software. Teachers: Miklós Balogh and Zoltán Hernádi Department
CS 103 Lab Linux and Virtual Machines
1 Introduction In this lab you will login to your Linux VM and write your first C/C++ program, compile it, and then execute it. 2 What you will learn In this lab you will learn the basic commands and navigation
CSIL MiniCourses. Introduction To Unix (I) John Lekberg Sean Hogan Cannon Matthews Graham Smith. Updated on: 2015-10-14
CSIL MiniCourses Introduction To Unix (I) John Lekberg Sean Hogan Cannon Matthews Graham Smith Updated on: 2015-10-14 What s a Unix? 2 Now what? 2 Your Home Directory and Other Things 2 Making a New Directory
Training Day : Linux
Training Day : Linux Objectives At the end of the day, you will be able to use Linux command line in order to : Connect to «genotoul» server Use available tools Transfer files between server and desktop
Linux System Administration on Red Hat
Linux System Administration on Red Hat Kenneth Ingham September 29, 2009 1 Course overview This class is for people who are familiar with Linux or Unix systems as a user (i.e., they know file manipulation,
Version Control with Subversion and Xcode
Version Control with Subversion and Xcode Author: Mark Szymczyk Last Update: June 21, 2006 This article shows you how to place your source code files under version control using Subversion and Xcode. By
Introduction to Operating Systems
Introduction to Operating Systems It is important that you familiarize yourself with Windows and Linux in preparation for this course. The exercises in this book assume a basic knowledge of both of these
An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories
An Introduction to Using the Command Line Interface (CLI) to Work with Files and Directories Mac OS by bertram lyons senior consultant avpreserve AVPreserve Media Archiving & Data Management Consultants
UNIX / Linux commands Basic level. Magali COTTEVIEILLE - September 2009
UNIX / Linux commands Basic level Magali COTTEVIEILLE - September 2009 What is Linux? Linux is a UNIX system Free Open source Developped in 1991 by Linus Torvalds There are several Linux distributions:
Extreme computing lab exercises Session one
Extreme computing lab exercises Session one Michail Basios ([email protected]) Stratis Viglas ([email protected]) 1 Getting started First you need to access the machine where you will be doing all
LECTURE-7. Introduction to DOS. Introduction to UNIX/LINUX OS. Introduction to Windows. Topics:
Topics: LECTURE-7 Introduction to DOS. Introduction to UNIX/LINUX OS. Introduction to Windows. BASIC INTRODUCTION TO DOS OPERATING SYSTEM DISK OPERATING SYSTEM (DOS) In the 1980s or early 1990s, the operating
Lab 1: Introduction to C, ASCII ART and the Linux Command Line Environment
.i.-' `-. i..' `/ \' _`.,-../ o o \.' ` ( / \ ) \\\ (_.'.'"`.`._) /// \\`._(..: :..)_.'// \`. \.:-:. /.'/ `-i-->..
Basic C Shell. [email protected]. 11th August 2003
Basic C Shell [email protected] 11th August 2003 This is a very brief guide to how to use cshell to speed up your use of Unix commands. Googling C Shell Tutorial can lead you to more detailed information.
Fred Hantelmann LINUX. Start-up Guide. A self-contained introduction. With 57 Figures. Springer
Fred Hantelmann LINUX Start-up Guide A self-contained introduction With 57 Figures Springer Contents Contents Introduction 1 1.1 Linux Versus Unix 2 1.2 Kernel Architecture 3 1.3 Guide 5 1.4 Typographical
CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities
CONNECTING TO DEPARTMENT OF COMPUTER SCIENCE SERVERS BOTH FROM ON AND OFF CAMPUS USING TUNNELING, PuTTY, AND VNC Client Utilities DNS name: turing.cs.montclair.edu -This server is the Departmental Server
Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun
Logo Reproduction Colours red and black on white backgroun School of Computing & Information Systems Unix Guide Mono positive black on white background 2013 Mono negative white only out of any colou 2
UNIX (LINUX) PRACTICAL 1 INTRODUCTION
UNIX (LINUX) PRACTICAL 1 INTRODUCTION 1. CONNECTING TO UNIX (LOGGING ON) 2. FILES AND DIRECTORIES - Listing, viewing, copying, making. How your workspace is structured. 3. HELP! - How to get it. Is it
Birmingham Environment for Academic Research. Introduction to Linux Quick Reference Guide. Research Computing Team V1.0
Birmingham Environment for Academic Research Introduction to Linux Quick Reference Guide Research Computing Team V1.0 Contents The Basics... 4 Directory / File Permissions... 5 Process Management... 6
Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux
Installing IBM Websphere Application Server 7 and 8 on OS4 Enterprise Linux By the OS4 Documentation Team Prepared by Roberto J Dohnert Copyright 2013, PC/OpenSystems LLC This whitepaper describes how
Beyond Windows: Using the Linux Servers and the Grid
Beyond Windows: Using the Linux Servers and the Grid Topics Linux Overview How to Login & Remote Access Passwords Staying Up-To-Date Network Drives Server List The Grid Useful Commands Linux Overview Linux
Basic Linux & Package Management. Original slides from GTFO Security
Basic Linux & Package Management Original slides from GTFO Security outline Linux What it is? Commands Filesystem / Shell Package Management Services run on Linux mail dns web central authentication router
Linux Labs: mini survival guide
Enrique Soriano, Gorka Guardiola Laboratorio de Sistemas, Grupo de Sistemas y Comunicaciones, URJC 29 de septiembre de 2011 (cc) 2010 Grupo de Sistemas y Comunicaciones. Some rights reserved. This work
HP-UX Essentials and Shell Programming Course Summary
Contact Us: (616) 875-4060 HP-UX Essentials and Shell Programming Course Summary Length: 5 Days Prerequisite: Basic computer skills Recommendation Statement: Student should be able to use a computer monitor,
Introduction to Running Hadoop on the High Performance Clusters at the Center for Computational Research
Introduction to Running Hadoop on the High Performance Clusters at the Center for Computational Research Cynthia Cornelius Center for Computational Research University at Buffalo, SUNY 701 Ellicott St
Introduction to Unix Tutorial
Topics covered in this Tutorial Introduction to Unix Tutorial 1. CSIF Computer Network 2. Local Logging in. 3. Remote computer access: ssh 4. Navigating the UNIX file structure: cd, ls, and pwd 5. Making
Remote Access to Unix Machines
Remote Access to Unix Machines Alvin R. Lebeck Department of Computer Science Department of Electrical and Computer Engineering Duke University Overview We are using OIT Linux machines for some homework
Programming for GCSE Topic H: Operating Systems
Programming for GCSE Topic H: Operating Systems William Marsh School of Electronic Engineering and Computer Science Queen Mary University of London Aims Introduce Operating Systems Core concepts Processes
Introduction to Linux and Cluster Basics for the CCR General Computing Cluster
Introduction to Linux and Cluster Basics for the CCR General Computing Cluster Cynthia Cornelius Center for Computational Research University at Buffalo, SUNY 701 Ellicott St Buffalo, NY 14203 Phone: 716-881-8959
The Linux Operating System and Linux-Related Issues
Review Questions: The Linux Operating System and Linux-Related Issues 1. Explain what is meant by the term copyleft. 2. In what ways is the Linux operating system superior to the UNIX operating system
AN INTRODUCTION TO UNIX
AN INTRODUCTION TO UNIX Paul Johnson School of Mathematics September 24, 2010 OUTLINE 1 SHELL SCRIPTS Shells 2 COMMAND LINE Command Line Input/Output 3 JOBS Processes Job Control 4 NETWORKING Working From
Syntax: cd <Path> Or cd $<Custom/Standard Top Name>_TOP (In CAPS)
List of Useful Commands for UNIX SHELL Scripting We all are well aware of Unix Commands but still would like to walk you through some of the commands that we generally come across in our day to day task.
SSH Connections MACs the MAC XTerm application can be used to create an ssh connection, no utility is needed.
Overview of MSU Compute Servers The DECS Linux based compute servers are well suited for programs that are too slow to run on typical desktop computers but do not require the power of supercomputers. The
CS 2112 Lab: Version Control
29 September 1 October, 2014 Version Control What is Version Control? You re emailing your project back and forth with your partner. An hour before the deadline, you and your partner both find different
Installing FEAR on Windows, Linux, and Mac Systems
Installing FEAR on Windows, Linux, and Mac Systems Paul W. Wilson Department of Economics and School of Computing Clemson University Clemson, South Carolina 29634 1309, USA email: [email protected] www:
PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007
PuTTY/Cygwin Tutorial By Ben Meister Written for CS 23, Winter 2007 This tutorial will show you how to set up and use PuTTY to connect to CS Department computers using SSH, and how to install and use the
HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD 21015 Course Outline CIS 110 - INTRODUCTION TO UNIX
HARFORD COMMUNITY COLLEGE 401 Thomas Run Road Bel Air, MD 21015 Course Outline CIS 110 - INTRODUCTION TO UNIX Course Description: This is an introductory course designed for users of UNIX. It is taught
Lab 1: Introduction to the network lab
CSCI 312 - DATA COMMUNICATIONS AND NETWORKS FALL, 2014 Lab 1: Introduction to the network lab NOTE: Be sure to bring a flash drive to the lab; you will need it to save your data. For this and future labs,
How to Backup XenServer VM with VirtualIQ
How to Backup XenServer VM with VirtualIQ 1. Using Live Backup of VM option: Live Backup: This option can be used, if user does not want to power off the VM during the backup operation. This approach takes
Tutorial: Using WestGrid. Drew Leske Compute Canada/WestGrid Site Lead University of Victoria
Tutorial: Using WestGrid Drew Leske Compute Canada/WestGrid Site Lead University of Victoria Fall 2013 Seminar Series Date Speaker Topic 23 September Lindsay Sill Introduction to WestGrid 9 October Drew
Hands-On UNIX Exercise:
Hands-On UNIX Exercise: This exercise takes you around some of the features of the shell. Even if you don't need to use them all straight away, it's very useful to be aware of them and to know how to deal
UNIX Basics. Ian Darwin TCP Informatics January, 2005. Presented from a Mac using Apple s Keynote presentation software
UNIX Basics Ian Darwin TCP Informatics January, 2005 Presented from a Mac using Apple s Keynote presentation software 1 What is this about? Brief Introduction to UNIX - ideas - basic commands - some examples
TNM093 Practical Data Visualization and Virtual Reality Laboratory Platform
October 6, 2015 1 Introduction The laboratory exercises in this course are to be conducted in an environment that might not be familiar to many of you. It is based on open source software. We use an open
Using a login script for deployment of Kaspersky Network Agent to Mac OS X clients
Using a login script for deployment of Kaspersky Network Agent to Mac OS X clients EXECUTIVE SUMMARY This document describes how an administrator can configure a login script to deploy Kaspersky Lab Network
Automating FTP with the CP 443-1 IT
Automating FTP with the CP 443-1 IT Contents Page Introduction 2 FTP Basics with the SIMATIC NET CP 443-1 IT 3 CONFIGURATION 3 FTP SERVICES 6 FTP Server with the SIMATIC NET CP 443-1 IT 9 OVERVIEW 9 CONFIGURATION
Beginners Shell Scripting for Batch Jobs
Beginners Shell Scripting for Batch Jobs Evan Bollig and Geoffrey Womeldorff Before we begin... Everyone please visit this page for example scripts and grab a crib sheet from the front http://www.scs.fsu.edu/~bollig/techseries
Recommended File System Ownership and Privileges
FOR MAGENTO COMMUNITY EDITION Whenever a patch is released to fix an issue in the code, a notice is sent directly to your Admin Inbox. If the update is security related, the incoming message is colorcoded
Running your first Linux Program
Running your first Linux Program This document describes how edit, compile, link, and run your first linux program using: - Gnome a nice graphical user interface desktop that runs on top of X- Windows
Lab 1 Beginning C Program
Lab 1 Beginning C Program Overview This lab covers the basics of compiling a basic C application program from a command line. Basic functions including printf() and scanf() are used. Simple command line
Secure File Transfer Installation. Sender Recipient Attached FIles Pages Date. Development Internal/External None 11 6/23/08
Technical Note Secure File Transfer Installation Sender Recipient Attached FIles Pages Date Development Internal/External None 11 6/23/08 Overview This document explains how to install OpenSSH for Secure
Hadoop Shell Commands
Table of contents 1 DFShell... 3 2 cat...3 3 chgrp...3 4 chmod...3 5 chown...4 6 copyfromlocal... 4 7 copytolocal... 4 8 cp...4 9 du...4 10 dus... 5 11 expunge... 5 12 get... 5 13 getmerge... 5 14 ls...
USEFUL UNIX COMMANDS
cancel cat file USEFUL UNIX COMMANDS cancel print requested with lp Display the file cat file1 file2 > files Combine file1 and file2 into files cat file1 >> file2 chgrp [options] newgroup files Append
Hadoop Shell Commands
Table of contents 1 FS Shell...3 1.1 cat... 3 1.2 chgrp... 3 1.3 chmod... 3 1.4 chown... 4 1.5 copyfromlocal...4 1.6 copytolocal...4 1.7 cp... 4 1.8 du... 4 1.9 dus...5 1.10 expunge...5 1.11 get...5 1.12
WinSCP PuTTY as an alternative to F-Secure July 11, 2006
WinSCP PuTTY as an alternative to F-Secure July 11, 2006 Brief Summary of this Document F-Secure SSH Client 5.4 Build 34 is currently the Berkeley Lab s standard SSH client. It consists of three integrated
LSN 10 Linux Overview
LSN 10 Linux Overview ECT362 Operating Systems Department of Engineering Technology LSN 10 Linux Overview Linux Contemporary open source implementation of UNIX available for free on the Internet Introduced
GeBro-BACKUP. Die Online-Datensicherung. Manual Pro Backup Client on a NAS
GeBro-BACKUP Die Online-Datensicherung. Manual Pro Backup Client on a NAS Created and tested on a QNAP TS-559 Pro Firmware 4.0.2 Intel x86 Architecture Default hardware configuration OBM v6.15.0.0 Last
Linux System Administration
Copyright GBdirect Ltd 2004 http://training.gbdirect.co.uk/ tel: 0870 200 7273 Overview 1 Introduction 1 2 Getting Started 8 3 Work Effectively on the Unix Command Line 16 4 Process Text Streams Using
Setting up PostgreSQL
Setting up PostgreSQL 1 Introduction to PostgreSQL PostgreSQL is an object-relational database management system based on POSTGRES, which was developed at the University of California at Berkeley. PostgreSQL
CMSC 216 UNIX tutorial Fall 2010
CMSC 216 UNIX tutorial Fall 2010 Larry Herman Jandelyn Plane Gwen Kaye August 28, 2010 Contents 1 Introduction 2 2 Getting started 3 2.1 Logging in........................................... 3 2.2 Logging
Hadoop Basics with InfoSphere BigInsights
An IBM Proof of Technology Hadoop Basics with InfoSphere BigInsights Part: 1 Exploring Hadoop Distributed File System An IBM Proof of Technology Catalog Number Copyright IBM Corporation, 2013 US Government
embeo Getting Started and Samples
embeo smb filesharing development kit Getting Started and Samples Getting Started Guide rev. 1.4 1 Introduction to SMB The SMB protocol, CIFS, or Windows File Sharing as it is more commonly known, is the
Introduction to UNIX and SFTP
Introduction to UNIX and SFTP Introduction to UNIX 1. What is it? 2. Philosophy and issues 3. Using UNIX 4. Files & folder structure 1. What is UNIX? UNIX is an Operating System (OS) All computers require
RECOVER ( 8 ) Maintenance Procedures RECOVER ( 8 )
NAME recover browse and recover NetWorker files SYNOPSIS recover [-f] [-n] [-q] [-u] [-i {nnyyrr}] [-d destination] [-c client] [-t date] [-sserver] [dir] recover [-f] [-n] [-u] [-q] [-i {nnyyrr}] [-I
Cygwin command line windows. Get that Linux feeling - on Windows http://cygwin.com/
Cygwin command line windows Get that Linux feeling - on Windows http://cygwin.com/ 1 Outline 1. What is Cygwin? 2. Why learn it? 3. The basic commands 4. Combining commands in scripts 5. How to get more
Agenda. Using HPC Wales 2
Using HPC Wales Agenda Infrastructure : An Overview of our Infrastructure Logging in : Command Line Interface and File Transfer Linux Basics : Commands and Text Editors Using Modules : Managing Software
Web Hosting: Pipeline Program Technical Self Study Guide
Pipeline Program Technical Self Study Guide Thank you for your interest in InMotion Hosting and our Technical Support positions. Our technical support associates operate in a call center environment, assisting
SSH and Basic Commands
SSH and Basic Commands In this tutorial we'll introduce you to SSH - a tool that allows you to send remote commands to your Web server - and show you some simple UNIX commands to help you manage your website.
Introduction to Linux operating system. module Basic Bioinformatics PBF
Introduction to Linux operating system module Basic Bioinformatics PBF What is Linux? A Unix-like Operating System A famous open source project Free to use, distribute, modify under a compatible licence
Stata R Release 13 Installation Guide
i Stata R Release 13 Installation Guide Contents Simple installation........................................ 1 Installing Stata for Windows................................ 3 Installing Stata for Mac....................................
Installing and Running MOVES on Linux
Installing and Running MOVES on Linux MOVES Workgroup Wednesday June 15, 2011 Gwo Shyu Dan Stuart USEPA Office of Transportation & Air Quality Assessment and Standards Division 2000 Traverwood Drive, Ann
12 Most Important Unix Commands You Should Know
The twelve most important Unix commands Carl Mason [email protected] rev 1.32 Fall 2013 Contents 1 Introduction 1 2 Terminal windows 2 3 The Filesystem 3 4 The command interpreter 4 4.1 Essential
UNIX, Shell Scripting and Perl Introduction
UNIX, Shell Scripting and Perl Introduction Bart Zeydel 2003 Some useful commands grep searches files for a string. Useful for looking for errors in CAD tool output files. Usage: grep error * (looks for
L01 Introduction to the Unix OS
Geophysical Computing L01-1 1. What is Unix? L01 Introduction to the Unix OS Unix is an operating system (OS): it manages the way the computer works by driving the processor, memory, disk drives, keyboards,
University of Toronto
1 University of Toronto APS 105 Computer Fundamentals A Tutorial about UNIX Basics Fall 2011 I. INTRODUCTION This document serves as your introduction to the computers we will be using in this course.
Unix Shell Scripts. Contents. 1 Introduction. Norman Matloff. July 30, 2008. 1 Introduction 1. 2 Invoking Shell Scripts 2
Unix Shell Scripts Norman Matloff July 30, 2008 Contents 1 Introduction 1 2 Invoking Shell Scripts 2 2.1 Direct Interpretation....................................... 2 2.2 Indirect Interpretation......................................
Computing Service G72. File Transfer Using SCP, SFTP or FTP. many leaflets can be found at: http://www.cam.ac.uk/cs/docs
Computing Service G72 File Transfer Using SCP, SFTP or FTP many leaflets can be found at: http://www.cam.ac.uk/cs/docs 50 pence April 2003 Contents Introduction Servers and clients... 2 Comparison of FTP,
1. Product Information
ORIXCLOUD BACKUP CLIENT USER MANUAL LINUX 1. Product Information Product: Orixcloud Backup Client for Linux Version: 4.1.7 1.1 System Requirements Linux (RedHat, SuSE, Debian and Debian based systems such
Online Backup Client User Manual Linux
Online Backup Client User Manual Linux 1. Product Information Product: Online Backup Client for Linux Version: 4.1.7 1.1 System Requirements Operating System Linux (RedHat, SuSE, Debian and Debian based
HDFS Installation and Shell
2012 coreservlets.com and Dima May HDFS Installation and Shell Originals of slides and source code for examples: http://www.coreservlets.com/hadoop-tutorial/ Also see the customized Hadoop training courses
CPSC 226 Lab Nine Fall 2015
CPSC 226 Lab Nine Fall 2015 Directions. Our overall lab goal is to learn how to use BBB/Debian as a typical Linux/ARM embedded environment, program in a traditional Linux C programming environment, and
