Kleine Linux-Tricks - schneller ohne Aufwand

Size: px
Start display at page:

Download "Kleine Linux-Tricks - schneller ohne Aufwand"

Transcription

1 Uli Martens AIXpertenrunde

2 Übersicht

3 hotkeys ALT-T exchange two arguments under the cursor (bash only) CTRL-T exchange two characters under the cursor (bash only) CTRL-L redraw screen / clean screen CTRL-R search backwards in the history CTRL-D send an EOF - exit the

4 Redirection doesn t need to be at the end of a command: $ echo a b >c $ echo >c a b $ >c echo a b $ cat <a $ <a cat $ <a sort >b

5 - applied Place the filename at the beginning of the line to allow easier editing of command arguments: $ </var/log/messages grep scsi $ </var/log/messages grep disk $ </var/log/messages grep sdb Creating and reading files is -specific: bash$ >filename # creates an empty file zsh$ >filename # same as cat >filename zsh$ :>filename # creates an empty file zsh$ <filename # show a file in the pager

6 sponge - write input to file (sponge is included in the moreutils debian package) $ cat testfile Lorem ipsum dolor sit amet, consetetur... $ sort < testfile > testfile $ cat testfile $ $ echo lorem ipsum > testfile $ sort < testfile sponge testfile $ cat testfile lorem ipsum $

7 pathname expansion shortcuts (zsh only) $ cd ~log cd: no such file or directory: ~log $ hash -d log=/var/log $ cd ~log $ pwd /var/log $

8 $ cat ~/. ls= ls --color=auto dir= ls -bcafl grep= grep --color=auto insec= -o "StrictHostKeyChecking=no" \ -o "UserKnownHostsFile=/dev/null" un rm unik= -ne "print unless \$seen{\$_}++" ltree () { tree -C less -r ; }

9 unik - uniq for unsorted input -ne "print unless $seen{$ }++" $ cat call.log $ unik call.log $

