2.1.2 ‐ Dev Tools - Zach-ATK/reading-notes GitHub Wiki
Begin with a statement addressing why this topic matters as it relates to what you are studying in this module.
What is Bash?
This article summarizes the usage of terminals and bash shells within linux. Providing context and understanding as to why linux relies so heavily on shells to provide functionality and versatility to the system.
Answer each and every question or prompt presented in the assignment above.
- to be a command line interface, providing users the ability to run commands and scripts in a text environment.
- Bash will search specific directories to see if the command exists. If the command exists, it will execute the command. 1
- by typing echo $0.1
- Because you can create a file that contains a collection of commands (script) and have the entire script run by simply opening that file. For instance, you can make a file (sudo vim /home/script1.sh) and type in that script:
sudo apt update && apt upgrade -y echo Great Job - Everything is updated and ready to go
:wq to save and exit
sudo chmod 755 + X /home/script1.sh to make it executable and to ensure you can run it
/home/script1.sh to run the command\
5. Bash scripting allows for customization, automation, and efficiency. Discuss methods or practices from your previous work experience or cultural background that aim to achieve similar goals in daily tasks.
- I have relied heavily on excel and vba to improve on customization, automation, and efficiency. At one point in time, I used MS Access to collect multiple excel files, convert them into one database, and provide automations to update all excel files as changes were made. Additionally, this provided a visual framework for human usage.
Make a section in your notes titled Things I want to know more about, and anytime a question arises in your mind, or something catches your curiosity, note it under this heading.\
- helpful scripts.