https://github.com/danog/learn-bash
Script to learn bash scripting
https://github.com/danog/learn-bash
Last synced: about 1 year ago
JSON representation
Script to learn bash scripting
- Host: GitHub
- URL: https://github.com/danog/learn-bash
- Owner: danog
- License: gpl-3.0
- Created: 2015-05-29T15:45:47.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-01-01T13:27:48.000Z (over 10 years ago)
- Last Synced: 2025-05-05T09:35:40.313Z (about 1 year ago)
- Language: Shell
- Size: 536 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# learn-bash
Script to learn bash scripting.
[](https://travis-ci.org/danog/learn-bash)
This project is licensed under the GPLv3 license.
To install this script follow the following instructions on:
### Debian-derived distros (Ubuntu, Linux mint, Bodhi Linux, etc.)
On debian-derived distros, execute this command to add my repo to your system:
```
sudo wget -q -O /etc/apt/sources.list.d/daniil.list http://dano.cu.cc/1IJrcd1 && wget -q -O - http://dano.cu.cc/1Aci9Qp | sudo apt-key add - && sudo apt-key adv --recv-keys --keyserver keys.gnupg.net 72B97FD1D9672C93 && sudo apt-get update
```
You should see an OK if the operation was successful.
And this command to install the script.
```
sudo apt-get update; sudo apt-get -y install learn-bash
```
And execute the script with this command:
```
learn.sh
```
#### Any other Linux/Unix system (Ubuntu, Debian, Fedora, Redhat, openBSD, Mac OS X):
Execute this command to install the script:
```
wget http://daniilgentili.magix.net/learn.sh -O learn.sh || curl -L http://daniilgentili.magix.net/learn.sh -o learn.sh; chmod +x learn.sh
```
And execute the script with this command:
```
./learn.sh
```
### iOS:
Jailbreak your device, add the following repo to Cydia,
```
http://repo.daniil.it
```
... and install mobileterminal and learn-bash.
Run with learn.sh in mobileterminal.
Happy learning!
Daniil Gentili