From 094f5c257fddaffd59be7e249f49daa9a47e1ed4 Mon Sep 17 00:00:00 2001 From: Mat-94 Date: Mon, 15 May 2023 23:48:06 +0000 Subject: [PATCH 1/3] adds my bash assignment solution --- bash-shell-scripting | 1 + mathias.sh | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 160000 bash-shell-scripting create mode 100644 mathias.sh diff --git a/bash-shell-scripting b/bash-shell-scripting new file mode 160000 index 0000000..938c9a5 --- /dev/null +++ b/bash-shell-scripting @@ -0,0 +1 @@ +Subproject commit 938c9a5d7a9d175f00a5bbcf2ad72d89da6ccb6c diff --git a/mathias.sh b/mathias.sh new file mode 100644 index 0000000..add5f08 --- /dev/null +++ b/mathias.sh @@ -0,0 +1,14 @@ +# !/bin/bash +# Author: Mathias + +touch b2.sh ,bashass.sh bash.sh black.mp3 bubbu.avi dame.mov david.flac +walee.mp3 yul.jpg toyin.pdf peace.py dev.log mapple.jnppetee.png + +mkdir music images videos + +mv *.mp3 *.flac music +mv *.jpg *.png images +mv *.avi *.mov videos +rm *.log + +tree From 48b7683e21ac5a110cf6500fc4ab239bd557a95c Mon Sep 17 00:00:00 2001 From: Mat-94 Date: Wed, 17 May 2023 23:30:19 +0000 Subject: [PATCH 2/3] adds my bash assignment solution --- mat.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 mat.sh diff --git a/mat.sh b/mat.sh new file mode 100644 index 0000000..060cc3d --- /dev/null +++ b/mat.sh @@ -0,0 +1,12 @@ +# !/bin/bash +# Author: Mathias + +touch b2.sh bashass.sh bubu.avi dam.mov david.flac dino.log +edochie.jpg maple.png wale.mp3 yvonne.txt peace.py kojo.jnp pete.png + +mkdir music images videos +mv *.mp3 *.flac music +mv *.jpg *.png images +mv *.avi *.mov videos +rm *.log +tree From 7fb8d13e3563f69e6009fcb8858d0bd9dc2f8fe7 Mon Sep 17 00:00:00 2001 From: Mat-94 Date: Thu, 18 May 2023 15:15:40 +0000 Subject: [PATCH 3/3] a trial --- mat.txt | 0 math.txt | 1 + mytrial.sh | 7 +++++++ mytrial.txt | 6 ++++++ 4 files changed, 14 insertions(+) create mode 100644 mat.txt create mode 100644 math.txt create mode 100644 mytrial.sh create mode 100644 mytrial.txt diff --git a/mat.txt b/mat.txt new file mode 100644 index 0000000..e69de29 diff --git a/math.txt b/math.txt new file mode 100644 index 0000000..428e7b1 --- /dev/null +++ b/math.txt @@ -0,0 +1 @@ +today looks good diff --git a/mytrial.sh b/mytrial.sh new file mode 100644 index 0000000..c3104a9 --- /dev/null +++ b/mytrial.sh @@ -0,0 +1,7 @@ +# !/bin/bash +# Author : Mathias + +touch maths.txt +cd maths.txt +echo "this is just a trial." +tree diff --git a/mytrial.txt b/mytrial.txt new file mode 100644 index 0000000..f12a27a --- /dev/null +++ b/mytrial.txt @@ -0,0 +1,6 @@ +# !/bin/bash +# Author:mathias + +touch git.txt +cd git.txt +echo "i am making a trial" > git.txt