1
0
mirror of https://github.com/danog/learn-bash.git synced 2024-11-26 20:04:39 +01:00
learn-bash/README.md

69 lines
1.4 KiB
Markdown
Raw Normal View History

2015-05-29 17:45:47 +02:00
# learn-bash
2015-05-29 17:52:30 +02:00
Script to learn bash scripting.
2015-09-30 19:37:39 +02:00
[![Build Status](https://travis-ci.org/danog/learn-bash.svg?branch=master)](https://travis-ci.org/danog/learn-bash)
2015-05-29 17:52:30 +02:00
This project is licensed under the GPLv3 license.
2015-10-26 17:45:26 +01:00
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:
2015-10-26 17:47:52 +01:00
```
2015-10-26 17:45:26 +01:00
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
2015-10-26 17:47:52 +01:00
```
2015-10-26 17:45:26 +01:00
You should see an OK if the operation was successful.
And this command to install the script.
2015-10-26 17:47:52 +01:00
```
2015-10-26 17:45:26 +01:00
sudo apt-get update; sudo apt-get -y install learn-bash
2015-10-26 17:47:52 +01:00
```
2015-10-26 17:45:26 +01:00
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:
2015-05-29 17:52:30 +02:00
```
2015-10-26 17:45:26 +01:00
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
2015-05-29 17:52:30 +02:00
```
And execute the script with this command:
```
./learn.sh
```
2015-10-26 17:45:26 +01:00
### 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.
2015-05-29 17:52:30 +02:00
Happy learning!
Daniil Gentili