Skip to content

Unix Tutorial Part 2: Shell Scripting

Jeanie Lim edited this page Sep 11, 2016 · 2 revisions

Progress http://swcarpentry.github.io/shell-novice/04-pipefilter/ http://swcarpentry.github.io/shell-novice/06-script/

Shell Scripting

We are finally ready to see what makes the shell such a powerful programming environment. We are going to take the commands we repeat frequently and save them in files so that we can re-run all those operations again later by typing a single command. For historical reasons, a bunch of commands saved in a file is usually called a shell script, but make no mistake: these are actually small programs.

We are going to write a shell script that runs a series of commands for a fixed set of files

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License by Software Carpentry.

Reference

| Previous Section | This Section | Next Section | |:------------------------------------:|:--------------------------:|:--------------------------------------------:| | Computing Environment | The Unix Shell Bootcamp | Submitting computing jobs to HPC using LSF|

Clone this wiki locally