Difference between pages "Katie Miller" and "Tutorials/Tutorial: Beginning with the Shell"

From LCA2016 Delegate wiki
(Difference between pages)
Jump to: navigation, search
m
 
(Add link to example code.)
 
Line 1: Line 1:
'''Katie Miller'''
 
  
Facebook
+
== Prerequisites ==
 +
This is a tutorial, and has hands-on exercises for you to do to help understand the material presented.
 +
Please make sure that:
 +
* You can use a text editor (vi emacs nano gedit — I don't care)
 +
* You have a laptop with plenty of charge.  There will be some power available; I don't know how much.
 +
* You can get access to a Bourne compatible shell. Most machines will have <code>/bin/sh</code> as a link to a Bourne-compatible shell.  Such shells include:
 +
** dash
 +
** bash
 +
** ksh
  
Talk: [http://bfpg.github.io/fp-miniconf/talks/haskell-is-not-for-production-and-other-tales.html Haskell is Not For Production and Other Tales] @ the [http://bfpg.github.io/fp-miniconf/ Functional Programming MiniConf]
+
== Material ==
 +
We'll be using only standard commands &mdash; ''ls sed awk grep test'' etc.
 +
One non-standard command you may wish to install for the first exercise is sysvbanner. On Debian or Ubuntu do:
 +
apt-get install sysvbanner
  
* katie @ codemiller.com
+
It doesn't seem to be available for CentOS, but for RedHAT and Fedora you can do:
* [http://www.codemiller.com Web]
+
yum install banner
* [http://twitter.com/codemiller Twitter]
+
 
 +
To save time (and contention on the server at tutorial time) please grab
 +
  http://ssrg.nicta.com.au/Downloads/lca16/shell-tut-examples.tgz
 +
and unpack it with
 +
  tar xzvf shell-tut-examples.tgz
 +
 
 +
This will save you typing time, and provide the data files you need for the final exercises.

Revision as of 15:14, 27 January 2016

Prerequisites

This is a tutorial, and has hands-on exercises for you to do to help understand the material presented. Please make sure that:

  • You can use a text editor (vi emacs nano gedit — I don't care)
  • You have a laptop with plenty of charge. There will be some power available; I don't know how much.
  • You can get access to a Bourne compatible shell. Most machines will have /bin/sh as a link to a Bourne-compatible shell. Such shells include:
    • dash
    • bash
    • ksh

Material

We'll be using only standard commands — ls sed awk grep test etc. One non-standard command you may wish to install for the first exercise is sysvbanner. On Debian or Ubuntu do:

apt-get install sysvbanner

It doesn't seem to be available for CentOS, but for RedHAT and Fedora you can do:

yum install banner

To save time (and contention on the server at tutorial time) please grab

 http://ssrg.nicta.com.au/Downloads/lca16/shell-tut-examples.tgz

and unpack it with

 tar xzvf shell-tut-examples.tgz

This will save you typing time, and provide the data files you need for the final exercises.