diff --git a/.p.solomon.sh.swp b/.p.solomon.sh.swp deleted file mode 100644 index 4d8809a..0000000 Binary files a/.p.solomon.sh.swp and /dev/null differ diff --git a/AB.sh b/AB.sh new file mode 100644 index 0000000..e69de29 diff --git a/BashAssignment.sh b/BashAssignment.sh new file mode 100644 index 0000000..aef8991 --- /dev/null +++ b/BashAssignment.sh @@ -0,0 +1,13 @@ +# !/bin/bash +# Author: Kofi + +touch AB.sh AC.mp3 BC.mp3 ACD.flac ABC.jpg ZAK.avi ZAS.mov KOI.avi WALE.mp3 STONE.mp3 +DEV.log NANA.avi VAN.log BOO.log COO.log DOO.log YOO.mp3 YELL.flac KON.tf MAD.sh + +mkdir music images videos + +mv *.mp3 *.flac music +mv *.jpg *.png images +mv *.avi *.mov videos +rm *.log +tree diff --git a/Blossom.sh b/Blossom.sh deleted file mode 100644 index 2c2258e..0000000 --- a/Blossom.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Blossom - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/Godwin.sh b/Godwin.sh deleted file mode 100644 index 8821dea..0000000 --- a/Godwin.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Godwin - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/IsaacDankwa.sh b/IsaacDankwa.sh deleted file mode 100644 index 71123be..0000000 --- a/IsaacDankwa.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -#Author: Isaac Dankwa - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos -mv *.mp3 *.flac music -mv *.jpg *.png images -mv *.avi *.mov videos -rm *.log -tree diff --git a/Issabella.sh b/Issabella.sh deleted file mode 100644 index dc67eda..0000000 --- a/Issabella.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Issabella - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/Pius.sh b/Pius.sh deleted file mode 100644 index 7fbe91b..0000000 --- a/Pius.sh +++ /dev/null @@ -1,18 +0,0 @@ - - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/Richmond2.sh b/Richmond2.sh deleted file mode 100644 index 57f40f2..0000000 --- a/Richmond2.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/achaawa b/achaawa deleted file mode 100644 index 8f97370..0000000 --- a/achaawa +++ /dev/null @@ -1,12 +0,0 @@ -ic images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree - diff --git a/austino.sh b/austino.sh deleted file mode 100644 index d9a71ea..0000000 --- a/austino.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -#Autor:Austin - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/barah b/barah deleted file mode 100644 index a2637f7..0000000 --- a/barah +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: barah - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/ben.sh b/ben.sh new file mode 100644 index 0000000..f8c0310 --- /dev/null +++ b/ben.sh @@ -0,0 +1,17 @@ +#!/bin/bash +#Author: Ben +#Date: 12/12/2023 + +touch AB.sh AC.mp3 BC.mp3 ACD.flac ABC.jpg ZAK.avi ZAS.mov KOI.avi WALE.mp3 STONE.mp3 +DEV.log NANA.avi VAN.log BOO.log COO.log DOO.log YOO.mp3 YELL.flac KON.tf MAD.sh black.mp3 door.png dat.png ewa.jpg pass.jpg +mkdir music images videos + +mv *.mp3 *.flac music + +mv *.jpg *.png images + +mv *.avi *.mov videos + +rm -rvf *.log + +tree diff --git a/davd.sh b/davd.sh deleted file mode 100644 index accd090..0000000 --- a/davd.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: David - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/dsa b/dsa deleted file mode 100644 index 0bab968..0000000 --- a/dsa +++ /dev/null @@ -1,29 +0,0 @@ -commit 865541f3a8b27f09b8df952974a238db3facac50 (origin/master, origin/HEAD) -Author: Ankam Ravi Kumar -Date: Wed Jun 20 11:25:07 2018 +0530 - - Create rhcsa-ex200-certification.md - -commit 140b60eaed71028db8f175ff0c9a651a15b484c4 -Author: Ankam Ravi Kumar -Date: Fri Jun 15 19:17:36 2018 +0530 - - Update index.md - -commit 7a4dc57693ec080aca045f2d5dedd13a9125d84d -Author: Ankam Ravi Kumar -Date: Fri Jun 15 19:16:41 2018 +0530 - - Update index.md - -commit fcfe9e98c56226f1f73aeaba6ddbbcd134cae1c3 -Author: Ankam Ravi Kumar -Date: Fri Jun 15 19:08:43 2018 +0530 - - Update index.md - -commit 56e538cdb788de68cf1417570bb22f123f9cddc4 -Author: Ankam Ravi Kumar -Date: Fri Jun 15 19:07:59 2018 +0530 - - Set theme jekyll-theme-cayman diff --git a/edwin.sh b/edwin.sh deleted file mode 100644 index 66be309..0000000 --- a/edwin.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Edwin - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/elma.sh b/elma.sh deleted file mode 100644 index dbc3039..0000000 --- a/elma.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Elma - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/enyo.sh b/enyo.sh deleted file mode 100644 index 4197b29..0000000 --- a/enyo.sh +++ /dev/null @@ -1,21 +0,0 @@ -# !/bin/bash -# Author: Enyonam -# Date: 19/03/2023 -# Modify - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/ericofori.sh b/ericofori.sh deleted file mode 100644 index 907b2f4..0000000 --- a/ericofori.sh +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -# Author: Eric Ofori -# Date: March 17, 2023 -# Modified: -# Description: Organizing files into specific directories - -# Files to be organized - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -# Creating directories for files to be organized into - -mkdir -p music images video - -echo "Please wait, sorting and organizing files into directories..." - -mv *.mp3 *.flac music/ - -mv *.jpg *.png images/ - -mv *.avi *.mov videos/ - -rm *.log - -tree diff --git a/file1.txt b/file1.txt deleted file mode 100644 index 6b1023a..0000000 --- a/file1.txt +++ /dev/null @@ -1 +0,0 @@ -Hello Team, am loving this class today diff --git a/francis.sh b/francis.sh deleted file mode 100644 index 79248c1..0000000 --- a/francis.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -#Author: Francis - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/gideon.sh b/gideon.sh deleted file mode 100644 index 1149f8e..0000000 --- a/gideon.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash -Author: Gideon -Date: 19/03/2023 -Modify: Gideon - - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree - diff --git a/goldheart.sh b/goldheart.sh deleted file mode 100644 index d6b7d63..0000000 --- a/goldheart.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash -#Author: Goldheart -b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata. flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos -mv *.mp3 *.flac music -mv *.jpg *.png images -mv *.avi *.mov videos -rm *.log -tree diff --git a/images/ABC.jpg b/images/ABC.jpg new file mode 100644 index 0000000..e69de29 diff --git a/index.md b/index.md deleted file mode 100644 index 12be9d7..0000000 --- a/index.md +++ /dev/null @@ -1,169 +0,0 @@ -# Shell Scripting Tutorial for Beginners - -Keep in touch with for any kind of technical questions -[Facebook](https://www.facebook.com/Linuxarkit/) -[Email List](https://feedburner.google.com/fb/a/mailverify?uri=arkit) -[Linkedin](https://in.linkedin.com/in/ravi-kumar-94530121) -[Google Plus](https://plus.google.com/u/0/+RedhatEnterpriseLinuxStepbyStepGuide/posts) -[Twitter](https://twitter.com/aravikumar48) -[Youtube](https://www.youtube.com/Techarkit?sub_confirmation=1) -[Email Address](aravikumar48@gmail.com) - -A complete begineers guide to learn shell scripting from scratch which includes Videos, Practice scenarios and project idea. I will create one file for one topic with code. - -Before jumping into the Shell scripting below are commands you have to practice for better understanding and familiar with Linux command line interface. - -If you do not learn below commands also fine but i personally recommend you to learn commands first. - -[103 Linux Commands Video Tutorial](https://www.youtube.com/watch?v=VG-MMju9RhQ&list=PLHyfPDPl-JDX_dfDEpsvglu4x3h1RjPkz) - -alias and unalias, arch, arp, at, awk, bc, blkid, cal, cat, cd, chage, chattr, chgrp, chmod, chown, cp, cpio, crontab, curl, cut, date, dd, df, diff, dig, dnf, du, expr, fdisk, file, find, firewall-cmd, free, ftp, grep, head, history, hostname, id, ifconfig, iostat, ip, kill, last, lessandmore, ln, locate, lpstatandlpadmin, ls, lsof, lspci, mail, man, mdadm, mkdirandrmdir, mkisofs, mount, mutt, mv, nano, netstat, nice, renice, nslookup, passwd, pam_tally2, paste, ping, perloneliner, pkill, ps, pwd, reboot, poweroff, rm, rpm, rsync, scp, screen, sed, sort, ss, ssh, sysctl, tail, tar, tcpdump, top, touch, tr, traceroute, umask, uname, uniq, uptime, useradd, vi, vmstat, w, who, watch, wc, wget, ypcat, yppasswd, yum, zip, sar - -After that start learning shell scripting using below topics - -[Shell Scripting Video Tutorial](https://www.youtube.com/watch?v=7GNUzvjS_mE&list=PL8cE5Nxf6M6b8qW7CSMsdKbEsPdG9pWfu) - -[Shell Scripting course Overview](https://www.youtube.com/watch?v=7GNUzvjS_mE) - -[Linux Basics](https://www.youtube.com/watch?v=IFvMor-0eFM) - -[Linux Directory Structure](https://www.youtube.com/watch?v=rVxpe1_lNFE) - -[Linux Basic Commands](https://www.youtube.com/watch?v=yYC8aaQ3eZA) - -[Copy, Remove, Move and Time Commands](https://www.youtube.com/watch?v=G7XFreQkDB8) - -[Dif and Grep Commands](https://www.youtube.com/watch?v=RwcQ6JzTsmA) - -[Head, tail, sort and more commands](https://www.youtube.com/watch?v=OgV3qrPQulU) - -[tr and wc commands](https://www.youtube.com/watch?v=d40a5zFa8yI) - -[Disk utilities like fdisk, df and du commands](https://www.youtube.com/watch?v=vx1WZepOmKg) - -[Getting Help From Command Line user Interface](https://www.youtube.com/watch?v=GcYu-0IIJas) - -[w, who, hostnamem hostnamectl and uname commands](https://www.youtube.com/watch?v=7shAr5lp_Wc) - -[Search for files and directories using find and locate commands](https://www.youtube.com/watch?v=Rd6e-OrsHpo) - -[top command its output explanation](https://www.youtube.com/watch?v=UQ7rr4_47YY) - -[vi & vim text editor](https://www.youtube.com/watch?v=K3SUrcJ740Y) - -[sed, awk, vmstat and nestat commands](https://www.youtube.com/watch?v=4hJorSKg9E0) - -[vnstat command](https://www.youtube.com/watch?v=KlpE2Ok6Bxo) - -[Introduction to Graphical user interface](https://www.youtube.com/watch?v=Yck_xhz9ku0) - -[cut command](https://www.youtube.com/watch?v=kBZNJdw7RQQ) - -[Merge multiple files using paste command](https://www.youtube.com/watch?v=_Efd6PxhNq4) - -[Connect and Manage remote machine using SSH](https://www.youtube.com/watch?v=Dp9J7aktYDs) - -[Changing files and directory permissions](https://www.youtube.com/watch?v=NNAxqSyTsUI) - -[tar and zip commands](https://www.youtube.com/watch?v=lVQppyhgERA) - -[Scheduling future jobs using crontab](https://www.youtube.com/watch?v=OOOabNTnSwY) - -[difference between scripting and programming](https://www.youtube.com/watch?v=5UuTNosxNgI) - -[what is shell scripting and it's advantages](https://www.youtube.com/watch?v=m2DvuF_S4Ac) - -[PATH environment variable](https://www.youtube.com/watch?v=4TZyWegxzGY) - -[Symbols used shell scripting](https://www.youtube.com/watch?v=L8IxV7bvBHU) - -[Make Shell Script Template](https://www.youtube.com/watch?v=7KEQJ7jtkTg) - -[Quotes single, double and reverse - Know difference between each](https://www.youtube.com/watch?v=9_fhRI-dos4) - -[Bash colors](https://arkit.co.in/coloring-style-text-shell-scripting/) - -[Script exit status](https://arkit.co.in/shell-scripting-exit-status-shell-scripting-return-codes/) - -[Variables and it's rules](https://www.youtube.com/watch?v=839s_OtTqDA) - -[Special Variables](https://www.youtube.com/watch?v=PfxzX4XNYRE) - -[Environment Variables, system variables and user defined variables](https://www.youtube.com/watch?v=PfxzX4XNYRE) - -[Constant variables, Local & Global variables and Special variables](https://www.youtube.com/watch?v=839s_OtTqDA) - -[Positional Parameters](https://www.youtube.com/watch?v=PfxzX4XNYRE) - -[Count number command line arguments $#](https://www.youtube.com/watch?v=YizjrX9ph10) - -[Arithmetic Operators](https://www.youtube.com/watch?v=qxNQ_D8txPo) - -[Relational Operators](https://www.youtube.com/watch?v=U-u1wx5VeTU) - -[LogicalOperators](https://www.youtube.com/watch?v=m_F1FTKdUU4) - -[Boolean Operators](https://www.youtube.com/watch?v=U-u1wx5VeTU) - -[Maths using expr command](https://www.youtube.com/watch?v=qxNQ_D8txPo) - -[Real maths using bc command](https://www.youtube.com/watch?v=qxNQ_D8txPo) - -[if statement](https://www.youtube.com/watch?v=gncu9vzmILw) - -[if-else statement](https://www.youtube.com/watch?v=nDhbOeEQeNY) - -[if-else-if statement](https://www.youtube.com/watch?v=UJET-9cmaqU) - -[Nested if statement](https://www.youtube.com/watch?v=Kd1SJFnmj9k) - -[Case statement](https://www.youtube.com/watch?v=JJ7mAPU0KhI) - -[For Loop](https://www.youtube.com/watch?v=1fnAUUS4qg0) - -[While Loop](https://www.youtube.com/watch?v=nBMuVIRGpwY) - -[Until Loop](https://www.youtube.com/watch?v=zdk795qFgWk) - -[Functions](https://www.youtube.com/watch?v=jXv1otUXMG4) - -[Arrays](https://www.youtube.com/watch?v=2Fetj2V6rrM) - -[Eval command](https://www.youtube.com/watch?v=AjqBRGwLmLc&list=PL8cE5Nxf6M6b8qW7CSMsdKbEsPdG9pWfu&index=57&t=0s) - -[Shifting parameters using shift command](https://www.youtube.com/watch?v=48j0kxOFKZE) - -[IFS - Input Field Separator](https://www.youtube.com/watch?v=so8IRuhWjEM) - -[Writing CPU Usage script](https://www.youtube.com/watch?v=NQx43bY4lNo) - -[Writing Disk Utilization script](https://www.youtube.com/watch?v=yXhdDV13nrA) - -[Trouble shooting debugging shell scripts](https://www.youtube.com/watch?v=kgj-4_gmvi4) - -[Checking shell script errors and improvements using shellcheck.net site](https://www.youtube.com/watch?v=kgj-4_gmvi4) - -[Here Document to write paragraphs of text](https://www.youtube.com/watch?v=r9lb0ZxGFqE) - -[Getopts Function](https://www.youtube.com/watch?v=j-lEoC0DWI8) - -Tput making menu's - -Executing Multiple scripts from single script - -$(()) - Pass command to sub-shell - -logger logging messages to log file - -Exec to send input to terminal - -Resource to Download - -[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_wile48/) - -[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_pack42/) - -[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_advb01/) - -[Shell Scripting Book](https://arkit-in.tradepub.com/free/w_wile54/) - diff --git a/jayk.txt b/jayk.txt new file mode 100644 index 0000000..f23a04e --- /dev/null +++ b/jayk.txt @@ -0,0 +1,2 @@ +#!/bin/bash +echo today looks good diff --git a/jerry.txt b/jerry.txt deleted file mode 100644 index 57f40f2..0000000 --- a/jerry.txt +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/johnson.sh b/johnson.sh deleted file mode 100644 index fac124e..0000000 --- a/johnson.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/kwame.sh b/kwame.sh deleted file mode 100644 index d71c4af..0000000 --- a/kwame.sh +++ /dev/null @@ -1,21 +0,0 @@ -# !/bin/bash -# Author : emma debrah - -mkdir music videos images - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - - - - -tree diff --git a/leslie.sh b/leslie.sh deleted file mode 100644 index 57f40f2..0000000 --- a/leslie.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/marious.sh b/marious.sh deleted file mode 100644 index 3022eb4..0000000 --- a/marious.sh +++ /dev/null @@ -1,32 +0,0 @@ - -Author:Marious Schillings -#!/bin/bash - -# create directories if they do not exist -mkdir -p music -mkdir -p images -mkdir -p videos - -# move music files to the "music" directory -for file in *.mp3 *.flac -do - [ -e "$file" ] && mv "$file" music/ -done - -# move image files to the "images" directory -for file in *-jpg *.png -do - [ -e "$file" ] && mv "$file" images/ -done - -# move video files to the "videos" directory -for file in *.avi *.mov -do - [ -e "$file" ] && mv "$file" videos/ -done - -# remove log files -for file in *.log -do - [ -e "$file" ] && rm "$file" -done diff --git a/mikeass.sh b/mikeass.sh deleted file mode 100644 index 9636f98..0000000 --- a/mikeass.sh +++ /dev/null @@ -1,18 +0,0 @@ -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log -tree diff --git a/music/AC.mp3 b/music/AC.mp3 new file mode 100644 index 0000000..e69de29 diff --git a/music/ACD.flac b/music/ACD.flac new file mode 100644 index 0000000..e69de29 diff --git a/music/BC.mp3 b/music/BC.mp3 new file mode 100644 index 0000000..e69de29 diff --git a/music/STONE.mp3 b/music/STONE.mp3 new file mode 100644 index 0000000..e69de29 diff --git a/music/WALE.mp3 b/music/WALE.mp3 new file mode 100644 index 0000000..e69de29 diff --git a/nanasam.sh b/nanasam.sh deleted file mode 100644 index 745a677..0000000 --- a/nanasam.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: nanasam - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/nik.sh b/nik.sh new file mode 100644 index 0000000..ab39d20 --- /dev/null +++ b/nik.sh @@ -0,0 +1,5 @@ +#!/bin/bash +#Date: 13/12/2023 +#Author: Nike Inc. + +Test Case I: diff --git a/nodejs-application b/nodejs-application new file mode 160000 index 0000000..afe4a19 --- /dev/null +++ b/nodejs-application @@ -0,0 +1 @@ +Subproject commit afe4a19a9ee80f4c52f3b7ff2db4ba770e933dbf diff --git a/okoruwa.sh b/okoruwa.sh deleted file mode 100644 index 92a3acb..0000000 --- a/okoruwa.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -#Author: Okoruwa - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images video - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov video - -rm *.log - -tree diff --git a/organise.sh b/organise.sh deleted file mode 100644 index 5d7d04a..0000000 --- a/organise.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Richard - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/owusu.sh b/owusu.sh deleted file mode 100644 index 182c24b..0000000 --- a/owusu.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Maxwell - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/p.solomon.sh b/p.solomon.sh deleted file mode 100644 index 0d9a516..0000000 --- a/p.solomon.sh +++ /dev/null @@ -1,41 +0,0 @@ -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree -Richmond to Everyone 9:20 PM -thanks -JOMACS - Johnson to Everyone 9:20 PM -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/pdushie.sh b/pdushie.sh deleted file mode 100644 index 57f40f2..0000000 --- a/pdushie.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: Johnson - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/practice.sh b/practice.sh deleted file mode 100644 index 8feaac0..0000000 --- a/practice.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash -#Author : Nana - - -echo "we shall strive hard to be devops engineers" -echo "this is just for practing" -echo "devops is the ish meeeeeehn" -echo "we go make am" - diff --git a/proflato.sh b/proflato.sh deleted file mode 100644 index 51c158e..0000000 --- a/proflato.sh +++ /dev/null @@ -1,19 +0,0 @@ -#1bin/bash -Author Proflato - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/raymond.sh b/raymond.sh deleted file mode 100644 index 2e76d24..0000000 --- a/raymond.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -#Author: Raymond - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/revert.txt b/revert.txt index 1959bff..c3dc0af 100644 --- a/revert.txt +++ b/revert.txt @@ -1 +1 @@ -not going as expected +Not going as expected diff --git a/rhcsa-ex200-certification.md b/rhcsa-ex200-certification.md deleted file mode 100644 index b0523d5..0000000 --- a/rhcsa-ex200-certification.md +++ /dev/null @@ -1,9 +0,0 @@ -A Red Hat Certified System Administrator (RHCSA) is able to perform the following tasks: - -Understand and use essential tools for handling files, directories, command-line environments, and documentation -Operate running systems, including booting into different run levels, identifying processes, starting and stopping virtual machines, and controlling services -Configure local storage using partitions and logical volumes -Create and configure file systems and file system attributes, such as permissions, encryption, access control lists, and network file systems -Deploy, configure, and maintain systems, including software installation, update, and core services -Manage users and groups, including use of a centralized directory for authentication -Manage security, including basic firewall and SELinux configuration diff --git a/selorm.sh b/selorm.sh deleted file mode 100644 index f88b473..0000000 --- a/selorm.sh +++ /dev/null @@ -1,37 +0,0 @@ -# !/bin/bash - -# Author: Selorm butsor Gamenyah - - - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log - -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg - -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf - -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - - - -mkdir music images videos - - - -mv *.mp3 *.flac music - - - -mv *.jpg *.png images - - - -mv *.avi *.mov videos - - - -rm *.log - - - -tree diff --git a/sena.sh b/sena.sh deleted file mode 100644 index 71fbcde..0000000 --- a/sena.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -# Author: sena - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log -dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg -nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf -van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree diff --git a/senanu.sh b/senanu.sh deleted file mode 100644 index da94905..0000000 --- a/senanu.sh +++ /dev/null @@ -1,19 +0,0 @@ -# !/bin/bash -#Author: Frank - - -touch b2.sh bashass.sh bash.sh black.mp3 bubu.avi dame.mov david.flac dev.log dino.log edochie.jpg efe.log games.avi hunger.mov mapple.jnp naija.jpg nana.mov peace.py pete.png python.py shata.flac sheriff.flac toyin.pdf van.avi wale.mp3 wike.avi wiz.mp3 yul.jpg yvonne.txt zanku.mp3 ghana.avi - -mkdir music images videos - -mv *.mp3 *.flac music - -mv *.jpg *.png images - -mv *.avi *.mov videos - -rm *.log - -tree - - diff --git a/terraform-aws-ec2-instance b/terraform-aws-ec2-instance new file mode 160000 index 0000000..3d2171e --- /dev/null +++ b/terraform-aws-ec2-instance @@ -0,0 +1 @@ +Subproject commit 3d2171ea3d5b757b8cc1957b86fef939450684e9 diff --git a/twumasi.sh b/twumasi.sh deleted file mode 100755 index 63f11de..0000000 --- a/twumasi.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -#Author: Aminu Mohammed Twumasi -#Email: sirtwumasi77@gmail.com -#Date Created: 06-03-2023 -#Date Modified: 06-03-2023 - -<