Tutorials/Tutorial: Beginning with the Shell

From LCA2016 Delegate wiki
Revision as of 10:12, 27 January 2016 by Peter.chubb@nicta.com.au (Talk | contribs) (Created page with " == 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...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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