Shell Scripts to Control Your OS
Understand the importance of the command line
Learn basic functionalities
Do a simple automation on the command line using scripting
The command-line interface (CLI) in Linux (Shell) or Windows (Power Shell) is a powerful interpreter that can be used for dealing with the operating system or run programs you write using a particular scripting language. A shell script (or batch files in windows) can be a simple sequence of various operating system commands to a complex project which will automate a complex task.
Knowledge about scripting can be really useful for anybody who is using computers for their day to day work. As an example, one can develop a shell script to identify all the duplicate files in your hard disk and suggest you to delete them.
Knowledge of scripting is an urgent requirement for any Software engineering job, especially DevOps. DevOps engineers are automating many day-to-day repeated tasks using scripts to save their time.
Materials to Submit
Develop a shell script that will show the total, and average of a given array of numbers.
Upload the screenshots of the running program with its results and the program in a pdf.
- In this challenge we expect you to follow the tutorial https://www.learnshell.org. This tutorial has an online shell provided at the bottom of each section. You should complete all the practicals given on this tutorial.