Learn Bash Scripting from Scratch
Learn to automate anything in Linux
Bash,Linux Administration,IT & Software,Shell Scripting
Lectures -12
Duration -1.5 hours
30-days Money-Back Guarantee
Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.
Course Description
We'll start by setting up a very simple script, then we'll move from there and cover how to deal with variables, functions, conditional statements, loops, arrays and how to manipulate text using sed, awk and regular expressions.
Once covered the fundamentals of the bash scripting language we're going to write three scripts:
- a simple universal archive extractor: this script will allow us to extract any compressed archive (tar.gz, 7z, rar, zip, bz, tbz2 and more) just by typing a command. This script will contain no more than 30 lines of code.
- a batch renaming tool: the script is going to take the folder to process as an argument, then will batch rename all the files in the folder with a given extension. It will then rename all the files in the folder either with a sequential number or with a user supplied keyword, then a sequential number.
- a tool to generate automatic backups based on a schedule: this script is going to generate a tar.gz file by appending the current system date and time to the original folder name provided as an argument, we'll then proceed to use cron jobs to schedule the script execution based on our preference.
By the end of the course you will be able to write scripts on your own to automate anything in Linux.
Who should take this course?
- Anyone who'd like to learn how to learn bash scripting to automate all sorts of tasks in Linux
Goals
What will students achieve or be able to do after taking your course?
- You will be able to write your own bash scripts to automate just about anything in Linux
Prerequisites
What knowledge & tools are required?
- A PC with Linux installed either as the main OS or in a virtualized environment with VirtualBox or VMWare
- Basic knowledge of the Linux command line, a free course is available on the Prime Radiant Security YouTube channel
![Learn Bash Scripting from Scratch Learn Bash Scripting from Scratch](https://d3mxt5v3yxgcsr.cloudfront.net/courses/15243/course_15243_image.jpg)
Curriculum
Check out the detailed breakdown of what’s inside the course
Course Introduction
1 Lectures
-
Introduction 02:45 02:45
Bash Scripting Fundamentals
7 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Little Bash Scripting Projects
3 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Course End
1 Lectures
![Tutorialspoint](/market/public/assets/images/loader.gif)
Instructor Details
![Adriano Gattabuia](https://www.tutorialspoint.com/assets/profiles/648500/profile/200_4140813-1692359536.jpg)
Adriano Gattabuia
Course Certificate
Use your certificate to make a career change or to advance in your current career.
![sample Tutorialspoint certificate](/market/public/assets/newDesign/img/primePacks/V-certificate.png)
Our students work
with the Best
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfc bank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
![adobe logo](/market/public/assets/newDesign/img/adobe.png)
![adp logo](/market/public/assets/newDesign/img/adp.png)
![apple logo](/market/public/assets/newDesign/img/apple.png)
![armani logo](/market/public/assets/newDesign/img/armani.jpg)
![bosch logo](/market/public/assets/newDesign/img/bosch.png)
![capegemini logo](/market/public/assets/newDesign/img/capegemini.png)
![cisco logo](/market/public/assets/newDesign/img/cisco.png)
![hdfcbank logo](/market/public/assets/newDesign/img/hdfcbank.png)
![ibm logo](/market/public/assets/newDesign/img/ibm.png)
![intel logo](/market/public/assets/newDesign/img/intel.png)
![mastercard logo](/market/public/assets/newDesign/img/mastercard.png)
![netflix logo](/market/public/assets/newDesign/img/netflix.png)
![qualcomm logo](/market/public/assets/newDesign/img/qualcomm.png)
![samsung logo](/market/public/assets/newDesign/img/samsung.png)
![sony logo](/market/public/assets/newDesign/img/sony.png)
![unilever logo](/market/public/assets/newDesign/img/unilever.png)
![walmart logo](/market/public/assets/newDesign/img/walmart.png)
Related Video Courses
View MoreAnnual Membership
Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses
Subscribe now![Annual Membership Annual Membership](/market/public/assets/newDesign/img/membership-large-small.jpg)
Online Certifications
Master prominent technologies at full length and become a valued certified professional.
Explore Now![Online Certifications Online Certifications](/market/public/assets/newDesign/img/traning-for-a-team.png)