Skip to content

Commit 7480f91

Browse files
committed
added coursera link
1 parent e8e9b1b commit 7480f91

25 files changed

+116
-97
lines changed

01-What-is-Unix.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Unix is an operating system and a set of tools. The tool we'll be using the
44
most in this book is a shell, which is a computer program that provides a
55
command line interface. You've probably seen a command line interface in the
66
movies: an elite computer hacker sits in front of a black screen with green
7-
glowing text, furiously typing in commands and saying something like
7+
glowing text, furiously typing in commands and shouting something like
88
"Spike them!" Using the command line interface lets you enter lines of code into
99
a shell (also called a console) and that code instructs your computer to
1010
perform a specific task. Throughout this book I may use the terms command line,

03-Command-Line-Basics.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ after the prompt is just a cursor that allows you to edit what you've typed
2525
into the shell. Your cursor might look like a rectangle, a line, or an
2626
underscore, but all cursors behave the same way. After typing something into
2727
the command line you can move the cursor back and forth with the left and right
28-
arrow keys.
28+
arrow keys, just like you would when typing an email.
2929

3030
Don't you think your shell looks messy with all of those old prompts? Don't
3131
worry, you're about to learn your first shell command which will clear up your
@@ -43,11 +43,11 @@ Some simple commands like `clear` don't require any options or arguments.
4343
Options are usually preceded by a hyphen (`-`) and they tweak the behavior
4444
of the command. Arguments can be names of files, raw data, or other options
4545
that the command requires. A simple command that has an argument is `echo`.
46-
The `echo` command prints a phrase to the console. Enter `echo "Hello World!"`
46+
The `echo` command prints a phrase to the console. Enter `echo 'Hello World!'`
4747
into the command line to see what happens:
4848

4949
```{r, engine='bash'}
50-
echo "Hello World!"
50+
echo 'Hello World!'
5151
```
5252

5353
We'll be using the above syntax for the rest of the book, where on one line there

docs/01-What-is-Unix.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Unix is an operating system and a set of tools. The tool we'll be using the
44
most in this book is a shell, which is a computer program that provides a
55
command line interface. You've probably seen a command line interface in the
66
movies: an elite computer hacker sits in front of a black screen with green
7-
glowing text, furiously typing in commands and saying something like
7+
glowing text, furiously typing in commands and shouting something like
88
"Spike them!" Using the command line interface lets you enter lines of code into
99
a shell (also called a console) and that code instructs your computer to
1010
perform a specific task. Throughout this book I may use the terms command line,

docs/03-Command-Line-Basics.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ after the prompt is just a cursor that allows you to edit what you've typed
2525
into the shell. Your cursor might look like a rectangle, a line, or an
2626
underscore, but all cursors behave the same way. After typing something into
2727
the command line you can move the cursor back and forth with the left and right
28-
arrow keys.
28+
arrow keys, just like you would when typing an email.
2929

3030
Don't you think your shell looks messy with all of those old prompts? Don't
3131
worry, you're about to learn your first shell command which will clear up your
@@ -43,12 +43,12 @@ Some simple commands like `clear` don't require any options or arguments.
4343
Options are usually preceded by a hyphen (`-`) and they tweak the behavior
4444
of the command. Arguments can be names of files, raw data, or other options
4545
that the command requires. A simple command that has an argument is `echo`.
46-
The `echo` command prints a phrase to the console. Enter `echo "Hello World!"`
46+
The `echo` command prints a phrase to the console. Enter `echo 'Hello World!'`
4747
into the command line to see what happens:
4848

4949

5050
```bash
51-
echo "Hello World!"
51+
echo 'Hello World!'
5252
```
5353

