From 6935a7abbdd5bb29833e142d49fd6892991f9221 Mon Sep 17 00:00:00 2001 From: Kaitlin Newson Date: Thu, 7 Sep 2023 16:37:57 -0300 Subject: [PATCH] fix indentation --- README.md | 2 -- index.md | 15 +++++++-------- learners/setup.md | 21 +++++++++++---------- 3 files changed, 18 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 0f2a56b3..d5688e32 100644 --- a/README.md +++ b/README.md @@ -46,5 +46,3 @@ Danielle Kane (Ed.), Anna Oates (Ed.), John Wright (Ed.), Nilani Ganeshwaran (Ed ## Checking and Previewing the Lesson To check and preview a lesson locally, see [the lesson infrastructure documentation](https://carpentries.github.io/sandpaper-docs/). - - diff --git a/index.md b/index.md index 07100221..5ab6fcda 100644 --- a/index.md +++ b/index.md @@ -3,18 +3,17 @@ site: sandpaper::sandpaper_site --- This Library Carpentry lesson introduces librarians to the Unix Shell. -At the conclusion of the lesson you will: describe the basics of the Unix shell; -explain why and how to use the command line; -use shell commands to work with directories and files; -use shell commands to find and manipulate data. +At the conclusion of the lesson you will be able to: + +- describe the basics of the Unix shell; +- explain why and how to use the command line; +- use shell commands to work with directories and files; +- use shell commands to find and manipulate data. :::::::::::::::::::::::::::::::::::::::::: prereq ## Prerequisites -To complete this lesson, you will need a Unix-like shell environment -see [Setup](learners/setup.md). You will also need to download the file **[shell-lesson.zip](https://raw.githubusercontent.com/librarycarpentry/lc-shell/gh-pages/data/shell-lesson.zip)** from GitHub to your *desktop* and extract it there (once you have unzipped/extracted the file, you should end up with a folder called "shell-lesson"). - +To complete this lesson, you will need a Unix-like shell environment (see [Setup](learners/setup.md)). You will also need to download the file **[shell-lesson.zip](https://raw.githubusercontent.com/librarycarpentry/lc-shell/gh-pages/data/shell-lesson.zip)** from GitHub to your *desktop* and extract it there (once you have unzipped/extracted the file, you should end up with a folder called "shell-lesson"). :::::::::::::::::::::::::::::::::::::::::::::::::: - - diff --git a/learners/setup.md b/learners/setup.md index c01046d9..ad888d6c 100644 --- a/learners/setup.md +++ b/learners/setup.md @@ -23,7 +23,7 @@ Windows users will need to install Git Bash to provide a Unix-like environment. - 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). -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](https://docs.microsoft.com/en-us/windows/wsl/install-win10). 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](https://www.putty.org/). + 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](https://docs.microsoft.com/en-us/windows/wsl/install-win10). 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](https://www.putty.org/). If you encounter issues, the Carpentries has a [Configuration Problems and Solutions wiki page](https://github.com/carpentries/workshop-template/wiki/Configuration-Problems-and-Solutions) that may help. @@ -39,17 +39,18 @@ You need to download some files to follow this lesson: 2. 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. 3. Open the terminal and type `ls` followed by the enter key. -```bash -$ ls -``` + ```bash + $ ls + ``` -You should see a list of files and folders in your current directory. -4\. Then type: + You should see a list of files and folders in your current directory. -```bash -$ pwd -``` +4. 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 in `shell-lesson` folder. + ```bash + $ pwd + ``` + + 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 in `shell-lesson` folder. ::::::::::::::::::::::::::::::::::::::::::::::::::