Skip to content

This directory contains Shell scripting in bash programs by me...

Notifications You must be signed in to change notification settings

knockcat/Shell-Scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell-Scripting

This directory contains Shell scripting in bash programs by me...

A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter. The various dialects of shell scripts are considered to be scripting languages. A shell usually interprets a single line of input, but we can also create a file containing a number of lines of commands to be interpreted. This file is a program known as a shell script. The program can also contain control structures (if-then, loops). Shell scripts allow a sequence of commands to be executed automatically . Shell Scripting tutorial is designed to help beginners and professionals.

Introduction

using Variables and Comments

Read User Input

Pass Arguments to a Bash-Script

If Statement ( If then , If then else, If elif else)

File test operators

How to append output to the end of text file

Logical 'AND' Operator

Logical 'OR' Operator

Perform arithmetic operations

Floating point math operations in bash | bc Command

The case statement

The case statement Example

Array variables

WHILE Loops

using sleep and open terminal with WHILE Loops

Read a file content in Bash

UNTIL loop

FOR loop

use FOR loop to execute commands

Select loop

Break and continue

Functions

Local variables

Function Example

Readonly command

Signals and Traps

How to debug a bash script

About

This directory contains Shell scripting in bash programs by me...

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages