-
-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: appendix - installing the samples (#324)
- Loading branch information
Showing
3 changed files
with
44 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
title: Installing the Samples | ||
description: How to install the Effective Shell Samples | ||
--- | ||
|
||
There are many samples in the Effective Shell book. To allow you to play with a set of folders and files without affecting your own personal documents, a samples folder can be installed. Each of the examples in the book uses the samples from this folder. | ||
|
||
The easiest way to install the samples is to run the following command: | ||
|
||
```bash | ||
curl effective.sh | sh | ||
``` | ||
|
||
This will install the samples to the following location: | ||
|
||
``` | ||
~/effective-shell | ||
``` | ||
|
||
It will also allow you to overwrite the samples, update or recreate them if you run the command multiple times. | ||
|
||
## Manually Downloading the Samples | ||
|
||
If you would prefer to manually download and unzip the samples, perhaps so that you can install them to a different location, you can download them as a zip file from: | ||
|
||
- https://effective-shell.com/downloads/effective-shell-samples.zip | ||
|
||
You can also download them as a tarball from: | ||
|
||
- https://effective-shell.com/downloads/effective-shell-samples.tar.gz | ||
|
||
## Deleting the Samples | ||
|
||
If you have installed the samples to the default location, you can safely delete them with the following command: | ||
|
||
```bash | ||
rm -rf ~/effective-shell | ||
``` |