RSS @ University of Bath: Introducing the Shell

The Unix Shell

The Unix shell has been around longer than most of its users have been alive. It has survived so long because it's a power tool that allows people to do complex things with just a few keystrokes. More importantly, it helps them combine existing programs in new ways and automate repetitive tasks so they aren't typing the same things over and over again. Use of the shell is fundamental to using a wide range of other powerful tools and computing resources (including "high-performance computing" supercomputers). These lessons will start you on a path towards using these resources effectively.

The following workshop is an introduction to the shell provided by the Research Software Skills team and the Research Computing team from the University of Bath, derived from the Software Carpentry lesson of the same name, under CC BY 4.0.

Schedule

Approximate timings for the lesson:

Time Episode Description
0:00 Getting Set-Up Setting up for the Workshop
0:05 Introducing the shell What is a command shell and why would I use one?
0:15 Navigating Files and Directories How can I move around on my computer?
- - How can I see what files and directories I have?
- - How can I specify the location of a file or directory on my computer?
0:45 Working with Files and Directories How can I create, copy, and delete files and directories?
- - How can I edit files?
1:35 Pipes and Filters How can I combine existing commands to do new things?
2:10 Loops How can perform the same actions on many different files
3:00 Shell Scripts How can I save and reuse commands
4:30 Finish