Automate with Shell Scripts: A Comprehensive Linux Admin Course

By Manjunatha VG
$35
Subjects:
Shell scripting, Linux shell programming
Level:
Beginner, Intermediate, Expert
Types:
Script
Language used:
English

Automate with Shell Scripts: A Comprehensive Linux Admin Course

This repository contains few basic shell scripts

Content Details

  • Connect to a Virtual Machine using Vagrant and VirtualBox
    • Add an operating system image in Vagrant
    • Create a Vagrant project folder
    • Launch Virtual Machine
    • Connect to the VM using secure shell
    • Stop the VM
    • Additional Info
  • How to create multiple VMs
  • Hello world shell script
    • Initial configuration steps (same for executing any shell scripts using Vagrant)
    • Understanding the folder structure in VM and local PC
    • Creating a shell file in Linux
    • Hello world shell script
    • Understanding the file permissions
    • Understanding builtin commands
  • Variables
    • Create a variable and display the value
    • Using variables inside a hard-coded text
    • Appending text to a variable
    • Combining two variables
  • Arithmetic expansion and valuation
    • Arithmetic expansion
    • Arithmetic operations using awk command
    • Arithemtic operations using ‘let’ command
    • Arithmetic operations using ‘expr’ command
  • Conditional statements
  • Exit status, Return codes, String test conditional
  • Reading Standard inputs, creating accounts, username conventions
    • Reading Standard inputs
    • Create an user account
  • Shell script to add users to Linux
  • Random Data, Cryptographic hash functions and string manipulation
    • Generate Random numbers – using builtin variables
    • Generate Random numbers – using date and time builtin variables
    • Generate Random numbers – using cryptographic hash functions (checksum)
    • Add special characters to the password
  • Positional Parameters, Arguments, for Loops and Special Parameters
    • Understanding the command serarch path or PATH env variable
    • Positional Parameter
    • Parameters
    • For loops and Special Parameter
  • While loops, infinite loops, Shifting and Sleeping
    • Loops, Sleep and Shift
  • Creating Local Users - Script 2
  • Standard Input, Standard Output and Standard error
    • STDIN and STDOUT
    • STDERR
  • Creating Local Users - Script 2
  • Case statements
  • Functions
    • Functions with no input arguments
    • Functions with input arguments
    • Functions with input arguments and global variables
    • Logger command
    • Another function to back up files
  • Parsing command line options with getopts
  • Deleting and Disabling Linux accounts
    • Finding files
    • Userdel command
    • Archiving files
    • Disabling account
  • Deleting local user
  • Cut and Awk commands
  • Sort and uniq commands
  • Parsing log files
  • Scripting remote commands

No reviews yet.