Summary and Schedule
This is a new lesson built with The Carpentries Workbench.
Setup Instructions | Download files required for the lesson | |
Duration: 00h 00m | 1. Introduction |
what will the workshop cover? how will the workshop work? why are open practices important for the humanities? |
Duration: 00h 30m | 2. Jargon Busting | What terms, phrases, or ideas around code or software development have you come across and feel you should know better? |
Duration: 01h 15m | 3. Hello Open Source | what is open source |
Duration: 02h 15m | 4. Getting Ready for the Next step | what tools will we use in this workshop? |
Duration: 02h 45m | 5. What is the shell? |
What is the shell? What is the command line? Why should I use it? |
Duration: 02h 50m | 6. Navigating the filesystem | How do you move around the filesystem in the shell? |
Duration: 03h 20m | 7. Working with files and directories |
How can I copy, move, and delete files and directories? How can I read files? |
Duration: 03h 50m | 8. Automating the tedious with loops |
What is a loop? How can a loop be used to repeat a task? |
Duration: 04h 20m | 9. Counting and mining with the shell |
How can I count data? How can I find data within files? How can I combine existing commands to do new things? |
Duration: 05h 50m | 10. Working with free text | How do we work with complex files? |
Duration: 06h 50m | 11. What is Git/GitHub? |
What is Git? What is GitHub? |
Duration: 07h 00m | 12. Getting started with Git |
What are repositories and how are they created? What do add and commit mean?How do I check the status of my repository? |
Duration: 07h 25m | 13. Sharing your work |
How can I use Git and GitHub to share my work? How do I link a local Git repository to GitHub? How do I move changes between a local Git repository and a GitHub repository? How can I see the differences between my current file and my most recent commit? |
Duration: 08h 40m | 14. Review | How can I cement my understanding of Git’s functions? |
Duration: 09h 05m | 15. GitHub Pages |
What is GitHub Pages? How can I use GitHub Pages to collaborate and share my work? |
Duration: 09h 40m | Finish |
The actual schedule may vary slightly depending on the topics and exercises chosen by the instructor.
Software Setup
Details
We will have time to do the setup, at least most of it, during the workshop.
The only thing that must be completed before the first day is to have a GitHub Account.
Shell
To participate in this Library Carpentry lesson, you will need a working Unix-like shell environment. We will be using Bash (Bourne Again Shell) which is standard on Linux and macOS. Some macOS users (Catalina or later) will have zsh (Z shell) as their default version. Even if you are a Windows user, learning Bash will open up a powerful set of tools on your personal machine, and familiarize you with the standard remote interface used on most servers and supercomputers.
Terminal Setup
Bash is the default shell on most Linux distributions and older versions of macOS. Windows users will need to install Git Bash to provide a Unix-like environment.
`{tab-item} ### Windows
On Windows, CMD or PowerShell
are normally available as the default shell environments. These use a
syntax and set of applications unique to Windows systems and are
incompatible with the more widely used Unix utilities. However, a Bash
shell can be installed on Windows to provide a Unix-like environment.
For this lesson we suggest using Git Bash, part of the >Git for Windows package:
- Download the latest Git for Windows installer.
- Double click the
.exe
file to run the installer (for example,Git-2.42.0.2-64-bit.exe
) using the default settings. - Once installed, open the shell by selecting Git Bash from the start menu (in the Git folder).
{tab-item} ### Linux ``` The default shell is usually Bash, but if your machine is set up differently you can run it by opening a terminal and typing `bash` followed by the <kbd>enter</kbd> key. There is no need to install anything. Look for Terminal in your applications to start the Bash shell. ```
{tab-item} ### Mac OS ``` Open Terminal from `/Applications/Utilities` or Spotlight Search. In versions before Catalina, Bash is the default shell, so you do not need to do anything further. In Catalina and onwards, the default shell is zsh, which is similar but may behave differently from Bash in some cases. To switch to Bash, enter the command `bash` in your terminal window followed by the <kbd>enter</kbd> key. ```
If you encounter issues, the Carpentries has a Configuration Problems and Solutions wiki page that may help.
- Windows: There are also some more advanced solutions available for running Bash commands on Windows. A Bash shell command-line tool is available for Windows 10, which you can use if you enable the Windows Subsystem for Linux. You can also run Bash commands on a remote computer or server that already has a Unix Shell from your Windows machine. This can be done through a Secure Shell (SSH) client. One client available for free for Windows is PuTTY.
Data Files
You need to download some files to follow this lesson:
Download shell-lesson.zip and move the file to your Desktop.
Unzip/extract the file (ask your instructor if you need help with this step). You should end up with a new folder called
shell-lesson
on your Desktop.-
Open the terminal and type
ls
followed by the enter key.You should see a list of files and folders in your current directory.
-
Then type:
This command will show you where you are in your file system, which should now be your home directory. In the lesson, you will find out more about the commands
ls
,pwd
and how to work with the data inshell-lesson
folder.
`{tab-item} ### Windows
{tab-item} ### Linux ``` ```
{tab-item} ### Mac OS ``` ```