OS Shell Linux Scripting

Inquire now

 

Duration: 5 days – 35 hrs

 

Overview

Shell Scripts are supported by Unix and Linux OS. Bash Shell Scripting course will greatly enhance your skills and capabilities as a Linux power user. Koenig offers this Bash Shell Scripting course for professionals who have working knowledge of Linux or equivalent experience. Shell Scripting Training allows professionals to drive more power from a Linux operating system. Shell scripts combine to act as batch files, and are used for customization, automation, enhancement of performance and remote task management. Learn to create and debug complex scripts to automate operations and ease out your Linux administration load.

 

Objectives

  • Understanding the shell structure and its environment
  • Learning the key features and fundamentals of bash scripting
  • Carrying out arithmetic operations in a shell script
  • Creating interactive scripts
  • Incorporating different functionalities including flow control and decision making
  • Understanding and implementing various functions

Audience

  • System administrators
  • Network Administrators
  • Programmers
  • Support Professionals
  • Linux users

 

Pre- requisites 

  • Any candidate with basic knowledge of computer and networking

 

Course Content

 

Overview

  • UNIX History 
  • UNIX Principles 
  • GNU Project / FSF 
  • GPL – GNU General Public License 
  • Linux Origins 
  • Why Linux? 
  • Recommended Hardware Specifications 
  • Local Logins 
  • Virtual Consoles 
  • Changing Your Password

 

Running Commands and Getting Help

  • Running Commands 
  • Some Simple Commands 
  • Getting Help 
  • The whatis Command 
  • The –help Option 
  • Reading Usage Summaries 
  • The man Command 
  • Navigating man Pages 
  • The info Command 
  • Navigating info Pages 
  • Extended Documentation 
  • Red Hat Documentation 
  • Hands-on Lab: Getting Help with Commands

 

Browsing the Filesystem

  • Linux File Hierarchy Concepts 
  • Some Important Directories 
  • Other Important Directories 
  • Current Working Directory 
  • File and Directory Names 
  • Absolute Pathnames 
  • Relative Pathnames 
  • Changing Directories 
  • Listing Directory Contents 
  • Copying Files and Directories 
  • Copying Files and Directories: The Destination 
  • Moving and Renaming Files and Directories 
  • Moving and Renaming Files and Directories: The
  • Destination 
  • Creating and Removing Files 
  • Creating and Removing Directories 
  • Using Nautilus 
  • Moving and Copying in Nautilus 
  • Determining File Content 
  • Viewing an Entire Text File 
  • Viewing Text Page by Page

 

The bash Shell

  • bash Introduction 
  • bash Heritage and Features 
  • Command Line Shortcuts: File Globbing 
  • Command Line Shortcuts: The Tab Key 
  • Command Line Shortcuts: history 
  • Command Line Expansion: Tilde 
  • Command Line Expansion: Variable and String 
  • Command Line Expansion: Command and Math 
  • Protecting from Expansion: Backslash 
  • Protecting from Expansion: Quotes 
  • History Tricks 
  • Command Editing Tricks 
  • Command Editing Tricks: Editing Modes 
  • gnome-terminal

 

Standard I/O and Pipes

  • Standard Input and Output 
  • Redirecting Input and Output 
  • Redirecting Output 
  • Redirecting Standard Output 
  • Overwriting or Appending 
  • Redirecting Standard Error 
  • Redirecting Both Standard Output and Error 
  • Redirecting Input 
  • Using Pipes to Connect Processes 
  • Useful Pipe Targets 
  • tee 
  • Hands-on Lab: Standard I/O and Pipes

 

Users, Groups, and Permissions

  • The Linux Security Model 
  • Users 
  • Groups 
  • The root User 
  • Linux File Security 
  • Permission Types 
  • Examing Permissions 
  • Interpreting Permissions 
  • Examining Directories 
  • Linux Process Security 
  • Changing Permissions- Symbolic Method 
  • Changing Permissions- Numeric Method 
  • Changing Permissions- Nautilus 
  • Hands-on Lab: File Permissions

 

