Skip to content

Instantly share code, notes, and snippets.

View arthuroe's full-sized avatar

Orache Arthur arthuroe

  • Kampala, Uganda
View GitHub Profile
@arthuroe
arthuroe / setup.sh
Created March 7, 2018 14:26
script to automatically setup project..(Under refinement)
#!/bin/bash
link='Your project url here'
if [ "$link" ];then
cd ~/
[ -d test_proj ] || mkdir test_proj
cd ~/test_proj
directory=${link##*/}
if [ -d "$directory" ]; then
@arthuroe
arthuroe / track.sh
Created March 7, 2018 14:24
Shell script that creates directories, files, moves between the different directories and directs user input
#!/bin/bash
read -p "Enter name of folder you want to create: " folderOne
read -p "Enter name of second folder you want to create: " folderTwo
echo "-----Creating directories now"
mkdir $folderOne && mkdir $folderTwo
echo "-----Creating text files now"
touch fileone.txt filetwo.txt