10 on the command line $ -e print sort {length($a)<=>length($b) or $a cmp $b} <> <~/.histfile [...] $ echo 00:15:58:0a:40:00 -F: -ane \ print join(".", map { hex($_) $

11 virtual hosts $ -i ~/./key/belfor.tis.key -p l test \ $ belfor.tis host belfor.tis user test hostname port 2222 identityfile ~/./key/belfor.tis.key ServerAliveInterval 180

12 firewalled hosts $ : connect to : Connection refused $ belfor.wfb host belfor.wfb user root proxycommand \ nc

13 firewalled hosts host1$ hostb hello world host1$ hostb$ cat ~/./authorized_keys no-port-forwarding,no-x11-forwarding,no-agent-forwarding,\ no-pty,command="echo hello world" -rsa AAAAB... hostb$

14 misc usefull dstat resource statistics file show file type of a file hexdump show a hex dump of a file lftp command line file transfer tool for ftp,http,sftp,... pstree show a tree structure of running processes screen terminal multiplexer script record a session vimdiff edit two or three files side by side

UNIX Commands. COMP 444/5201 Revision 1.4 January 25,

UNIX Commands. COMP 444/5201 Revision 1.4 January 25, UNIX Commands COMP 444/5201 Revision 1.4 January 25, 2005 1 Contents Shell Intro Command Format Shell I/O Command I/O Command Overview 2 Shell Intro A system program that allows a user to execute: shell

More information

Using the Command-Line Interface

Using the Command-Line Interface CHAPTER 1 The command-line interface (CLI) is a line-oriented user interface that provides commands for configuring, managing, and monitoring the Cisco wireless LAN controller. This chapter contains the

More information

Unix Sampler. PEOPLE whoami id who

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

More information

An Introduction to the Linux Command Shell For Beginners

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

More information

Linux Commands. Dr. Hyrum D. Carroll. August 25, 2016

Linux Commands. Dr. Hyrum D. Carroll. August 25, 2016 Linux Commands Dr. Hyrum D. Carroll August 25, 2016 Quiz Linux Commands Linux Commands I (review) man ls cd touch cp mv rm mkdir rmdir Linux Commands I (review) man - show manual for a command, example:

More information

Raspbian (Linux) VNC Linux History Overview Shell Commands File system

Raspbian (Linux) VNC Linux History Overview Shell Commands File system Raspbian (Linux) VNC Linux History Overview Shell Commands File system A new way to connect the Pi: VNC http://quaintproject.wordpress.com/2013/03/24/establish-a-vnc-connection-to-you r-raspberry-pi-from-a-linux-pc

More information

Command Line Crash Course For Unix

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

More information

Unix. File system and Command-Interpreter (shell)

Unix. File system and Command-Interpreter (shell) Unix. File system and Command-Interpreter (shell) Concepts Absolute and relative filenames, path, file permissions, owner, links, device independence, redirection, pipes, filters. Description The Unix

More information

Basic Linux & Package Management. Original slides from GTFO Security

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

More information

Linux commands 12 th Sept. 07 By Fabian

Linux commands 12 th Sept. 07 By Fabian Advanced Systems and Network Course @ UCC Linux commands 12 th Sept. 07 By Fabian 1 Overview UNIX Linux Simple Linux commands Linux text editors 2 UNIX UNIX is an operating system, originally written at

More information

CS 2112 Lab: Version Control

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

More information

Internet Traffic Measurements. Shell Scripts. School of Electrical Engineering AALTO UNIVERSITY

Internet Traffic Measurements. Shell Scripts. School of Electrical Engineering AALTO UNIVERSITY Internet Traffic Measurements Shell Scripts School of Electrical Engineering AALTO UNIVERSITY Page 1 Contents What is a shell script?... 2 Useful Linux commands... 2 Useful commands for data manipulation...

More information

The Linux Operating System and Linux-Related Issues

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

More information

Thirty Useful Unix Commands

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

More information

Command Line - Part 1

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

More information

Lab Manual. Unix and Linux Programming (Pr) COT-218 and IT-214

Lab Manual. Unix and Linux Programming (Pr) COT-218 and IT-214 Lab Manual Unix and Linux Programming (Pr) COT-218 and IT-214 Lab Instructions Several practicals / programs? Whether an experiment contains one or several practicals /programs One practical / program

More information

Shell Programming. ls -lt /usr/share/man/man1/$1.1. troff -man /usr/share/man/man1/$1.1 > t2 echo..done troff. ls -lt /usr/share/man/man1/$1.

Shell Programming. ls -lt /usr/share/man/man1/$1.1. troff -man /usr/share/man/man1/$1.1 > t2 echo..done troff. ls -lt /usr/share/man/man1/$1. Shell Programming Examples of simple shell scripts: man2pdf : converts a man page to pdf ls -lt /usr/share/man/man1/$1.1 troff -man /usr/share/man/man1/$1.1 > t2 echo..done troff cat t2 dpost > t3 echo..done

More information

LSN 10 Linux Overview

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

More information

Using Linux Six rules of thumb in using Linux EVERYTHING ls -l ls /bin ctrl-d Linux Kernel Shell Command Interpretation shell myfile myfile

Using Linux Six rules of thumb in using Linux EVERYTHING ls -l ls /bin ctrl-d Linux Kernel Shell Command Interpretation shell myfile myfile Using Linux In this section we cover some background Linux concepts including some general rules of thumb when using Linux, the operating system kernel, the shell command interpreter, and the file system.

More information

Getting Start with Unix and Linux

Getting Start with Unix and Linux Getting Start with Unix and Linux Installing Linux (Assisted by TA) Introducing Unix/Linux commands Get Familiar with the following commands: 1. Connecting to the Linux 2. Logging in/out and Changing your

More information

LING 408/508: Programming for Linguists. Lecture 4 September 2 nd

LING 408/508: Programming for Linguists. Lecture 4 September 2 nd LING 408/508: Programming for Linguists Lecture 4 September 2 nd Administrivia Did people manage to install Ubuntu as a guest OS inside VirtualBox? (We'll try to reserve a bit of 0me at the end.) Today

More information

Tutorial 0A Programming on the command line

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

More information

Unix/Linux basics Operating systems lab Gergely Windisch room 4.12

Unix/Linux basics Operating systems lab Gergely Windisch room 4.12 Unix/Linux basics 0001 Operating systems lab Gergely Windisch windisch.gergely@nik.bmf.hu room 4.12 http://nik.bmf.hu/gwindisch/os_2010 And now: the test Assignment test 20 minutes Grade together Is of

More information

Beyond Windows: Using the Linux Servers and the Grid

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

More information

Using the Shell. UIC Linux Users Group. September 9, 2010

Using the Shell. UIC Linux Users Group. September 9, 2010 September 9, 2010 About the Presenter Hold Your Comments Alias: eviljoel (or ej) Name: Joel Luellwitz 7 Years of Linux Experience. UIC Alumni Management Information Systems Masters from the CBA. Works

More information

Answers to Even-Numbered Exercises

Answers to Even-Numbered Exercises 28 Answers to Even-Numbered Exercises 1. Rewrite the journal script of Chapter 9 (question 5, page 340) by adding commands to verify that the user has write permission for a le named journal-le in the

More information

Unix Guide. Logo Reproduction. School of Computing & Information Systems. Colours red and black on white backgroun

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

More information

Which shell? Shells. Common shell facilities. bash versus sh

Which shell? Shells. Common shell facilities. bash versus sh Shells A shell is a command line interpreter that is the interface between the user and the OS. The shell: analyzes each command determines what actions are to be performed performs the actions Example:

More information

UNIX - USEFUL COMMANDS

UNIX - USEFUL COMMANDS UNIX - USEFUL COMMANDS http://www.tutorialspoint.com/unix/unix-useful-commands.htm Copyright tutorialspoint.com This quick guide lists commands, including a syntax and brief description. For more detail,

More information

Unix tutorial. Introduction to Unix. VI, March Page 1

Unix tutorial. Introduction to Unix.  VI, March Page 1 Unix tutorial Introduction to Unix http://linux.oreilly.com/ Page 1 Unix tutorial Outline Basic background in Unix structure Directories and files I (listing, navigation, filenames) Directories and files

More information

Answers to Even-numbered Exercises

Answers to Even-numbered Exercises 11 Answers to Even-numbered Exercises 1. 2. The special parameter "$@" is referenced twice in the out script (page 442). Explain what would be different if the parameter "$* " were used in its place. If

More information

AWS running first C++ program

AWS running first C++ program AWS running first C++ program This document describes how edit, compile, link, and run your first linux program using: - Terminal a command line interface to your linux os - Emacs a popular ide for linux

More information

Monitoring a Linux Mail Server

Monitoring a Linux Mail Server Monitoring a Linux Mail Server Mike Weber mweber@spidertools.com] Various Methods to Monitor Mail Server Public Ports SMTP on Port 25 POPS on Port 995 IMAPS on Port 993 SNMP Amavis on Port 10024 Reinjection

More information

4PSA Total Backup 3.0.0. User's Guide. for Plesk 10.0.0 and newer versions

4PSA Total Backup 3.0.0. User's Guide. for Plesk 10.0.0 and newer versions 4PSA Total Backup 3.0.0 for Plesk 10.0.0 and newer versions User's Guide For more information about 4PSA Total Backup, check: http://www.4psa.com Copyright 2009-2011 4PSA. User's Guide Manual Version 84359.5

More information

Utilities (ch 3) Outline. Special Characters. Special Characters. Special Characters. Special Characters

Utilities (ch 3) Outline. Special Characters. Special Characters. Special Characters. Special Characters Utilities (ch 3) IT244 - Introduction to Linux / Unix Instructor: Bo Sheng Outline Special characters in Linux/Unix Basic utilities Display / copy / delete files Sort / search in files Compare files, obtain

More information

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

More information

Západočeská univerzita v Plzni. Virtual machines manager

Západočeská univerzita v Plzni. Virtual machines manager Západočeská univerzita v Plzni Fakulta aplikovaných věd Katedra informatiky a výpočetní techniky Virtual machines manager Team semester work in subject Operating systems Team contact: kalwi@students.zcu.cz

More information

Filtering Tools. Filtering Tools and a Bit More About I/O Redirection

Filtering Tools. Filtering Tools and a Bit More About I/O Redirection Filtering Tools Filtering Tools and a Bit More About I/O Redirection Copyright 2006 2009 Stewart Weiss Input redirection operator < The input redirection operator '

More information

INASP: Effective Network Management Workshops

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

More information

vcenter Server Appliance Configuration

vcenter Server Appliance Configuration vsphere 6.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document,

More information

The Basics of the bash shell

The Basics of the bash shell The Basics of the bash shell Phil Spector September 4, 2009 The bash shell is the program that Linux and Mac systems use to actually communicate with the computer. When you type a command into the shell,

More information

San Francisco State University School of Engineering Nano-electronics & Computing Research Center BASIC UNIX/LINUX COMMANDS

San Francisco State University School of Engineering Nano-electronics & Computing Research Center BASIC UNIX/LINUX COMMANDS San Francisco State University School of Engineering Nano-electronics & Computing Research Center BASIC UNIX/LINUX COMMANDS Introduction A short paper that briefly describes the UNIX shell, environment

More information

Introduction to Mac OS X

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

More information

Lab 2: Implementing a Shell COMPSCI 310: Introduction to Operating Systems

Lab 2: Implementing a Shell COMPSCI 310: Introduction to Operating Systems Lab 2: Implementing a Shell COMPSCI 310: Introduction to Operating Systems 1 Shells are cool Unix [2] embraces the philosophy: Write programs that do one thing and do it well. Write programs to work together.

More information

Linux Directory Structure

Linux Directory Structure Linux Directory Structure When you open any file manager in the "tree" mode, you should see a similar file structure. /: is the beginning of the file system, better known as "root." This is where everything

More information

Laboratory Manual. For OPERATING SYSTEM (140702) B.E. (COMPUTER) SEM IV. January 2013

Laboratory Manual. For OPERATING SYSTEM (140702) B.E. (COMPUTER) SEM IV. January 2013 Laboratory Manual For OPERATING SYSTEM (140702) B.E. (COMPUTER) SEM IV January 2013 Shree Swami Atmanand Saraswati Institute of Technology Shree Swami Atmanand Vidya Sankul, Kapodra, Varachha Road, Surat

More information

Introduction to Operating Systems

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

More information

Linux Shells. Linux Shells. Book Chapter 5. What is a shell? Examples: Linux default shell /bin/bash. How do I know what shell I am running?

Linux Shells. Linux Shells. Book Chapter 5. What is a shell? Examples: Linux default shell /bin/bash. How do I know what shell I am running? Linux Shells Book Chapter 5 What is a shell? Examples: bash Bourne Again shell ksh tcsh Korn shell C shell 1 Linux Shells Linux default shell /bin/bash How do I know what shell I am running? echo $SHELL

More information

Running your first Linux Program

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

More information

Intro to Linux. Advanced Genomics & Bioinformatics Workshop. James Oguya Nairobi, Kenya August, 2016

Intro to Linux. Advanced Genomics & Bioinformatics Workshop. James Oguya Nairobi, Kenya August, 2016 Intro to Linux Advanced Genomics & Bioinformatics Workshop James Oguya Nairobi, Kenya August, 2016 What is 'Linux'? Linux is free & open source operating system originally developed for personal computers

More information

JUNOS Command Line Interface. Copyright 2003 Juniper Networks, Inc. www.juniper.net 1

JUNOS Command Line Interface. Copyright 2003 Juniper Networks, Inc. www.juniper.net 1 JUNOS Command Line Interface Copyright 2003 Juniper Networks, Inc. www.juniper.net 1 Agenda Command-Line Interface Logging-In & Editing Interpret Output & Getting Help CLI Configuration Moving around Hierarchy

More information

Command-Line Operations : The Shell. Don't fear the command line...

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

More information

CPSC2800: Linux Hands-on Lab #3 Explore Linux file system and file security. Project 3-1

CPSC2800: Linux Hands-on Lab #3 Explore Linux file system and file security. Project 3-1 CPSC2800: Linux Hands-on Lab #3 Explore Linux file system and file security Project 3-1 Linux support many different file systems that can be mounted using the mount command. In this project, you use the

More information

Open Source Computational Fluid Dynamics

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

More information

An A-Z Index of the Apple OS X command line (TERMINAL) The tcsh command shell of Darwin (the open source core of OSX)

An A-Z Index of the Apple OS X command line (TERMINAL) The tcsh command shell of Darwin (the open source core of OSX) An A-Z Index of the Apple OS X command line (TERMINAL) The tcsh command shell of Darwin (the open source core of OSX) alias alloc awk Create an alias List used and free memory Find and Replace text within

More information

Hadoop Hands-On Exercises

Hadoop Hands-On Exercises Hadoop Hands-On Exercises Lawrence Berkeley National Lab July 2011 We will Training accounts/user Agreement forms Test access to carver HDFS commands Monitoring Run the word count example Simple streaming

More information

Security Workshop. Apache + SSL exercises in Ubuntu. 1 Install apache2 and enable SSL 2. 2 Generate a Local Certificate 2

Security Workshop. Apache + SSL exercises in Ubuntu. 1 Install apache2 and enable SSL 2. 2 Generate a Local Certificate 2 Security Workshop Apache + SSL exercises in Ubuntu Contents 1 Install apache2 and enable SSL 2 2 Generate a Local Certificate 2 3 Configure Apache to use the new certificate 4 4 Verify that http and https

More information

PY3C01 Part II: Computational methods

PY3C01 Part II: Computational methods PY3C01 Part II: Computational methods lectures, Tuesday 9-10AM weeks 5-11 and 13-16. hands on session, Friday 2-4PM weeks 7,8,14,15 Lecturer: Dr Thomas Archer Office: Lloyd 221 Phone: 8455 E-mail: archert@tcd.ie

More information

The structure of Linux. Joachim Jacob 8 and 15 November 2013

The structure of Linux. Joachim Jacob 8 and 15 November 2013 The structure of Linux Joachim Jacob 8 and 15 November 2013 Meet your Linux system We'll see how a Linux system is organised into folders into files into partitions Meet your Linux system Follow a along:

More information

Session 2: Shell Scripting

Session 2: Shell Scripting Session 2: Shell Scripting Craig A. Struble, Ph.D. July 14, 2010 1 Introduction Shell scripts are a way to automate the execution of a series of Linux commands. Essentially, any command you can run from

More information

CMSC 216 UNIX tutorial Fall 2010

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

More information

Navigating within the GNU/Linux Filesystem

Navigating within the GNU/Linux Filesystem Navigating within the GNU/Linux Filesystem The purpose of this section is to provide a few basic GNU/Linux commands to aide new users locate areas on the ODU Turing cluster. The commands presented are

More information

Module Eight Shell Scripting in Linux

Module Eight Shell Scripting in Linux Postgraduate course, Covenant University Ota, Nigeria Oyelade, O. J., PhD ola.oyelade@covenantuniversity.edu.ng Isewon, I. itunu.isewon@covenantuniversity.edu.ng Module Eight Shell Scripting in Linux 8.1

More information

1. The UNIX Architecture

1. The UNIX Architecture Chapter 2. The UNIX Architecture and Command Usage Introduction In order to understand the subsequent chapters, we first need to understand the architecture of UNIX and the concept of division of labor

More information

Steve Crouch, Mike Jackson, The Software Sustainability Institute. Steve McGough, Newcastle University.

Steve Crouch, Mike Jackson, The Software Sustainability Institute. Steve McGough, Newcastle University. Bash Shell Key Points ===================== Steve Crouch, Mike Jackson, The Software Sustainability Institute. Steve McGough, Newcastle University. This work is licensed under the Creative Commons Attribution

More information

Project Proposal. Windshield. Windows Shell Script. Columbia University COMS W4115 Programming Languages and Translators Spring 2007

Project Proposal. Windshield. Windows Shell Script. Columbia University COMS W4115 Programming Languages and Translators Spring 2007 Project Proposal Windshield Winws Shell Script Columbia University COMS W4115 Programming Languages and Translators Spring 2007 Prof. Stephen A. Edwards Team members Wei-Yun Ma wm2174 wm2174@columbia.edu

More information

A UNIX/Linux in a nutshell

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

More information

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

More information

High-Performance Computing: Linux

High-Performance Computing: Linux High-Performance Computing: Linux Adrian F. Clark: alien@essex.ac.uk 2015 16 Adrian F. Clark: alien@essex.ac.uk High-Performance Computing: Linux 2015 16 1 / 23 What is Linux? Linux is a version of Unix,

More information

SFTP SHELL SCRIPT USER GUIDE

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

More information

Answers to Even- Numbered Exercises

Answers to Even- Numbered Exercises Answers to Even- 5 Numbered Exercises from page 163 1. What does the shell ordinarily do while a command is executing? What should you do if you do not want to wait for a command to finish before running

More information

your Apple warranty; see http://www.drivesavers.com/. There are two main failure modes for a mirrored RAID 1 set:

your Apple warranty; see http://www.drivesavers.com/. There are two main failure modes for a mirrored RAID 1 set: 48981c03.qxd 12/6/07 8:56 PM Page 142 142 File Systems RAID set creation takes only a few moments, and once it s complete, you should see new RAID set volume in the Disk Utility list and in the Finder.

More information

Linux command line. An introduction to the Linux command line for genomics

Linux command line. An introduction to the Linux command line for genomics Linux command line An introduction to the Linux command line for genomics Exercise 1 1.1 Opening PuTTY 1.1.1 On the desktop, double click on the shortcut icon for Life Sciences and Medicine 1.1.2 Double

More information

List of FTP commands for the Microsoft command-line FTP client

List of FTP commands for the Microsoft command-line FTP client You are on the nsftools.com site This is a list of the commands available when using the Microsoft Windows command-line FTP client (requires TCP/IP to be installed). All information is from the Windows

More information

Hadoop Hands-On Exercises

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

More information

Linux Overview. The Senator Patrick Leahy Center for Digital Investigation. Champlain College. Written by: Josh Lowery

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

More information

This is Lab Worksheet 4 - not an Assignment

This is Lab Worksheet 4 - not an Assignment This is Lab Worksheet 4 - not an Assignment This Lab Worksheet contains some practical examples that will prepare you to complete your Assignments. You do not have to hand in this Lab Worksheet. Make sure

More information

Lab III: Unix File Recovery Data Unit Level

Lab III: Unix File Recovery Data Unit Level New Mexico Tech Digital Forensics Fall 2006 Lab III: Unix File Recovery Data Unit Level Objectives - Review of unallocated space and extracting with dls - Interpret the file system information from the

More information

CIS18A: Introduction to Linux/Unix CLASSROOM ATC 204

CIS18A: Introduction to Linux/Unix CLASSROOM ATC 204 College academic Calendar: Winter 2015 http://deanza.fhda.edu/calendar/winterdates.html Instructor Information CIS18A: Introduction to Linux/Unix CLASSROOM ATC 204 WINTER 2015 : Section INFO: 00444 CIS

More information

Linux System Administration on Red Hat

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,

More information

Introduction to Unix. Unix tutorial. Unix tutorial. Outline. Basic background in Unix structure

Introduction to Unix. Unix tutorial. Unix tutorial. Outline.  Basic background in Unix structure Unix tutorial Introduction to Unix http://linux.oreilly.com/ Page 1 Unix tutorial Outline Basic background in Unix structure Directories and files I (listing, navigation, filenames) Directories and files

More information

Hands-On UNIX Exercise:

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

More information

Beginners Shell Scripting for Batch Jobs

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

More information

An introduction to Linux for bioinformatics

An introduction to Linux for bioinformatics 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

More information

Linux System Administration

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

More information

vcenter Server Appliance Configuration

vcenter Server Appliance Configuration Update 1 vsphere 6.0 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of

More information

Shell Scripting Crash Course

Shell Scripting Crash Course Shell Scripting Crash Course Travis Phillips JAX LUG Overview What is a shell script What can I do with a shell script How to build shell scripts Syntax basics Basic useful shell commands Pipes and redirectors

More information

The lab assumes registration for a LinuxONE Community Cloud Linux and ssh login is complete.

The lab assumes registration for a LinuxONE Community Cloud Linux and ssh login is complete. Welcome to LinuxONE This lab is designed to provide critical Linux environment information available to those relatively new to Linux. The lab assumes registration for a LinuxONE Community Cloud Linux

More information

Introduction to Operating Systems

Introduction to Operating Systems Introduction to Operating Systems This sections provides a brief introduction to Windows XP Professional and Knoppix-STD Security Essentials Cookbook 2005 SANS It is important that you familiarize yourself

More information

Chapter 8: Shell Scripting. Chapter 8 Shell Scripting

Chapter 8: Shell Scripting. Chapter 8 Shell Scripting Chapter 8: Shell Scripting Chapter 8 Shell Scripting Last revised: 20/6/2004 Chapter 8 Outline In this chapter we will learn how to: Create shell scripts Use variables and environment variables Pass parameters

More information

Introduction to Linux Basics

Introduction to Linux Basics Introduction to Linux Basics Part-II Shell Scripting Georgia Advanced Computing Resource Center University of Georgia Zhuofei Hou, HPC Trainer zhuofei@uga.edu Outline What is GACRC? What are Linux Shell

More information

NOTE: The real exam has 6 parts (very similar to this Review) and it is of similar length and a difficulty level. It goes for 90 marks.

NOTE: The real exam has 6 parts (very similar to this Review) and it is of similar length and a difficulty level. It goes for 90 marks. REVIEW TEST for ULI101 QUESTIONS PART A MULTIPLE CHOICE 16 MARKS PART B MATCHING 10 MARKS PART C UNIX COMMANDS 20 MARKS PART D SHORT ANSWERS and VI 12 MARKS PART E FILE MANAGEMENT 18 MARKS PART F SCRIPTING

More information

Introduction to Shell Scripting

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.

More information

Basic Linux Skills. oh, cool

Basic Linux Skills. oh, cool Basic Linux Skills oh, cool 1 who am i? i m cyle i m a systems developer and architect i use linux all day every day i like this kind of stuff 2 why use linux? specifically, a no-gui linux it s fast. so

More information

CLC Server Command Line Tools USER MANUAL

CLC Server Command Line Tools USER MANUAL CLC Server Command Line Tools USER MANUAL Manual for CLC Server Command Line Tools 2.5 Windows, Mac OS X and Linux September 4, 2015 This software is for research purposes only. QIAGEN Aarhus A/S Silkeborgvej

More information

CompTIA Linux + Certification Week 9 Projects

CompTIA Linux + Certification Week 9 Projects CompTIA Linux + Certification Week 9 Projects Project 9-1 In this hands- on project, you view characteristics of processes using the ps command. 1. Turn on your computer. After your Linux system has loaded,

More information

Chapter 1. Backup service

Chapter 1. Backup service The current backup policy is a two-step process. First, all hosts run a daily and/or weekly shell script in cron that creates one (or more) compressed tar files with the relevant content to be stored as

More information

UNIX LAB MANUAL. Purpose: Since many of the labs will require knowledge of Unix/Linux, we have included some useful background information.

UNIX LAB MANUAL. Purpose: Since many of the labs will require knowledge of Unix/Linux, we have included some useful background information. UNIX LAB MANUAL Unix Background Information Purpose: Since many of the labs will require knowledge of Unix/Linux, we have included some useful background information. Unix-Linux History In order to understand

More information

Astronomy 480 Linux II Tutorial

Astronomy 480 Linux II Tutorial Astronomy 480 Linux II Tutorial A BRIEF REVIEW Changing Directories Using Command Lines within a Terminal You can tell where you are in the directory structure by typing pwd which is an abbreviation for

More 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 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

More information