Difference between revisions of "Tutorials/Tutorial: Beginning with the Shell"

From LCA2016 Delegate wiki
Jump to: navigation, search
(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...")
 
m (Prerequisites)
Line 4: Line 4:
 
Please make sure that:
 
Please make sure that:
 
* You can use a text editor (vi emacs nano gedit — I don't care)
 
* 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:
 
* 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
 
** dash

Revision as of 10:13, 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