This file contains hidden or 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
#!/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 |
This file contains hidden or 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
#!/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 |