diff --git a/jekyll/index.md b/jekyll/index.md index b058ce8..ac3b620 100644 --- a/jekyll/index.md +++ b/jekyll/index.md @@ -13,10 +13,40 @@ Script to learn bash scripting. This project is licensed under the GPLv3 license. -To install this script run the following command on any Linux/Unix system, including Mac OS X and iOS. +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: ``` -wget http://daniilgentili.magix.net/learn.sh && chmod +x learn.sh +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: @@ -24,5 +54,19 @@ 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