Unix Shell

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.

Schedule

Setup Download files required for the lesson
09:30 1. Course Logistics and Getting to know people Who are you?
Who are we?
Where are we going? 🧭
10:00 2. Introducing the Shell What is a command shell and why would I use one?
10:15 3. 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?
10:55 4. BREAK 🥤 Coffee or 🫖 Tea?
11:10 5. Working With Files and Directories How can I create, copy, and delete files and directories?
How can I edit files?
11:55 6. Pipes and Filters How can I combine existing commands to do new things?
12:30 7. LUNCH 🥪 🍕 🍩 🫖 Hunt or Gather?
13:30 8. Loops How can I perform the same actions on many different files?
14:05 9. Shell Scripts How can I save and re-use commands?
14:50 10. Shell Variables How are variables set and accessed in the Unix shell?
15:00 11. BREAK 🥤 Coffee or 🫖 Tea?
15:15 12. Finding Things How can I find files?
How can I find things in files?
16:00 13. Working Remotely How do I use ‘ssh’ and ‘scp’ ?
16:10 14. Permissions Understanding file/directory permissions
16:20 15. 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?
16:25 Finish

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