Innovation... driven by intelligence and logic

Shell Scripting using Bash

Modules and Projects

in

Embedded Systems Software Engineering


Module 02: Shell Scripting  using Bash

Abstract:

The shell is a command interpreter. More than just the insulating layer between the operating system kernel and the user, it's also a fairly powerful programming language. A shell program, called a script, is an easy -to- use tool for building applications by "gluing together" system calls, tools, utilities, and compiled binaries. Virtually the entire repertoire of UNIX commands, utilities, and tools is available for invocation by a shell script. Shell scrip ts are especially well suited for administrative system tasks and other routine repetitive tasks not requiring the bells and whistles of a full-blown tightly structured programming language. This training concentrates on developing the understanding and programming skills for shell scripting using Bash shell.

Training Contents for Module 3: Shell Scripting using Bash

  • ​Introduction to Bash Shell
  • Basics For Shell Scripting on Linux
  • Tools to Edit Shell Scripts
  • Writing Scripts
    • Referencing Variables
    • Looping and Iteration
    • Conditions with if and case
    • Looping using While and Until
  • Interacting with the Environment
    • Examining Environment Variables
    • Customizing Your Account
    • Handling Command-Line Arguments
    • Making Scripts Executable
  • Scripting with Files
    • Working with File Modes
    • Testing Files with the test Command
    • Here Files and Interactive Programs
  • Creating Command Pipelines 
  • Shell Scripting Functions
    • Defining Functions
    • Using Functions
    • Using Arguments with Functions
    • Using Return Codes with Functions
    • Variable Scope: Think Globally, Act Locally
    • Understanding Recursion
  • Processing Text with sed
    • Introducing sed
    • sed Versions
    • Installing sed
    • Invoking sed
    • Editing Commands
    • Selecting Lines to Operate On
    • Substitution
    • Advanced sed Invocation
  • Graphing Data with MRTG
    • Working with MRTG
    • Monitoring Other Data with MRTG
    • Installing MRTG
    • Writing Scripts for MRTG
    • Configuring MRTG
    • Running MRTG
    • Monitoring Your Computer with MRTG
    • Monitoring Networks with MRTG
    • Monitoring Applications with MRTG
    • Debugging Shell Scripts
    • Deciphering Error Messages
    • Running Scripts in Debugging Mode
  • Scripting for Administrators
    • Why Write Scripts
    • Scripting Complicated Commands
    • Troubleshooting Your Systems
    • Removing Minor Annoyances
    • Cleaning Up Data
    • Automating Daily Work

Other Modules in ESSE Training are as follows.

Sl No

Module/Project

Sessions

labs

Hours

1

Linux System Administration.   click here for more...

5

5

30

2

Data Structures with C using Linux, vim, gcc, gdb, SCCT.   click here for more...

25

35

190

3

Shell Scripting using Bash.   click here for more...

10

5

52

4

Linux Network Administration.   click here for more...

5

5

30

5

C++ with Eclipse and QT on Linux.   click here for more...

20

25

160

6

Linux System Programming using Processes, IPC, Sync & threads.   click here for more...

10

15

80

7

Linux System Programming, Data Management and MySQL.   click here for more...

10

10

44

8

Linux Network Programming using Sockets & NW Protocols.   click here for more...

10

15

80

9

Character Device Driver Development.   click here for more...

20

20

120

10

Parallel Port Device Driver Development.   click here for more...

5

5

30

11

Serial Port Device Driver Development.   click here for more...

5

5

30

12

Block Device Driver Development.   click here for more...

10

10

60

13

Embedded Linux ARM, Configuring and Porting using Storage.   click here for more...

10

10

60

14

An Embedded Linux on ARM, Configuring GUI and Interfaces.   click here for more...

10

10

60

15

Programming and Scripting using Python using Eclipse on Linux.   click here for more...

20

20

120

 

Total

175

Sessions

195

Labs

1130

Hours


__Back__


EmbLogic™ is an ISO 9001:2008(QMS) (Quality Management System) Certified Company.

Go to Top ^