vi and vim Editor Basics and Printing

  • Overview of vi and vim 
  • Starting vi and vim 
  • Three Modes of vi and vim 
  • Cursor Movement 
  • Entering Insert Mode 
  • Leaving Insert Mode: 
  • Change, Delete, and Yank 
  • Put (paste) 
  • Undoing Changes 
  • Searching for Text 
  • Command-Mode Tricks 
  • Saving and Exiting: ex mode 
  • Printing in Linux 
  • Printing Commands 
  • Printing Utilities

 

The Linux Filesystem In-Depth

  • Partitions and Filesystems 
  • Inodes 
  • Directories 
  • Inodes and Directories 
  • cp and Inodes 
  • mv and Inodes 
  • rm and Inodes 
  • Symbolic (or Soft) Links 
  • Hard Links 
  • The Seven Fundamental Filetypes 
  • Checking Free Space 
  • Removable Media 
  • Mounting CDs and DVDs 
  • Mounting USB Media 
  • Mounting Floppy Disks 
  • Formatting Floppy Disks 
  • Why Archive Files? 
  • Creating an Archive 
  • Inspecting Archives 
  • Extracting an Archive 
  • Why Use File Compression? 
  • Compression Utilities 
  • Using Compression 
  • Compressing Archives 
  • tar to Unformatted Floppies

 

Configuring the bash Shell

  • Configuring the bash Shell 
  • Variables 
  • Configuring the Shell: Local Variables 
  • Common Local Variables 
  • The PS1 Local Variable 
  • Aliases 
  • Other Shell Configuration Methods 
  • Configuring Commands: Environment Variables 
  • Common Environment Variables 
  • The TERM Environment Variable 
  • The PATH Environment Variable 
  • How the Shell Expands the Command Line 
  • Shell Startup Scripts 
  • Login Shells 
  • Startup Scripts: Order of Execution 
  • /etc/profile 
  • /etc/profile.d 
  • ~/.bash_profile and ~/.bashrc 
  • ~/.bash_logout
  • Module 10: Advanced Topics in Users, Groups,
  • and Permissions
  • User and Group ID Numbers 
  • /etc/passwd, /etc/shadow, and /etc/group Files 
  • System Users and Groups 
  • Changing Your Identity 
  • User Information Commands 
  • Default Permissions 
  • Special Permissions 
  • Special Permissions for Executables 
  • Special Permissions for Directories
  • Module 11: Advanced Uses of the vi and vim
  • Editors
  • File Repositioning 
  • Screen Repositioning 
  • Filtering 
  • ex mode: Search and Replace 
  • Visual Mode 
  • Advanced Reading and Saving 
  • Configuring vi and vim 
  • Expanding your Vocabulary 
  • A Peek at the Appendix

 

Introduction to String Processing

  • head 
  • tail 
  • tail – continued 
  • wc 
  • sort 
  • uniq 
  • cut 
  • Other String Processing Tools 
  • Version Comparison with diff 
  • Spell Checking with aspell 
  • Formatting Tools
  • Module 13: String Processing with Regular
  • Expressions
  • Pattern Matching with Regular Expresions 
  • Wildcard Characters 
  • Modifiers 
  • Anchors 
  • regex Combinations 
  • Regular Expressions – Examples 
  • Quote your regex's! 
  • grep 
  • sed 
  • Using sed 
  • less and slocate 
  • Regular Expressions in vi and vim 
  • Extended Regular Expressions 
  • Extended regex Syntax 
  • awk 
  • Using awk

 

Finding and Processing Files

  • slocate 
  • slocate Examples 
  • find 
  • Basic find Examples 
  • find and Logical Operators 
  • find and Permissions 
  • find and Numeric Criteria 
  • find and Access Times 
  • Executing Commands with find 
  • find Execution Examples 
  • The Gnome Search Tool

 

Investigating and Managing Processes

  • What is a Process? 
  • How Processes Are Created 
  • Process Ancestry 
  • Process States 
  • Viewing Processes 
  • Sending Signals to Processes 
  • Terminating Processes 
  • Altering Process Scheduling Priority 
  • Altering Process Scheduling Priority- continued 
  • Interactive Process Management Tools 
  • Running a Process in the Foreground 
  • Running a Process in the Background 
  • Suspending a Process 
  • Listing Background and Suspended Jobs 
  • Resuming Suspended Jobs 
  • Compound Commands 
  • Scheduling a Process to Execute Later 
  • Scheduling Periodic Processes 
  • Using cron 
  • Crontab File Format
  • Module 16: Network Clients
  • wget 
  • Email and Messaging 
  • Non-GUI Mail Clients 
  • Remote Access and File Transfer 
  • ssh: Secure Shell 
  • scp: Secure Copy 
  • telnet and the "r" Services 
  • rsync 
  • lftp 
  • Network Diagnostic Tools

Inquire now

Best selling courses

CLOUD COMPUTING

Terraform

Terraform is a configuration orchestration tool for building and managing infrastructure on cloud & data centers. The course is instructor-led, live training (onsite or remote), and is designed for Engineers with little or no previous experience managing infrastructure. The course talks about in-depth Terraform syntax and techniques used to automate the setup and deployment of infrastructure.

Duration  3 days – 21 hrs    Overview    The ITIL Leadership – Digital and IT Strategy training course is designed for senior IT professionals, managers, and leaders who seek to navigate the complex landscape of digital transformation and IT strategy. This course focuses on providing strategic insights, leadership skills, and practical approaches for aligning...

PROGRAMMING / CODING

Spring Architecture and Design

Spring Cloud is a platform for building Java-based distributed systems and microservices. Building complex enterprise applications is challenging. Any change made to a part of the systems could trigger the need for changing the design of the entire system. By the end of this training, participants will have a solid understanding of Service-Oriented Architecture (SOA) and Microservice Architecture as well practical experience using Spring Cloud and related Spring technologies for rapidly developing their own cloud-scale, cloud-ready microservices.

BUSINESS INTELLIGENCE

Dax

Duration 5 days – 35 hrs   Overview The DAX (Data Analysis Expressions) Training Course is designed to provide participants with a comprehensive understanding of DAX, the powerful formula language used in Power BI, Excel, and SQL Server Analysis Services. This course covers the essential concepts, functions, and techniques required to create advanced calculations and...

OPERATING SYSTEMS

Linux Fundamentals

Linux Fundamental provides students a thorough introduction to Linux™ for those who are new to the Linux environment. Delegates will learn how to manage files and directories, utilize the vi editor, work with Linux security mechanisms to protect files and programs, work with the Linux shell to control the flow and processing of data through pipelines, design and write shell programs of moderate complexity, and manage multiple concurrent processes in order to achieve higher utilization of Linux. They will learn how to perform basic operations on the system and how quickly to solve problem.

PROGRAMMING / CODING

Google Apps Script

The Google Apps Script training course give you a detailed knowledge on coding like Automating data calculation, Fetching and sending data from third party software like Trello & Salesforce, connecting different sheets, Documents and other tools, Setting a trigger based on an event. This course is ideal for someone who use google sheets and have no coding background.

This workshop teaches the participants how to design and develop server side applications using the event-driven, non-blocking model framework Node.js. This program inducts the participant in some of the advanced concepts of the JavaScript language so that the participant is well equipped to build end-to-end application using JavaScript.

Duration: 3 days – 21 hrs   Overview This training course is designed to provide participants with a comprehensive understanding of Portfolio Management and Contract Management, focusing on best practices, tools, and techniques. The course covers the strategic alignment of projects within a portfolio, effective management of contracts, risk management, and optimization of resources to...

// BG EARTH WHEN NOT PLAYING

We use cookies on our website to personalize your experience by storing your preferences and recognizing repeat visits. By clicking “Accept”, you agree to the use of all cookies. You can also select “Cookie Settings” to adjust your preferences and provide more specific consent. Cookie Policy