Extra Unix Shell Material

Software Carpentry’s Introduction to the Unix Shell describes the history of the shell, basic commands, and some of the philosophy that makes it such a powerful tool. This lesson aims to supplement the material in that lesson with short topical lessons on particular shell features that are useful to researchers.

Prerequisites

All of this material assumes that learners have mastered the basic Unix shell lesson.

Schedule

Setup Download files required for the lesson
00:00 1. Advanced Shell Scripting How do I use if statements?
Can I add date to filenames in bash script?
Can I use file attributes like image size or properties to filter files?
01:00 2. Working Remotely How do I use ‘ssh’ and ‘scp’ ?
01:30 3. Running Bash Scripts on an HPC Cluster How do I run a bash script on a HPC cluster ?
02:00 4. Permissions Understanding file/directory permissions
02:10 5. Directory structure Understanding the concept of Unix directory structure
02:15 6. Job control How do keep track of the process running on my machine?
Can I run more than one program/script from within a shell?
02:20 7. Aliases and bash customization How do I customize my bash environment?
02:30 8. Shell Variables How to change shell variables
02:40 9. The Unix Shell
02:40 10. Transferring Files How to use wget, curl and lftp to transfer file?
02:50 Finish

The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.