Shell scripts are short programs that are written in a shell programming language and interpreted by a shell process. They are extremely useful for automating tasks on Linux and other Unix-like operating systems A shell is a program that provides the traditional, text-only user interface for Unix-like operating systems. Its primary function is to read commands (i.e., instructions) that are typed into a console (i.e., an all-text display mode) or terminal window (i.e., all-text mode window) and then execute (i.e., run) them. The default shell on Linux is the very commonly used and highly versatile bash. A programming language is a precise, artificial language that is used to write computer programs, which are sets of instructions that can be automatically translated (i.e., interpreted or compiled) into a form (i.e., machine language) that is directly understandable by a computer's central processing unit (CPU). A feature of bash and other shells used on Unix-like operating systems is that each contains a built-in programming language, referred to as a shell programming language or shell scripting language, which is used to create shell scripts. Among the advantages of using shell scripts are that they can be very easy to create and that a large number are already available in books and on the Internet for use with or without modification for a wide variety of tasks. Shell scripts are also employed extensively in the default installations of Unix-like operating systems.
COURSE CONTENT LEVEL I • Unit 1: Introduction Linux Shell Script • Unit 2: Linux Shell Script Fundamental • Unit 3: Environment • Unit 4: Writing script & executing basic script • Unit 5: Variables (default variables), expressions • Unit 6: Conditional statements, Logical operators-AND, OR, NOT • Unit 7: Loops (While, Do While, For, Until, Break & continue) • Unit 8: Command line arguments • Unit 9: Functions & file manipulations • Unit 10: Regular Expression & Filters COURSE CONTENT LEVEL II • Unit 1: Adv. Scripting Techniques (Shell & subshells, Arrays) • Unit 2: Dialog boxes • Unit 3: Remote Shell execution • Unit 4: Connecting to MySQL using shell • Unit 5: Running SQL queries from a shell script • Unit 6: Essential System Administration jobs • Unit 7: Managing disk space/file system • Unit 8: Start up-Shutdown scripts • Unit 9: Backup-cpio-tar • Unit 10: Monitoring, health check