fix download instructions

This commit is contained in:
Natalie Elphick 2023-04-14 12:03:42 -07:00
parent 7f508d4921
commit d6aa2d5bec
4 changed files with 46 additions and 17 deletions

View file

@ -607,7 +607,7 @@ each one:</li>
</ul>
<pre class="text"><code>mkdir unix_workshop</code></pre>
<pre class="text"><code>cd unix_workshop</code></pre>
<pre class="text"><code>curl -L -o unix_workshop_2023.tar.gz https://www.dropbox.com/s/smb12au2y82jmvq/unix_workshop_2023.tar.gz?dl=0</code></pre>
<pre class="text"><code>curl -L -o unix_workshop_2023.tar.gz &#39;https://www.dropbox.com/s/smb12au2y82jmvq/unix_workshop_2023.tar.gz?dl=0&#39;</code></pre>
<pre class="text"><code>tar -xzf unix_workshop_2023.tar.gz</code></pre>
<pre class="text"><code>cd unix_workshop_2023</code></pre>
</section>
@ -998,8 +998,8 @@ size)</li>
</ul>
<pre class="text"><code>ls -lah part_1</code></pre>
<pre><code>total 8
drwx---rw-@ 4 nelphick staff 128B Apr 14 10:21 .
drwxr-xr-x@ 5 nelphick staff 160B Apr 14 10:21 ..
drwx---rw-@ 4 nelphick staff 128B Apr 14 11:26 .
drwxr-xr-x@ 5 nelphick staff 160B Apr 14 11:26 ..
-rw-r--rw-@ 1 nelphick staff 0B Apr 11 16:29 .hidden_file.txt
-rw-r--rw-@ 1 nelphick staff 60B Apr 12 15:40 list_numbers.tsv</code></pre>
</section>
@ -1012,8 +1012,8 @@ ls -l</code></pre>
<pre><code>cd ..
ls -l</code></pre>
<pre><code>total 0
drwx---rw-@ 4 nelphick staff 128 Apr 14 10:21 part_1
drwxr-xr-x@ 2 nelphick staff 64 Apr 14 10:21 part_2</code></pre>
drwx---rw-@ 4 nelphick staff 128 Apr 14 11:26 part_1
drwxr-xr-x@ 2 nelphick staff 64 Apr 14 11:26 part_2</code></pre>
</section></section>
<section>
<section id="creating-and-altering-files" class="title-slide slide level1">

View file

@ -30,12 +30,6 @@ Bioinformatician I
Software Engineer II
# The Unix Command-line
@ -87,7 +81,7 @@ cd unix_workshop
```{r, engine='bash', eval=FALSE, results="hide", highlight=FALSE, comment=NA, echo = TRUE}
curl -L -o unix_workshop_2023.tar.gz https://www.dropbox.com/s/smb12au2y82jmvq/unix_workshop_2023.tar.gz?dl=0
curl -L -o unix_workshop_2023.tar.gz 'https://www.dropbox.com/s/smb12au2y82jmvq/unix_workshop_2023.tar.gz?dl=0'
```

View file

@ -607,7 +607,7 @@ each one:</li>
</ul>
<pre class="text"><code>mkdir unix_workshop</code></pre>
<pre class="text"><code>cd unix_workshop</code></pre>
<pre class="text"><code>curl -L -o unix_workshop_2023.tar.gz https://www.dropbox.com/s/smb12au2y82jmvq/unix_workshop_2023.tar.gz?dl=0</code></pre>
<pre class="text"><code>curl -L -o unix_workshop_2023.tar.gz &#39;https://www.dropbox.com/s/smb12au2y82jmvq/unix_workshop_2023.tar.gz?dl=0&#39;</code></pre>
<pre class="text"><code>tar -xzf unix_workshop_2023.tar.gz</code></pre>
<pre class="text"><code>cd unix_workshop_2023</code></pre>
</section>
@ -998,8 +998,8 @@ size)</li>
</ul>
<pre class="text"><code>ls -lah part_1</code></pre>
<pre><code>total 8
drwx---rw-@ 4 nelphick staff 128B Apr 14 11:25 .
drwxr-xr-x@ 5 nelphick staff 160B Apr 14 11:25 ..
drwx---rw-@ 4 nelphick staff 128B Apr 14 11:26 .
drwxr-xr-x@ 5 nelphick staff 160B Apr 14 11:26 ..
-rw-r--rw-@ 1 nelphick staff 0B Apr 11 16:29 .hidden_file.txt
-rw-r--rw-@ 1 nelphick staff 60B Apr 12 15:40 list_numbers.tsv</code></pre>
</section>
@ -1012,8 +1012,8 @@ ls -l</code></pre>
<pre><code>cd ..
ls -l</code></pre>
<pre><code>total 0
drwx---rw-@ 4 nelphick staff 128 Apr 14 11:25 part_1
drwxr-xr-x@ 2 nelphick staff 64 Apr 14 11:25 part_2</code></pre>
drwx---rw-@ 4 nelphick staff 128 Apr 14 11:26 part_1
drwxr-xr-x@ 2 nelphick staff 64 Apr 14 11:26 part_2</code></pre>
</section></section>
<section>
<section id="creating-and-altering-files" class="title-slide slide level1">

View file

@ -0,0 +1,35 @@
---
title: "Introduction to Unix Command-line - Part 2"
author: "Natalie Elphick"
date: "April 18th"
output:
revealjs::revealjs_presentation:
css: style.css
---
```{r, setup, include=FALSE}
knitr::opts_knit$set(root.dir = './unix_workshop_2023')
```
##
<center>*Press the ? key for tips on navigating these slides*</center>
## Introductions
**Natalie Elphick**
Bioinformatician I
<br>
**Yihang Xin (TA)**
Software Engineer II
# File Compression