Shell Scripting Practice Exercises with Demonstration

via Udemy

Go to Course: https://www.udemy.com/course/shell-scripting-practice-exercises-with-demonstration/

Overview

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 OverviewCourse OverviewSection 2: Lab SetupInstallation of Virtual BoxDownload & Installation of Linux(CentOS) on VirtualBox Step by Step Download, Install and connect through puttySection 3: Shell Scripting StandardsThe ShellWhat is Shell Scripting? Naming Convention for Shell ScriptShell Scripting FormatFile Permissions in Linux How to Run a Shell Script Basic Commands used in Shell Scripting Listing files and understanding LS outputText Editor vi IntroductionQuizSection 4: Shell Scripting Basic ConceptsCreating first script - Hello WorldDefining variableArithmetic Expressions in Shell ScriptingString Manipulation in Shell ScriptingString Comparisons in Shell ScriptingRead and Echo (Input/Output) statementsRelational Operators in Shell ScriptingConditional Statements (Decision Making)Case StatementFor loop in Shell ScriptingDo-while in Shell ScriptingUntil Loop in Shell ScriptingSelect Loop in Shell ScriptingInfinite Loops, and SleepingExit Status in Shell ScriptingSpecial Variables in Shell ScriptingQuizSection 5: Working with Functions, Arrays and StringFunctions in Shell ScriptingPassing Parameters to a FunctionNested FunctionsIndexed array in Shell ScriptingAssociative array in shell ScriptingString ConcatenationExtract a substring from a stringNested Loop in Shell ScriptingNested Conditions in Shell ScriptingShifting in Shell ScriptingQuizSection 6: Real Life ScriptingSearching and Extracting Data from FilesShell script to delete oldest files and foldersShell Script to Backup Files in DirectoryHow to use Loops in a file system?Check Users Logged In, Ordered by Date, or IP AddressHow 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 databaseGet data from live database serverQuizSection 7: Additional ContentThe Linux Directory StructureAbsolute vs relative path of a directoryCreating files and directories by command lineChanging File PermissionsModify File Ownership for user and groupCopying Directories and FilesRemoving Directories and Fileshead and tail commandsWild CardsGrepPipeShell AliasesCompressing and archiving files (using tar, gzip)Explanation of Tab Key CompletionFind your IP address in linuxUser and group administration by commandPing commandHandouts

Skills

Reviews