Beginners Shell Scripting for Batch Jobs
|
|
|
- Claud Gallagher
- 9 years ago
- Views:
Transcription
1 Beginners Shell Scripting for Batch Jobs Evan Bollig and Geoffrey Womeldorff
2 Before we begin... Everyone please visit this page for example scripts and grab a crib sheet from the front Also please sign in on the clipboard being passed around
3 Introduction to Shells History What is the *nix ENV? What is Shell Scripting? Novice Scripting Outline HelloWorld (HelloWorld.sh) Variables (HelloWorld2.sh) `...`, '...' and... (Example3.sh)
4 Outline (2) Intermediate Scripting File and Output Control (Example4.sh) Loops, Conditionals and Utilizing Available Programs (Example5.sh) Advanced Scripting Substrings and Case Statements for Machine and Architecture Specific Tasks (Example6.sh) Restart Files, Integers and Avoiding Redundant Tasks (Example7.sh) Calling Matlab for Batch Processing (Example8.sh)
5 Introduction to Shells
6 What are *nix Shells? Unix was the first OS to separate the command interpreter (shell) from the operating system (kernel) Shells abstract the complexities of systems and provide standard commands for all machines A shell has built in commands, plus allows us access to other Unix commands history, export, cd > built in cp, ls, grep > Unix commands (/bin, /usr/bin, etc.)
7 A General History Bourne Shell (/bin/sh): Bell Laboratories, by Stephen Bourne Basis for all shells, but provided limited functionality C Shell (/bin/csh): UC Berkley, by Bill Joy (creator of vi ) Expanded Bourne Shell to mimic C language and provide interactivity (in reality, it was too buggy to use for scripts) TENEX csh (/bin/tcsh) was later developed to get rid of bugs but Unix manufacturers stuck with csh
8 Korn Shell (/bin/ksh): History (2) AT&T, by David Korn Hybrid of sh and csh using sh language with csh interactivity Although it was the best of both worlds, it was still from AT&T => ksh was not free. Bourne Again Shell (/bin/bash): GNU's POSIX compatible Bourne Shell Equivalent to Korn but free implementation Perfect fit in Linux which resulted in mass popularity rc, zsh and others are still emerging...
9 Understanding the ENV The ENV is the Unix environment Key=value pairs describe current configuration Every running application, user, etc that interacts with the operating system has an environment A process inherits its parent's environment unless the parent overrides/specifies other properties. Users' initial ENV is provided by the shell and based on /etc/profile.d/*, /etc/*shrc and ~/.*shrc files. Changes to child's environment only affect child's children and are lost when the subtree exits.
10 Controlling the Env Shells allow us to control the environment with built in commands; Unix commands can also be used: %> env Lists your current environment %> export <key>= <value> Set a new key or update an existing one NOTE: this is equivalent to setenv <key> <value> in the C shell family %> echo $<key> Print current value of variable
11 Understanding Shell Scripts Shell scripts are files that contain commands as you would run them on the command prompt. Scripts commonly use variables, conditionals and loops. These are all available on the command prompt What makes a script so special? It has the executable bit set (chmod +x <script>) It executes until it encounters an error (interpreted) Scripts can use any available executables; no need to worry about libraries, headers or APIs
12 Quick and dirty solutions Why Script? Mostly you use pre existing binaries Changes to script have immediate effects no need to write/(re )compile code Inter program communication is performed through standard file I/O pipes No worries about communication standards Shell Scripts use shells that are standard on all *nix platforms NOTE: only the shells are standard. This is not always true for the commands a script contains.
13 Novice Shell Scripting
14 HelloWorld Example 1: HelloWorld.sh Key features: Sh bang (#!/bin/sh) Every shell script must start with a sh bang on the first line. This tells the executing shell what type of shell should interpret it (i.e. sh, bash, csh, perl, python, tcl, etc.) Comments Comments begin with the hash (#) and proceed to the end of the line
15 Variables Example2: HelloWorld2.sh; Hello.sh Key Features: Local and Global Variables <key>=<value> is a local variable that is not passed to children export <key>=<value> is a global variable that is passed to children but is not visible to parent of this script
16 `...`, '...' and... Example3: Example3.csh Key Features: Use of different shell (see csh in sh bang) `...`: execute program performing substitution on variables '...': strings without variable substitution... : strings with variable substitution
17 Intermediate Shell Scripting
18 File and Output Control Example4: Example4.sh; HandsFreeCharmm.sh Key Features: cat << EOF... Print everything between << EOF and the next occurrence of EOF to stdout. NOTE: the > example4.out to the right of << EOF redirects stdout to a file Redirecting both stdout and stderr Use ( [command] > [stdoutfile] ) > [stderrfile] to store output separately Use [command] &> [outfile] to store together
19 Loops, Conditionals and Utilizing Available Programs Example5: Example5.sh Key Features: For loop executes on list of filenames Conditional (if then else) tests for a lock file to avoid extra work We take advantage of standard Unix commands like mkdir, pwd, grep and echo but also use non standard Imagemagick to perform batch image conversion
20 Advanced Shell Scripting
21 Substrings and Case Statements for Machine and Architecture Specific Tasks Example6: Example6.sh Key Features: Case statement to compare machine's name (hostname) Case statement to compare architecture of machine Substrings from variables using ${var_name#*/} and ${var_name%/*}
22 Restart Files, Integers and Avoiding Redundant Tasks Example7: Example7.sh Key Features: Restart file informs script what tasks it has already completed Integers require unique handling (we cannot compare like strings) Locates ALL jpegs in ALL subdirectories and rebuilds subdirs in output folder (important to keep batch jobs organized)
23 Calling Matlab as for Batch Processing Example8: Example8.sh; testmatlab.m; mandrill_cvt.m Key Features: Per machine tasks different compression for each cluster: Class*, Prism*, Hallway*, and Vislab machines Executes Matlab behind the scenes with a complex clustering algorithm for data compression (easily coded in Matlab and easy to visualize results)
24 Conclusion You now have example shell scripts to get started. Use the resources on the crib sheet and on the SCS TechSupport Twiki to help you write your own scripts. Use logging, locks and restart files to help accelerate batch jobs. Remember: don't reinvent the wheel! If a command exists and it functions correctly, don't waste your time re writing it from scratch. If it has bugs then its another story...
25 Special Thanks... to TSG for the excuse to play with shell scripts to Gordon Erlebacher for the extra time allotment away from WATT to SCS Custodial for making life interesting during the wee hours of the morning And of course! Thank you all for attending...
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
Linux command line. An introduction to the Linux command line for genomics. Susan Fairley
Linux command line An introduction to the Linux command line for genomics Susan Fairley Aims Introduce the command line Provide an awareness of basic functionality Illustrate with some examples Provide
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
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
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.......................................
Introduction to CloudScript
Introduction to CloudScript A NephoScale Whitepaper Authors: Nick Peterson, Alan Meadows Date: 2012-07-06 CloudScript is a build language for the cloud. It is a simple Domain Specific Language (DSL) that
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,
Unix Scripts and Job Scheduling
Unix Scripts and Job Scheduling Michael B. Spring Department of Information Science and Telecommunications University of Pittsburgh [email protected] http://www.sis.pitt.edu/~spring Overview Shell Scripts
Shell Scripts (1) For example: #!/bin/sh If they do not, the user's current shell will be used. Any Unix command can go in a shell script
Shell Programming Shell Scripts (1) Basically, a shell script is a text file with Unix commands in it. Shell scripts usually begin with a #! and a shell name For example: #!/bin/sh If they do not, the
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
The Linux Operating System
The Linux Operating System Charles Abzug, Ph.D. Department of Computer Science James Madison University Harrisonburg, VA 22807 Voice Phone: 540-568-8746; Cell Phone: 443-956-9424 E-mail: [email protected]
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
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
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......................................
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,
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.
CS2043 - Unix Tools & Scripting Lecture 9 Shell Scripting
CS2043 - Unix Tools & Scripting Lecture 9 Shell Scripting Spring 2015 1 February 9, 2015 1 based on slides by Hussam Abu-Libdeh, Bruno Abrahao and David Slater over the years Announcements Coursework adjustments
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:
Lab 2 : Basic File Server. Introduction
Lab 2 : Basic File Server Introduction In this lab, you will start your file system implementation by getting the following FUSE operations to work: CREATE/MKNOD, LOOKUP, and READDIR SETATTR, WRITE and
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
BASH Scripting. A bash script may consist of nothing but a series of command lines, e.g. The following helloworld.sh script simply does an echo.
BASH Scripting bash is great for simple scripts that automate things you would otherwise by typing on the command line. Your command line skills will carry over to bash scripting and vice versa. bash comments
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
Creating a Java application using Perfect Developer and the Java Develo...
1 of 10 15/02/2010 17:41 Creating a Java application using Perfect Developer and the Java Development Kit Introduction Perfect Developer has the facility to execute pre- and post-build steps whenever the
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
Outline. Unix shells Bourne-again Shell (bash) Interacting with bash Basic scripting References
Ryan Hulguin Outline Unix shells Bourne-again Shell (bash) Interacting with bash Basic scripting References Unix shells This lets users issue commands to the Unix operating system Users can interact with
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
Automating admin tasks using shell scripts and cron Vijay Kumar Adhikari. vijay@kcm
Automating admin tasks using shell scripts and cron Vijay Kumar Adhikari vijay@kcm kcm.edu.np How do we go? Introduction to shell scripts Example scripts Introduce concepts at we encounter them in examples
MFCF Grad Session 2015
MFCF Grad Session 2015 Agenda Introduction Help Centre and requests Dept. Grad reps Linux clusters using R with MPI Remote applications Future computing direction Technical question and answer period MFCF
SFTP SHELL SCRIPT USER GUIDE
SFTP SHELL SCRIPT USER GUIDE FCA US INFORMATION & COMMUNICATION TECHNOLOGY MANAGEMENT Overview The EBMX SFTP shell scripts provide a parameter driven workflow to place les on the EBMX servers and queue
Bash Guide for Beginners
Bash Guide for Beginners By Machtelt Garrels Cover design by Fultus Books ISBN 0-9744339-4-2 All rights reserved. Copyright c 2004 by Machtelt Garrels Published by Fultus Corporation Corporate Web Site:
Introduction. Created by Richard Bell 10/29/2014
Introduction GNU Radio is open source software that provides built in modules for standard tasks of a wireless communications system. Within the GNU Radio framework is gnuradio-companion, which is a GUI
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
Using Parallel Computing to Run Multiple Jobs
Beowulf Training Using Parallel Computing to Run Multiple Jobs Jeff Linderoth August 5, 2003 August 5, 2003 Beowulf Training Running Multiple Jobs Slide 1 Outline Introduction to Scheduling Software The
Introduction to Shell Scripting
Introduction to Shell Scripting Lecture 1. Shell scripts are small programs. They let you automate multi-step processes, and give you the capability to use decision-making logic and repetitive loops. 2.
LAE 4.6.0 Enterprise Server Installation Guide
LAE 4.6.0 Enterprise Server Installation Guide 2013 Lavastorm Analytics, Inc. Rev 01/2013 Contents Introduction... 3 Installing the LAE Server on UNIX... 3 Pre-Installation Steps... 3 1. Third-Party Software...
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
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
Introduction to the UNIX Operating System and Open Windows Desktop Environment
Introduction to the UNIX Operating System and Open Windows Desktop Environment Welcome to the Unix world! And welcome to the Unity300. As you may have already noticed, there are three Sun Microsystems
RHadoop and MapR. Accessing Enterprise- Grade Hadoop from R. Version 2.0 (14.March.2014)
RHadoop and MapR Accessing Enterprise- Grade Hadoop from R Version 2.0 (14.March.2014) Table of Contents Introduction... 3 Environment... 3 R... 3 Special Installation Notes... 4 Install R... 5 Install
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
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
Submitting batch jobs Slurm on ecgate. Xavi Abellan [email protected] User Support Section
Submitting batch jobs Slurm on ecgate Xavi Abellan [email protected] User Support Section Slide 1 Outline Interactive mode versus Batch mode Overview of the Slurm batch system on ecgate Batch basic
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
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
Notes on the SNOW/Rmpi R packages with OpenMPI and Sun Grid Engine
Notes on the SNOW/Rmpi R packages with OpenMPI and Sun Grid Engine Last updated: 6/2/2008 4:43PM EDT We informally discuss the basic set up of the R Rmpi and SNOW packages with OpenMPI and the Sun Grid
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
Tour of the Terminal: Using Unix or Mac OS X Command-Line
Tour of the Terminal: Using Unix or Mac OS X Command-Line hostabc.princeton.edu% date Mon May 5 09:30:00 EDT 2014 hostabc.princeton.edu% who wc l 12 hostabc.princeton.edu% Dawn Koffman Office of Population
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
Automatic Script Generation Based on User-System Interactions
Automatic Script Generation Based on User-System Interactions M. Golik, M. Bubak, and T. Szepieniec ACC Cyfronet AGH CGW'4, Kraków, 28.0.204 Background 2 User wants to conduct a simulation: Opens terminal,
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,
HPC Wales Skills Academy Course Catalogue 2015
HPC Wales Skills Academy Course Catalogue 2015 Overview The HPC Wales Skills Academy provides a variety of courses and workshops aimed at building skills in High Performance Computing (HPC). Our courses
Forms, CGI Objectives. HTML forms. Form example. Form example...
The basics of HTML forms How form content is submitted GET, POST Elements that you can have in forms Responding to forms Common Gateway Interface (CGI) Later: Servlets Generation of dynamic Web content
Installing and running COMSOL on a Linux cluster
Installing and running COMSOL on a Linux cluster Introduction This quick guide explains how to install and operate COMSOL Multiphysics 5.0 on a Linux cluster. It is a complement to the COMSOL Installation
An Introduction to High Performance Computing in the Department
An Introduction to High Performance Computing in the Department Ashley Ford & Chris Jewell Department of Statistics University of Warwick October 30, 2012 1 Some Background 2 How is Buster used? 3 Software
SendMIME Pro Installation & Users Guide
www.sendmime.com SendMIME Pro Installation & Users Guide Copyright 2002 SendMIME Software, All Rights Reserved. 6 Greer Street, Stittsville, Ontario Canada K2S 1H8 Phone: 613-831-4023 System Requirements
KretchmarBook 2003/8/29 19:05 page 39 #51
KretchmarBook 2003/8/29 19:05 page 39 #51 Chapter 3 MRTG 3.1 Overview of MRTG MRTG is the Multi Router Traffic Grapher, a piece of free software released under the GNU General Public License. 1 It was
PKZIP 6.0 Command Line Getting Started Manual
PKZIP 6.0 Command Line Getting Started Manual Copyright 2002 PKWARE, Inc. All Rights Reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or
The Build Process. of (GNU Tools for ARM Embedded Processors) 2016-03
The Build Process of (GNU Tools for ARM Embedded Processors) 2016-03 Copyright c 2012-2016 ARM Ltd. i Table of Contents Preface.............................................. 1 1 Build GNU Tools on Ubuntu
CS10110 Introduction to personal computer equipment
CS10110 Introduction to personal computer equipment PRACTICAL 4 : Process, Task and Application Management In this practical you will: Use Unix shell commands to find out about the processes the operating
Job Scheduler Daemon Configuration Guide
Job Scheduler Daemon Configuration Guide A component of Mark Dickinsons Unix Job Scheduler This manual covers the server daemon component of Mark Dickinsons unix Job Scheduler. This manual is for version
Lecture 4: Writing shell scripts
Handout 5 06/03/03 1 Your rst shell script Lecture 4: Writing shell scripts Shell scripts are nothing other than les that contain shell commands that are run when you type the le at the command line. That
Setting Up a CLucene and PostgreSQL Federation
Federated Desktop and File Server Search with libferris Ben Martin Abstract How to federate CLucene personal document indexes with PostgreSQL/TSearch2. The libferris project has two major goals: mounting
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....................................
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
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
A DirectX 9 capable graphics card is recommended. A DirectX 10 capable graphics card from ATI or nvidia is required for Volume Rendering.
EnSight 10.0 Installation Guide Installation... 1 Requirements... 1 Windows... 1 Mac... 2 Linux... 2 RPM... 3 DEB... 4 TGZ... 5 Licensing... 5 Quick Instructions... 5 Node Locked Licenses... 5 Floating
Linux für bwgrid. Sabine Richling, Heinz Kredel. Universitätsrechenzentrum Heidelberg Rechenzentrum Universität Mannheim. 27.
Linux für bwgrid Sabine Richling, Heinz Kredel Universitätsrechenzentrum Heidelberg Rechenzentrum Universität Mannheim 27. June 2011 Richling/Kredel (URZ/RUM) Linux für bwgrid FS 2011 1 / 33 Introduction
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,
Introduction to Scientific Computing
Introduction to Scientific Computing what you need to learn now to decide what you need to learn next Bob Dowling University Computing Service [email protected] 1. Why this course exists 2. Common concepts
24/08/2004. Introductory User Guide
24/08/2004 Introductory User Guide CSAR Introductory User Guide Introduction This material is designed to provide new users with all the information they need to access and use the SGI systems provided
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
PHP Debugging. Draft: March 19, 2013 2013 Christopher Vickery
PHP Debugging Draft: March 19, 2013 2013 Christopher Vickery Introduction Debugging is the art of locating errors in your code. There are three types of errors to deal with: 1. Syntax errors: When code
Automated Offsite Backup with rdiff-backup
Automated Offsite Backup with rdiff-backup Michael Greb 2003-10-21 Contents 1 Overview 2 1.1 Conventions Used........................................... 2 2 Setting up SSH 2 2.1 Generating SSH Keys........................................
Linux Overview. The Senator Patrick Leahy Center for Digital Investigation. Champlain College. Written by: Josh Lowery
Linux Overview Written by: Josh Lowery The Senator Patrick Leahy Center for Digital Investigation Champlain College October 29, 2012 Disclaimer: This document contains information based on research that
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,
Introduction to Running Computations on the High Performance Clusters at the Center for Computational Research
! Introduction to Running Computations on the High Performance Clusters at the Center for Computational Research! Cynthia Cornelius! Center for Computational Research University at Buffalo, SUNY! cdc at
A Brief Introduction to the Use of Shell Variables
A Brief Introduction to the Use of Shell Variables Norman Matloff July 25, 2001 Contents 1 Two Popular Shells: tcsh and bash 1.1 Overview There are many different shells available for Unix systems. Here
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
Installing HSPICE on UNIX, Linux or Windows Platforms
This document describes how to install the HSPICE product. Note: The installation instructions in this document are the most up-to-date available at the time of production. However, changes might have
TEL2821/IS2150: INTRODUCTION TO SECURITY Lab: Operating Systems and Access Control
TEL2821/IS2150: INTRODUCTION TO SECURITY Lab: Operating Systems and Access Control Version 3.4, Last Edited 9/10/2011 Students Name: Date of Experiment: Read the following guidelines before working in
Unit 10 : An Introduction to Linux OS
Unit 10 : An Introduction to Linux OS Linux is a true 32/64-bit operating system that run on different platforms. It is a multi-user, multi-tasking and time sharing operating system. Linux is a very stable
Lecture 22 The Shell and Shell Scripting
Lecture 22 The Shell and Shell Scripting In this lecture The UNIX shell Simple Shell Scripts Shell variables File System s, IO s, IO redirection Command Line Arguments Evaluating Expr in Shell Predicates,
Koha 3 Library Management System
P U B L I S H I N G community experience distilled Koha 3 Library Management System Savitra Sirohi Amit Gupta Chapter No.4 "Koha's Web Installer, Crontab, and Other Server Configurations" In this package,
Hadoop Hands-On Exercises
Hadoop Hands-On Exercises Lawrence Berkeley National Lab Oct 2011 We will Training accounts/user Agreement forms Test access to carver HDFS commands Monitoring Run the word count example Simple streaming
Installing Java. Table of contents
Table of contents 1 Jargon...3 2 Introduction...4 3 How to install the JDK...4 3.1 Microsoft Windows 95... 4 3.1.1 Installing the JDK... 4 3.1.2 Setting the Path Variable...5 3.2 Microsoft Windows 98...
Apache 2.0 Installation Guide
Apache 2.0 Installation Guide Ryan Spangler [email protected] http://ceut.uww.edu May 2002 Department of Business Education/ Computer and Network Administration Copyright Ryan Spangler 2002 Table of
Distributed Version Control
Distributed Version Control Faisal Tameesh April 3 rd, 2015 Executive Summary Version control is a cornerstone of modern software development. As opposed to the centralized, client-server architecture
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
Systems Programming & Scripting
Systems Programming & Scripting Lecture 14 - Shell Scripting: Control Structures, Functions Syst Prog & Scripting - Heriot Watt University 1 Control Structures Shell scripting supports creating more complex
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
INF-110. GPFS Installation
INF-110 GPFS Installation Overview Plan the installation Before installing any software, it is important to plan the GPFS installation by choosing the hardware, deciding which kind of disk connectivity
SAS 9.4 In-Database Products
SAS 9.4 In-Database Products Administrator s Guide Fifth Edition SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. SAS 9.4 In-Database Products:
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
Getting Started with Amazon EC2 Management in Eclipse
Getting Started with Amazon EC2 Management in Eclipse Table of Contents Introduction... 4 Installation... 4 Prerequisites... 4 Installing the AWS Toolkit for Eclipse... 4 Retrieving your AWS Credentials...
Hodor and Bran - Job Scheduling and PBS Scripts
Hodor and Bran - Job Scheduling and PBS Scripts UND Computational Research Center Now that you have your program compiled and your input file ready for processing, it s time to run your job on the cluster.
GRID Computing: CAS Style
CS4CC3 Advanced Operating Systems Architectures Laboratory 7 GRID Computing: CAS Style campus trunk C.I.S. router "birkhoff" server The CAS Grid Computer 100BT ethernet node 1 "gigabyte" Ethernet switch
Fundamentals of UNIX Lab 16.2.6 Networking Commands (Estimated time: 45 min.)
Fundamentals of UNIX Lab 16.2.6 Networking Commands (Estimated time: 45 min.) Objectives: Develop an understanding of UNIX and TCP/IP networking commands Ping another TCP/IP host Use traceroute to check