5454
```

docs/acknowledgements.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<meta charset="UTF-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<title>The Unix Workbench</title>
9-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
109
<meta name="description" content="The Unix Workbench">
11-
<meta name="generator" content="bookdown 0.3 and GitBook 2.6.7">
10+
<meta name="generator" content="bookdown 0.4 and GitBook 2.6.7">
1211

1312
<meta property="og:title" content="The Unix Workbench" />
1413
<meta property="og:type" content="book" />
@@ -26,7 +25,7 @@
2625
<meta name="author" content="Sean Kross">
2726

2827

29-
<meta name="date" content="2017-07-03">
28+
<meta name="date" content="2017-07-18">
3029

3130
<meta name="viewport" content="width=device-width, initial-scale=1">
3231
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -35,7 +34,6 @@
3534

3635
<link rel="prev" href="dedication.html">
3736
<link rel="next" href="introduction.html">
38-
3937
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
4038
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
4139
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
@@ -95,6 +93,7 @@
9593
<body>
9694

9795

96+
9897
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
9998

10099
<div class="book-summary">
@@ -290,8 +289,9 @@ <h1>Acknowledgements</h1>
290289
</div>
291290
</div>
292291
<a href="dedication.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
293-
<a href="introduction.html" class="navigation navigation-next " aria-label="Next page""><i class="fa fa-angle-right"></i></a>
294-
292+
<a href="introduction.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
293+
</div>
294+
</div>
295295
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
296296
<script src="libs/gitbook-2.6.7/js/lunr.js"></script>
297297
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>

docs/bash-programming.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<meta charset="UTF-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<title>The Unix Workbench</title>
9-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
109
<meta name="description" content="The Unix Workbench">
11-
<meta name="generator" content="bookdown 0.3 and GitBook 2.6.7">
10+
<meta name="generator" content="bookdown 0.4 and GitBook 2.6.7">
1211

1312
<meta property="og:title" content="The Unix Workbench" />
1413
<meta property="og:type" content="book" />
@@ -26,7 +25,7 @@
2625
<meta name="author" content="Sean Kross">
2726

2827

29-
<meta name="date" content="2017-07-03">
28+
<meta name="date" content="2017-07-18">
3029

3130
<meta name="viewport" content="width=device-width, initial-scale=1">
3231
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -35,7 +34,6 @@
3534

3635
<link rel="prev" href="working-with-unix.html">
3736
<link rel="next" href="git-and-github.html">
38-
3937
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
4038
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
4139
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
@@ -95,6 +93,7 @@
9593
<body>
9694

9795

96+
9897
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
9998

10099
<div class="book-summary">
@@ -1417,8 +1416,9 @@ <h3><span class="header-section-number">5.9.5</span> Exercises</h3>
14171416
</div>
14181417
</div>
14191418
<a href="working-with-unix.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
1420-
<a href="git-and-github.html" class="navigation navigation-next " aria-label="Next page""><i class="fa fa-angle-right"></i></a>
1421-
1419+
<a href="git-and-github.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
1420+
</div>
1421+
</div>
14221422
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
14231423
<script src="libs/gitbook-2.6.7/js/lunr.js"></script>
14241424
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>

docs/command-line-basics.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<meta charset="UTF-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<title>The Unix Workbench</title>
9-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
109
<meta name="description" content="The Unix Workbench">
11-
<meta name="generator" content="bookdown 0.3 and GitBook 2.6.7">
10+
<meta name="generator" content="bookdown 0.4 and GitBook 2.6.7">
1211

1312
<meta property="og:title" content="The Unix Workbench" />
1413
<meta property="og:type" content="book" />
@@ -26,7 +25,7 @@
2625
<meta name="author" content="Sean Kross">
2726

2827

29-
<meta name="date" content="2017-07-03">
28+
<meta name="date" content="2017-07-18">
3029

3130
<meta name="viewport" content="width=device-width, initial-scale=1">
3231
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -35,7 +34,6 @@
3534

3635
<link rel="prev" href="getting-unix.html">
3736
<link rel="next" href="working-with-unix.html">
38-
3937
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
4038
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
4139
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
@@ -95,6 +93,7 @@
9593
<body>
9694

9795

96+
9897
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
9998

10099
<div class="book-summary">
@@ -297,12 +296,12 @@ <h2><span class="header-section-number">3.1</span> Hello Terminal!</h2>
297296
<img src="images/shell2.png" />
298297

299298
</div>
300-
<p>If you don’t type anything after the prompt and you press enter then nothing happens and you get a new prompt under the old prompt. The white rectangle after the prompt is just a cursor that allows you to edit what you’ve typed into the shell. Your cursor might look like a rectangle, a line, or an underscore, but all cursors behave the same way. After typing something into the command line you can move the cursor back and forth with the left and right arrow keys.</p>
299+
<p>If you don’t type anything after the prompt and you press enter then nothing happens and you get a new prompt under the old prompt. The white rectangle after the prompt is just a cursor that allows you to edit what you’ve typed into the shell. Your cursor might look like a rectangle, a line, or an underscore, but all cursors behave the same way. After typing something into the command line you can move the cursor back and forth with the left and right arrow keys, just like you would when typing an email.</p>
301300
<p>Don’t you think your shell looks messy with all of those old prompts? Don’t worry, you’re about to learn your first shell command which will clear up your shell! Type <code>clear</code> at the prompt and then hit enter. Voila! Your shell is back to how you started.</p>
302301
<p>Every command line command is actually a little computer program, even commands as simple as <code>clear</code>. These commands all tend to have the following structure:</p>
303302
<pre><code>[command] [options] [arguments]</code></pre>
304-
<p>Some simple commands like <code>clear</code> don’t require any options or arguments. Options are usually preceded by a hyphen (<code>-</code>) and they tweak the behavior of the command. Arguments can be names of files, raw data, or other options that the command requires. A simple command that has an argument is <code>echo</code>. The <code>echo</code> command prints a phrase to the console. Enter <code>echo &quot;Hello World!&quot;</code> into the command line to see what happens:</p>
305-
<div class="sourceCode"><pre class="sourceCode bash"><code class="sourceCode bash"><span class="kw">echo</span> <span class="st">&quot;Hello World!&quot;</span></code></pre></div>
303+
<p>Some simple commands like <code>clear</code> don’t require any options or arguments. Options are usually preceded by a hyphen (<code>-</code>) and they tweak the behavior of the command. Arguments can be names of files, raw data, or other options that the command requires. A simple command that has an argument is <code>echo</code>. The <code>echo</code> command prints a phrase to the console. Enter <code>echo 'Hello World!'</code> into the command line to see what happens:</p>
304+
<div class="sourceCode"><pre class="sourceCode bash"><code class="sourceCode bash"><span class="kw">echo</span> <span class="st">&#39;Hello World!&#39;</span></code></pre></div>
306305
<pre><code>## Hello World!</code></pre>
307306
<p>We’ll be using the above syntax for the rest of the book, where on one line there will be a command that I’ve entered into the command line, and then below that command the console output of the command will appear (if there is any console output). You can use <code>echo</code> to print any phase surrounded by double quotes (<code>&quot;&quot;</code>) to the console.</p>
308307
<p>If you want to see the last command press the <code>Up</code> arrow key. You can press <code>Up</code> and <code>Down</code> in order to scroll through the history of commands that you’ve entered. If you want to re-execute a past command, you can scroll to that command then press <code>Enter</code>. Try getting back to the <code>echo &quot;Hello World!&quot;</code> command and execute it again.</p>
@@ -719,8 +718,9 @@ <h3><span class="header-section-number">3.4.2</span> Exercises</h3>
719718
</div>
720719
</div>
721720
<a href="getting-unix.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
722-
<a href="working-with-unix.html" class="navigation navigation-next " aria-label="Next page""><i class="fa fa-angle-right"></i></a>
723-
721+
<a href="working-with-unix.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
722+
</div>
723+
</div>
724724
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
725725
<script src="libs/gitbook-2.6.7/js/lunr.js"></script>
726726
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>

docs/dedication.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<meta charset="UTF-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<title>The Unix Workbench</title>
9-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
109
<meta name="description" content="The Unix Workbench">
11-
<meta name="generator" content="bookdown 0.3 and GitBook 2.6.7">
10+
<meta name="generator" content="bookdown 0.4 and GitBook 2.6.7">
1211

1312
<meta property="og:title" content="The Unix Workbench" />
1413
<meta property="og:type" content="book" />
@@ -26,7 +25,7 @@
2625
<meta name="author" content="Sean Kross">
2726

2827

29-
<meta name="date" content="2017-07-03">
28+
<meta name="date" content="2017-07-18">
3029

3130
<meta name="viewport" content="width=device-width, initial-scale=1">
3231
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -35,7 +34,6 @@
3534

3635
<link rel="prev" href="index.html">
3736
<link rel="next" href="acknowledgements.html">
38-
3937
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
4038
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
4139
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
@@ -95,6 +93,7 @@
9593
<body>
9694

9795

96+
9897
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
9998

10099
<div class="book-summary">
@@ -290,8 +289,9 @@ <h1>Dedication</h1>
290289
</div>
291290
</div>
292291
<a href="index.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
293-
<a href="acknowledgements.html" class="navigation navigation-next " aria-label="Next page""><i class="fa fa-angle-right"></i></a>
294-
292+
<a href="acknowledgements.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
293+
</div>
294+
</div>
295295
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
296296
<script src="libs/gitbook-2.6.7/js/lunr.js"></script>
297297
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>

docs/getting-unix.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<meta charset="UTF-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<title>The Unix Workbench</title>
9-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
109
<meta name="description" content="The Unix Workbench">
11-
<meta name="generator" content="bookdown 0.3 and GitBook 2.6.7">
10+
<meta name="generator" content="bookdown 0.4 and GitBook 2.6.7">
1211

1312
<meta property="og:title" content="The Unix Workbench" />
1413
<meta property="og:type" content="book" />
@@ -26,7 +25,7 @@
2625
<meta name="author" content="Sean Kross">
2726

2827

29-
<meta name="date" content="2017-07-03">
28+
<meta name="date" content="2017-07-18">
3029

3130
<meta name="viewport" content="width=device-width, initial-scale=1">
3231
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -35,7 +34,6 @@
3534

3635
<link rel="prev" href="what-is-unix.html">
3736
<link rel="next" href="command-line-basics.html">
38-
3937
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
4038
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
4139
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
@@ -95,6 +93,7 @@
9593
<body>
9694

9795

96+
9897
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
9998

10099
<div class="book-summary">
@@ -302,8 +301,9 @@ <h2><span class="header-section-number">2.2</span> Windows</h2>
302301
</div>
303302
</div>
304303
<a href="what-is-unix.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
305-
<a href="command-line-basics.html" class="navigation navigation-next " aria-label="Next page""><i class="fa fa-angle-right"></i></a>
306-
304+
<a href="command-line-basics.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
305+
</div>
306+
</div>
307307
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
308308
<script src="libs/gitbook-2.6.7/js/lunr.js"></script>
309309
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>

docs/git-and-github.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
<meta charset="UTF-8">
77
<meta http-equiv="X-UA-Compatible" content="IE=edge">
88
<title>The Unix Workbench</title>
9-
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
109
<meta name="description" content="The Unix Workbench">
11-
<meta name="generator" content="bookdown 0.3 and GitBook 2.6.7">
10+
<meta name="generator" content="bookdown 0.4 and GitBook 2.6.7">
1211

1312
<meta property="og:title" content="The Unix Workbench" />
1413
<meta property="og:type" content="book" />
@@ -26,7 +25,7 @@
2625
<meta name="author" content="Sean Kross">
2726

2827

29-
<meta name="date" content="2017-07-03">
28+
<meta name="date" content="2017-07-18">
3029

3130
<meta name="viewport" content="width=device-width, initial-scale=1">
3231
<meta name="apple-mobile-web-app-capable" content="yes">
@@ -35,7 +34,6 @@
3534

3635
<link rel="prev" href="bash-programming.html">
3736
<link rel="next" href="nephology.html">
38-
3937
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
4038
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
4139
<link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" />
@@ -95,6 +93,7 @@
9593
<body>
9694

9795

96+
9897
<div class="book without-animation with-summary font-size-2 font-family-1" data-basepath=".">
9998

10099
<div class="book-summary">
@@ -1060,8 +1059,9 @@ <h3><span class="header-section-number">6.6.6</span> Exercises</h3>
10601059
</div>
10611060
</div>
10621061
<a href="bash-programming.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a>
1063-
<a href="nephology.html" class="navigation navigation-next " aria-label="Next page""><i class="fa fa-angle-right"></i></a>
1064-
1062+
<a href="nephology.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a>
1063+
</div>
1064+
</div>
10651065
<script src="libs/gitbook-2.6.7/js/app.min.js"></script>
10661066
<script src="libs/gitbook-2.6.7/js/lunr.js"></script>
10671067
<script src="libs/gitbook-2.6.7/js/plugin-search.js"></script>

0 commit comments

Comments
 (0)