- This repo is a compilation of different script language during our Ops and Cybersecurity course code challenges lab.
- I am learning this skill because these coding languages are beginnner-friendly.
- The proper steps to take when troubleshooting and fundamentals for writing and running scripts.
- I would say Lab 05 is my favorite since I had to do a lot of if functions and It makes me feel like I am actually writing complicated codes.
- These shell scripting can be applied for example when backing up files you can write a script to automatically back up files which is very helpful in a workplace.
- The function command which includes the if's, while's and other scripts you can use inside a function and also using grep in powershell and in bash script.
- Using automation of the shell script to a running application or program
[helloworld.sh]
(https://canvas.instructure.com/courses/6043921/assignments/34997961)
[lab03.sh]
(https://codefellows.github.io/ops-201-guide/curriculum/class-03/challenges/demo/bash.html)
[lab05.sh]
(https://linuxconfig.org/bash-script-yes-no-prompt-example)
[lab07.sh]
(https://www.geeksforgeeks.org/dmidecode-command-in-linux-with-examples/)
(https://ubunlog.com/en/dmidecode-version-bios-terminal/)
[lab08.sh]
(https://learn.microsoft.com/en-us/troubleshoot/windows-server/deployment/filenames-with-spaces-require-quotation-mark)
(https://stackoverflow.com/questions/2452226/master-branch-and-origin-master-have-diverged-how-to-undiverge-branches)
[lab09.ps1]
(https://social.technet.microsoft.com/Forums/en-US/7330844d-fcd3-4a05-9fd1-dda633397f1d/help-creating-last-24-hours-parameter-for-eventlog-script?forum=winserverpowershell)
(https://howardsimpson.blogspot.com/2020/11/get-eventlog-message-truncated-show-full-event-log-in-powershell.html)
(https://social.technet.microsoft.com/Forums/lync/en-US/10a22e33-4ca8-4e38-a1e9-ea4c22cfc922/extracting-event-logs-into-a-csv-file-txt-file-or-to-html-page?forum=winserverpowershell)
(https://lazyadmin.nl/powershell/running-scripts-is-disabled-on-this-system/#set-execution-policy-for-all-users)
[Lab10.ps1]
(https://ourtechroom.com/tech/open-weburl-using-powershell-commandline/)
(https://www.youtube.com/watch?v=zsJ2o42bV54)
[Lab11.ps1]
(https://github.com/superswan/Powershell-SysAdmin)
[Lab12.ps1]
(https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/select-string?view=powershell-7.3#description)
(https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/remove-item?view=powershell-7.3)
[Lab13.sh]
(https://www.linode.com/docs/guides/how-to-grep-for-text-in-files/)
301 Challenge 02
301 Challenge 03
(https://stackoverflow.com/questions/21277963/how-to-display-contents-of-all-files-under-a-directory-on-the-screen-using-unix)
(https://unix.stackexchange.com/questions/60459/how-to-make-bash-put-prompt-on-a-new-line-after-cat-command)
301 Challenge 04
(https://subinsb.com/bash-if-else-elif-conditions/)
(https://unix.stackexchange.com/questions/231953/how-to-get-the-current-date-and-time-in-yyyymmddhhmmss-format-in-ksh88)
(https://www.makeuseof.com/linux-zip-folder/)
301 Challenge 08/09
301 Challenge 10
301 Challenge 11
(https://stackoverflow.com/questions/62860280/git-push-missing-or-invalid-credentials-fatal-authentication-failed-for-http)
301 Challenge 12
(https://chat.openai.com/chat) for determining if the input is a link or not.
301 Challenge 13
301 Challenge 14 Explained line by line.