The information in this repository supports a video series titled Using the Shell, which is based primarily on material provided by the Software Carpentry community under a creative commons license.
Using the shell consists of the following modules:
- Introduction to the shell (video)
- Navigating files and directories (video, challenges)
- Working with files and directories (video, challenges)
- Pipes and filters (in progress, challenges)
- Loops (in progress)
- Shell scripts (in progress)
- Finding things (in progress)
Before jumping in, you will need the shell lesson data and access to a terminal window. Prior exposure to the command line can be helpful but is not assumed for this series.
- If you are running Linux or Mac OS, you already have a terminal window installed on your system. You can find
terminal.app
in the/Applications/Utilities
folder. - Download the shell lesson data and unzip/move it into the directory where you would like to work.
-
If you are running Windows, you will need to do a little more work to access a terminal window. There are a few options to choose from:
-
Install Docker Desktop and start up a virtual machine made for this series by typing this command in the power shell:
docker run -it johnsonra/shell-novice
-
Install Git for Windows. This video might be helpful in helping you get Git for Windows set up.
-
Install Linux on your computer with WSL and install the Windows Terminal.
-
If you have access to a remote linux server, you can connect to it using the Secure Shell extension in a Chrome browser.
-
Google Cloud is a nice option. The free tier access to a Linux VM in the cloud should be sufficient for this series.
-
-
If you chose options 2 - 5, you will need to download the data (it comes preinstalled on the Docker image). Start up a terminal window and copy/paste the following commands into the terminal to fetch the data we will be using:
wget https://swcarpentry.github.io/shell-novice/data/shell-lesson-data.zip
unzip shell-lesson-data.zip