Shell Scripting Practice Exercises with Demonstration
- Description
- Curriculum
- FAQ
- Reviews
This course will be beneficial for anyone who is interested in automating tasks or creating simple programs on a Linux operating system. Some examples of people who might benefit from learning shell scripting include: System administrators will be able to automate system maintenance tasks, such as backups and server updates. Data scientists will be able to learn about pre-process and organize data sets, or to automate data analysis pipelines. Web developers will be able to use to automate the deployment of web applications or to set up a local development environment. DevOps professionals will be able to use to automate the build, test, and deployment processes of software projects.
In this course we will cover the following:
Section 1: Course Overview
-
Course Overview
Section 2: Lab Setup
-
Installation of Virtual Box
-
Download & Installation of Linux(CentOS) on VirtualBox Step by Step
-
Download, Install and connect through putty
Section 3: Shell Scripting Standards
-
The Shell
-
What is Shell Scripting?
-
Naming Convention for Shell Script
-
Shell Scripting Format
-
File Permissions in Linux
-
How to Run a Shell Script
-
Basic Commands used in Shell Scripting
-
Listing files and understanding LS output
-
Text Editor vi Introduction
-
Quiz
Section 4: Shell Scripting Basic Concepts
-
Creating first script – Hello World
-
Defining variable
-
Arithmetic Expressions in Shell Scripting
-
String Manipulation in Shell Scripting
-
String Comparisons in Shell Scripting
-
Read and Echo (Input/Output) statements
-
Relational Operators in Shell Scripting
-
Conditional Statements (Decision Making)
-
Case Statement
-
For loop in Shell Scripting
-
Do-while in Shell Scripting
-
Until Loop in Shell Scripting
-
Select Loop in Shell Scripting
-
Infinite Loops, and Sleeping
-
Exit Status in Shell Scripting
-
Special Variables in Shell Scripting
-
Quiz
Section 5: Working with Functions, Arrays and String
-
Functions in Shell Scripting
-
Passing Parameters to a Function
-
Nested Functions
-
Indexed array in Shell Scripting
-
Associative array in shell Scripting
-
String Concatenation
-
Extract a substring from a string
-
Nested Loop in Shell Scripting
-
Nested Conditions in Shell Scripting
-
Shifting in Shell Scripting
-
Quiz
Section 6: Real Life Scripting
-
Searching and Extracting Data from Files
-
Shell script to delete oldest files and folders
-
Shell Script to Backup Files in Directory
-
How to use Loops in a file system?
-
Check Users Logged In, Ordered by Date, or IP Address
-
How to trace log messages in a shell script?
-
How to automate user account creation?
-
How to check users not logged in?
-
How to track the process’s status and terminate it?
-
How to add and delete data from Inventory?
-
How to reuse one script information to another?
-
How to check the status and connectivity of remote hosts?
-
How to schedule script through cron job?
-
How to check disk space status?
-
How to create and verify created files?
-
How to create script on run time?
-
Store data on live server database
-
Get data from live database server
-
Quiz
Section 7: Additional Content
-
The Linux Directory Structure
-
Absolute vs relative path of a directory
-
Creating files and directories by command line
-
Changing File Permissions
-
Modify File Ownership for user and group
-
Copying Directories and Files
-
Removing Directories and Files
-
head and tail commands
-
Wild Cards
-
Grep
-
Pipe
-
Shell Aliases
-
Compressing and archiving files (using tar, gzip)
-
Explanation of Tab Key Completion
-
Find your IP address in linux
-
User and group administration by command
-
Ping command
-
Handouts
-
5The ShellVideo lesson
-
6What is Shell ScriptingVideo lesson
-
7Naming Convention for Shell ScriptVideo lesson
-
8Shell Scripting FormatVideo lesson
-
9File Permissions in LinuxVideo lesson
-
10How to Run a Shell ScriptVideo lesson
-
11Basic Commands used in Shell ScriptingVideo lesson
-
12Listing files and understanding LS outputVideo lesson
-
13TextEditor vi IntroductionVideo lesson
-
14QuizQuiz
-
15Creating 1st script - Hello WorldVideo lesson
-
16Defining VariableVideo lesson
-
17Arithmetic Expressions in Shell ScriptingVideo lesson
-
18String Manipulation in Shell ScriptingVideo lesson
-
19String Comparisons in Shell ScriptingVideo lesson
-
20Read and Echo (Input/Output) statementsVideo lesson
-
21Relational Operators in Shell ScriptingVideo lesson
-
22Conditional Statements (Decision Making)Video lesson
-
23Case StatementVideo lesson
-
24For loop in Shell ScriptingVideo lesson
-
25Do-while in Shell ScriptingVideo lesson
-
26The until Loop in Shell ScriptingVideo lesson
-
27Select Loop in Shell ScriptingVideo lesson
-
28Infinite Loops and SleepingVideo lesson
-
29Exit Status in Shell ScriptingVideo lesson
-
30Special Variables in Shell ScriptingVideo lesson
-
31QuizQuiz
-
32Functions in Shell ScriptingVideo lesson
-
33Passing Parameters to a FunctionVideo lesson
-
34Nested FunctionsVideo lesson
-
35Indexed Array in Shell ScriptingVideo lesson
-
36Associative Arrays in Shell ScriptingVideo lesson
-
37String ConcatenationVideo lesson
-
38Extract a substring from a stringVideo lesson
-
39Nested Loop in Shell ScriptingVideo lesson
-
40Nested Conditions in Shell ScriptingVideo lesson
-
41Shifting in Shell ScriptingVideo lesson
-
42QuizQuiz
-
43Searching and Extracting Data From FilesVideo lesson
-
44Shell script to delete oldest files and foldersVideo lesson
-
45Shell Script to Backup Files in DirectoryVideo lesson
-
46How to use Loops in a filesystemVideo lesson
-
47Check Users Logged In, Ordered by Date, or IP AddressVideo lesson
-
48How to trace log messages in a shell scriptVideo lesson
-
49How to automate user account creationVideo lesson
-
50How to check users not logged inVideo lesson
-
51How to track the process's status and terminate itVideo lesson
-
52How to add and delete data from InventoryVideo lesson
-
53How to reuse one script information to anotherVideo lesson
-
54How to check the status and connectivity of remote hostsVideo lesson
-
55How to schedule script through cron jobVideo lesson
-
56How to check disk space statusVideo lesson
-
57How to create and verify created filesVideo lesson
-
58How to create script on run timeVideo lesson
-
59Store data on live server databaseVideo lesson
-
60Get data from live database serverVideo lesson
-
61QuizQuiz
External Links May Contain Affiliate Links read more