From da9e3819db1265be15365bd0106fe1073017b478 Mon Sep 17 00:00:00 2001 From: Natalie Elphick Date: Mon, 11 Mar 2024 11:26:48 -0700 Subject: [PATCH] fix slide on which shell to use --- docs/Intro_to_Unix_Part_1.html | 15 +++++++++------ intro-unix-command-line/Intro_to_Unix_Part_1.Rmd | 3 ++- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/Intro_to_Unix_Part_1.html b/docs/Intro_to_Unix_Part_1.html index ae1e6cc..3ab8ee8 100644 --- a/docs/Intro_to_Unix_Part_1.html +++ b/docs/Intro_to_Unix_Part_1.html @@ -1981,8 +1981,11 @@ versions of macOS
echo $0
bash
-

Both bash and zsh should be able to run all of the commands in this -workshop.

+

Commands

@@ -2348,8 +2351,8 @@ size)
ls -lah part_1
total 8
-drwx---rw-@ 4 nelphick  staff   128B Mar 11 10:10 .
-drwxr-xr-x@ 5 nelphick  staff   160B Mar 11 10:10 ..
+drwx---rw-@ 4 nelphick  staff   128B Mar 11 10:11 .
+drwxr-xr-x@ 5 nelphick  staff   160B Mar 11 10:11 ..
 -rw-r--r--@ 1 nelphick  staff     0B Apr 11  2023 .hidden_file.txt
 -rw-r--r--@ 1 nelphick  staff    60B Apr 12  2023 list_numbers.tsv
@@ -2362,8 +2365,8 @@ ls -l
cd ..
 ls -l
total 0
-drwx---rw-@ 4 nelphick  staff  128 Mar 11 10:10 part_1
-drwxr-xr-x@ 3 nelphick  staff   96 Mar 11 10:10 part_2
+drwx---rw-@ 4 nelphick staff 128 Mar 11 10:11 part_1 +drwxr-xr-x@ 3 nelphick staff 96 Mar 11 10:11 part_2
diff --git a/intro-unix-command-line/Intro_to_Unix_Part_1.Rmd b/intro-unix-command-line/Intro_to_Unix_Part_1.Rmd index e64ba7e..abe1b04 100644 --- a/intro-unix-command-line/Intro_to_Unix_Part_1.Rmd +++ b/intro-unix-command-line/Intro_to_Unix_Part_1.Rmd @@ -118,7 +118,8 @@ cd unix_workshop_2024 echo $0 ``` -Both bash and zsh should be able to run all of the commands in this workshop. +- We will use bash since it is the most widely used shell +- If your shell is not set to bash, type `chsh -s /bin/bash` and press enter ## Commands