Linux Bash Shell Scripting with Real Life Examples | Imran Afzal | Skillshare

Linux Bash Shell Scripting with Real Life Examples

Imran Afzal, Staff Systems Engineer / Manager

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
70 Lessons (11h 36m)
    • 1. Syllabus Overview

      6:02
    • 2. Welcome to Lab Setup

      3:24
    • 3. What is VirtualBox

      1:52
    • 4. Download and Install VirtualBox

      3:32
    • 5. Creating First Virtual Machine

      5:20
    • 6. Linux CentOS Installation

      23:24
    • 7. Welcome to Shell Scripting Basics

      1:54
    • 8. What is Kernel

      2:25
    • 9. What is Shell

      3:07
    • 10. What is Shell Scripting

      2:49
    • 11. Type of Shells

      6:49
    • 12. Starting a Shell

      11:02
    • 13. How to Run a Shell Script

      5:32
    • 14. Welcome to Scripting Standards

      2:10
    • 15. Scripts Naming Convention

      4:55
    • 16. Script File Permissions

      4:40
    • 17. Shell Script Format

      9:54
    • 18. Sequence of Script Execution

      1:45
    • 19. Welcome to Basic Shell Scripting

      3:44
    • 20. Create your first script Hello World

      10:00
    • 21. Run Basic Tasks Script

      9:50
    • 22. Run Basic Administration Tasks

      9:49
    • 23. Defining Variables

      7:54
    • 24. InputOutput Script

      14:26
    • 25. If then Scripts

      8:38
    • 26. Case statement

      7:04
    • 27. For loop Scripts

      7:43
    • 28. Do while Scripts

      5:40
    • 29. Exit Status

      8:48
    • 30. Welcome to Real Life Scripting

      1:04
    • 31. Accessing data from a file

      20:59
    • 32. Check Remote Servers Connectivity

      24:29
    • 33. Script Scheduling and Notification

      8:22
    • 34. Script to Delete Old Files

      10:52
    • 35. Backup Filesystem

      17:23
    • 36. For loops Scripts for File System 1

      24:52
    • 37. For loops Scripts for File System 2

      10:07
    • 38. Copy Files to Remote Hosts

      5:28
    • 39. User Directory Assignment

      9:14
    • 40. List of Users Logged in by Date

      15:30
    • 41. Script for Central Logging (rsyslog)

      23:56
    • 42. Script for User Account Management

      24:32
    • 43. Disable Inactive Users

      15:11
    • 44. Check Process Status and Killing it

      9:12
    • 45. Disk Space Status

      27:30
    • 46. Status on Total Number of Files

      8:38
    • 47. Create System Inventory

      33:00
    • 48. Getting Online Help

      13:04
    • 49. Congrats

      0:13
    • 50. Welcome to Bonus Section

      0:12
    • 51. Welcome to Bonus Section

      0:12
    • 52. Important Things to remember

      1:01
    • 53. Linux File Type

      1:27
    • 54. Wildcards

      10:01
    • 55. Soft and Hard Link

      12:16
    • 56. File Ownership Commands

      11:35
    • 57. TAB and Up Arrow

      6:27
    • 58. Combining and Splitting Files

      6:46
    • 59. Linux File Editor vi

      14:32
    • 60. Sed Command

      21:00
    • 61. System Utility Commands

      8:48
    • 62. System Log Monitoring

      11:08
    • 63. Terminal Commands

      6:18
    • 64. Aliases

      9:39
    • 65. NIC Bonding

      17:42
    • 66. File Transfer

      10:25
    • 67. RAID

      4:45
    • 68. Facts About IT

      4:32
    • 69. Difference Between Linux 5, 6 and 7

      14:45
    • 70. Securing Linux Machine OS Hardening

      24:26

About This Class

This course is design for those who have some experience in Linux and want to learn or refine their Linux shell scripting skills.  Most of the scripts practiced in this training are based on real life examples.

For the hobbyists this is fun to do, for the aspiring Linux system admins these are essential skills and for the experienced Linux engineers these are skills to be consolidated

In this training we will cover the following:

  • Section 1 – (Lab Setup)

    ·         What is Virtual Box?

    ·         Downloading and installing Virtual Box

    ·         Creating first virtual machine

    ·         Linux installation

     

    Section: 2 – (Shell Scripting Basics)

    ·         What is Kernel?

    ·         What is a Shell?

    ·         Shell Scripting?

    ·         Type of Shells

    ·         Starting a Shell

    ·         How to Run a Shell Script

     

    Section: 3 – (Scripting Standards)

    ·         Naming Convention

    ·         Script File Permissions

    ·         Shell Script Format

    ·         Sequence of Script Execution

     

    Section: 4 – (Basic Shell Scripts)

    ·         Creating 1st script

    ·         Script to run basic tasks

    ·         Defining variable

    ·         Input/output script

    ·         Conditions/If else statement scripts

    ·         Case statement scripts

    ·         For loop scripts

    ·         Do-while scripts

    ·         Exist Status

    ·         Handouts

     

    Section: 5 – (Real Life Scripts)

    ·         Accessing data from files

    ·         Check remote servers connectivity

    ·         Script for scheduling and notification

    ·         Script to delete old files

    ·         Backup filesystem

    ·         For loops scripts for file system – 1

    ·         For loops scripts for file system – 2

    ·         Copy files to remote hosts

    ·         User directory assignment

    ·         List of users logged in by date

    ·         Central logging (rsyslog) script

    ·         Script for user account management

    ·         Disable inactive users

    ·         Check process status and killing it

    ·         Status on total number of files

    ·         Script to create system inventory

    ·         Getting online help

    ·         Homework

  • Bonus – (Extras)

    ·         This section has so many extra lessons on Linux

29

Students

--

Projects

  • --
  • Beginner
  • Intermediate
  • Advanced
  • All Levels
  • Beg/Int
  • Int/Adv

Level

Community Generated

The level is determined by a majority opinion of students who have reviewed this class. The teacher's recommendation is shown until at least 5 student responses are collected.

Imran Afzal

Staff Systems Engineer / Manager

Hello, I'm Imran Afzal and here is my education and experience:

About Me:

Imran Afzal

Education:

Bachelors in Computer Information Systems (Baruch College, City University of New York)

Master of Business Administration (New York Institute of Technolgy)

Experience:

- Over 16 Years of IT Infrastructure experience

- 2 years of training experience in Linux, VMWare, Windows and man...

See full profile

Report class