Diwali offer: Flat 30% off on all courses plus free career counselling. Ends 5 Nov.Claim offer

Bash Scripting Course in Delhi

Learn the Linux command line and automate tasks with Bash scripts. Practical, hands-on training at our Maujpur, Delhi centre.

3 Months Offline / Online Certificate Provided Project-Based Learning

Course Overview

Bash Scripting at White Fortress Academy teaches you to work confidently on the Linux command line and to automate repeated tasks with shell scripts. These skills are used every day by system administrators, DevOps engineers and cyber security professionals.


You start with the Linux environment and basic commands, then learn to write scripts with variables, conditions and loops. You then build automation scripts and schedule them to run on their own.


Most of the course is practical. You type commands and run scripts in every class.

Who Should Join This Course?

Students and beginners who want to learn Linux, aspiring system administrators and cyber security learners, and IT staff who want to save time by automating routine tasks.

Course Curriculum

31 modules · 93 topics

Intro to Linux Environment

4 modules
01

What Linux Is

3 topics
  • Linux Basics
  • Kernel vs operating system
  • Open source & free software
  • Where Linux is used: servers & cloud
  • Why sysadmins and security teams use it
  • Distributions
  • Ubuntu, Debian & Fedora
  • Kali Linux for security
  • Choosing a beginner distro
  • Setup & Users
  • Installing Ubuntu in a virtual machine
  • Root user vs normal user
  • The home directory
  • Checking your user identity
02

Terminal & Shell

3 topics
  • Terminal & Shell
  • Terminal vs shell vs console
  • Reading the prompt
  • Opening and using the terminal
  • Shell Types
  • bash, sh, zsh compared
  • Finding your current & available shells
  • Switching your default shell
  • Commands & Help
  • Command structure: options & arguments
  • Short vs long options
  • Manual pages
  • Quick command lookup & built-in help
03

File System Layout

3 topics
  • Directory Tree
  • Root directory
  • Configuration, variable data, programs & home folders
  • System programs, temporary files & devices
  • Virtual system folders
  • Paths
  • Absolute vs relative paths
  • Current & parent directory shortcuts
  • Printing & changing directories
  • Hidden Files
  • Dotfiles & hidden configuration
  • Listing hidden files & detailed listings
  • Why config files are hidden
04

Working in a Session

3 topics
  • Session Basics
  • Login, logout & exit
  • Checking logged-in users & login history
  • Switching users
  • Environment Variables
  • Common environment variables
  • Exporting & listing variables
  • Making variables permanent
  • Productivity Tools
  • Command history & repeat shortcut
  • Reverse history search
  • Tab completion & keyboard shortcuts
  • Command aliases

Basic Linux Commands

5 modules
05

Navigating & Managing Files

3 topics
  • Navigation & Creation
  • Navigation practice
  • Creating nested folders
  • Creating empty files
  • Viewing Files
  • Displaying file contents
  • Paging & searching within files
  • Viewing the start & end of files
  • Following live logs
  • Copy, Move & Delete
  • Copying directories
  • Moving & renaming files
  • Deleting files & directories
  • Wildcard characters
06

Permissions & Ownership

3 topics
  • Reading Permissions
  • Decoding detailed listings
  • Read, write & execute for user, group & others
  • Permissions on files vs directories
  • Changing Permissions
  • Symbolic permission changes
  • Numeric permission modes
  • Changing ownership & group
  • Default permissions
  • Users & Special Bits
  • Users & group files
  • Adding & modifying users & groups
  • Running tasks as administrator
  • SUID, SGID & sticky bit
07

Searching with grep & find

3 topics
  • grep Basics
  • Searching text in a file
  • Case-insensitive, numbered & inverted search
  • Recursive search & match counting
  • Extended pattern searching
  • Regular Expressions
  • Start & end anchors
  • Wildcard & repetition meaning
  • Character classes
  • find & locate
  • Finding by name & type
  • Finding by size & modified time
  • Running actions on found files
  • Fast file lookup & its database
08

Pipes & Redirection

3 topics
  • Standard Streams
  • stdin, stdout & stderr
  • Overwrite & append redirection
  • Redirecting error output
  • Discarding unwanted output
  • Pipes & Filters
  • Chaining commands with pipes
  • Numeric & reverse sorting
  • Counting unique lines
  • Counting lines, words & characters; splitting output
  • Archiving
  • Creating archives
  • Extracting archives
  • Compressed archives
09

Processes & Packages

3 topics
  • Process Commands
  • Listing running processes
  • Live process monitoring
  • Stopping processes
  • Process ID (PID) concept
  • Job Control
  • Running tasks in the background
  • Managing background & foreground jobs
  • Suspending a running task
  • Keeping long tasks running after logout
  • Packages & System Info
  • Updating & upgrading packages
  • Installing & removing packages
  • Kernel info, uptime & disk usage
  • Memory & CPU details

Shell Scripting Basics

4 modules
10

Writing & Running a Script

3 topics
  • First Script
  • Creating a script in a text editor
  • Printing output
  • Running the script
  • Style & Exit Codes
  • Comments & documentation
  • Naming and indenting style
  • Exit status of commands
  • Success & failure exit codes
  • Debugging
  • Trace mode debugging
  • Stopping on errors & unset variables
  • Reading error messages
11

Shebang & Permissions

3 topics
  • Shebang Line
  • Shebang line explained
  • Portable shebang line
  • Shebang must be the first line
  • Making Scripts Executable
  • Making a script executable
  • Running a script directly
  • Running a script through the interpreter
  • Permission denied fix
  • Location & Naming
  • Search path & locating commands
  • Moving scripts to a personal bin folder
  • Adding a folder to the search path
  • Naming scripts consistently
12

Script Arguments

3 topics
  • Positional Parameters
  • Script name parameter
  • Numbered arguments
  • All-arguments variables compared
  • Accessing arguments beyond the ninth
  • Argument Checks
  • Counting arguments
  • Checking for missing arguments
  • Printing usage messages
  • Shifting & Looping
  • Shifting arguments
  • Loop over all arguments
  • Passing quoted arguments
13

Reading User Input

3 topics
  • read Command
  • Reading input basics
  • Prompting for input
  • Hidden input for passwords
  • Input timeouts & character limits
  • Validating Input
  • Checking for empty input
  • Numeric input check
  • Re-asking until valid input
  • Command Substitution
  • Capturing command output
  • Old vs modern substitution syntax
  • Storing date or hostname output

Variables & Control in Bash

5 modules
14

Variables

3 topics
  • Variable Basics
  • Assigning values to variables
  • Reading variable values
  • Quotes: single vs double
  • Removing & locking variables
  • Variable Types
  • Local vs environment variables
  • Special built-in variables
  • Strings & integers in bash
  • Math & Arrays
  • Arithmetic expansion
  • Other arithmetic methods
  • Creating indexed arrays
  • Reading array items & length
15

if-else Conditions

3 topics
  • if Syntax
  • Structure of an if block
  • Else & else-if branches
  • Single vs double bracket tests
  • Test Operators
  • Numeric comparisons
  • String comparisons
  • File tests
  • Combining Conditions
  • AND & OR operators
  • Nested if statements
  • Checking command success
16

case Statements

3 topics
  • case Syntax
  • Structure of a case block
  • Case branch terminators
  • Matching a single variable
  • Patterns
  • Matching multiple patterns
  • Wildcard characters
  • Character ranges
  • Menu-Driven Scripts
  • Building a menu of options
  • Default case
  • Looping the menu until quit
17

Loops

3 topics
  • for Loops
  • Looping over a list
  • Looping over number ranges
  • C-style counting loops
  • while & until
  • Reading a file line by line
  • Counter loops with while
  • until loop basics
  • Infinite loops
  • Loop Control & Files
  • Breaking out & skipping iterations
  • Looping over files
  • Looping over command output
18

Functions

3 topics
  • Defining Functions
  • Function syntax
  • Calling a function
  • Functions before use
  • Parameters & Returns
  • Arguments inside functions
  • return status codes
  • echo with command substitution
  • Scope & Reuse
  • Local variables
  • Global vs local variables
  • Loading a function library
  • Building a utilities file

Automation Scripts

5 modules
19

Backup Scripts

3 topics
  • Backup Planning
  • Choosing source & destination
  • Full vs incremental backups
  • Simple attribute-preserving copy
  • tar Backups
  • Creating compressed backups
  • Excluding files from backups
  • Restoring from backups
  • Timestamps & Checks
  • Date & time formats
  • Timestamped backup names
  • Listing backup contents
  • Checking backup exit status
20

Clean-up Scripts

3 topics
  • Finding Old Files
  • Listing files older than a week
  • Finding log files
  • Finding large files
  • Deleting Safely
  • Deleting found files
  • Dry run: list before deleting
  • Confirmation prompt before deleting
  • Never deleting with unchecked variables
  • Disk Space
  • Checking disk usage
  • Checking folder sizes
  • Clearing temporary files & old logs
  • Compressing old logs
21

System & Disk Checks

3 topics
  • Disk & Memory
  • Disk usage threshold checks
  • Parsing memory figures
  • Extracting percentages from output
  • CPU & Services
  • Reading system load
  • Taking a CPU snapshot
  • Checking if a service is running
  • Restarting a stopped service
  • Health Report
  • Collecting hostname & date
  • Combining checks in one script
  • Saving report to a file
22

Text Processing

3 topics
  • sed Basics
  • Find & replace text
  • Printing specific lines
  • Editing files in place
  • Deleting lines from text
  • awk Basics
  • Extracting fields
  • Custom field delimiters
  • Conditional field processing
  • Summing a column
  • Formatting & Logs
  • Cutting columns
  • Changing text case
  • Parsing web server logs
  • Generating a report file
23

User & Process Automation

3 topics
  • User Management
  • Add users from a list
  • Creating users & setting passwords in scripts
  • Removing users & checking they exist
  • Process Monitoring
  • Checking if a process is running
  • Restart if process is down
  • Watching with a while loop
  • Logging & Alerts
  • Handling command failures
  • Writing timestamped logs
  • Cleaning up on exit
  • Email alerts

Task Scheduling

3 modules
24

Cron Basics

3 topics
  • What Cron Is
  • Job scheduler concept
  • The scheduler service
  • Use cases: backups & reports
  • Cron Files
  • User vs system schedule files
  • Daily & hourly schedule folders
  • Allow & deny lists
  • Checking the scheduler service
  • Environment & at
  • Limited environment in scheduled jobs
  • Setting variables for scheduled jobs
  • One-time scheduled jobs
  • Recurring vs one-time scheduling
25

crontab Syntax

3 topics
  • Field Format
  • Editing & listing schedules
  • Five time fields explained
  • Command field & full paths
  • Schedule Patterns
  • Running every minute
  • Step values
  • Lists & ranges in time fields
  • Weekdays at 9 AM
  • Shortcuts & Mistakes
  • Shortcut schedules
  • Relative paths failing
  • Missing newline at end
  • Special character escaping
26

Scheduling Your Scripts

3 topics
  • Scheduling a Script
  • Absolute path to script
  • Making the script executable
  • Testing manually before cron
  • Output & Logs
  • Redirecting job output to a log
  • Checking system logs
  • Emailing job output
  • Practical Schedules
  • Nightly backup at 2 AM
  • Weekly clean-up job
  • Disk check every hour
  • Best practices: lock & logging

Practical Exercises

4 modules
27

Command Practice

3 topics
  • Practice Sets
  • Navigation and file drills
  • Permission change exercises
  • Searching & finding challenge set
  • Scenarios & Troubleshooting
  • Find the 5 largest files
  • Fix 'Permission denied' error
  • Stopping a runaway process
  • Free up a full disk
  • Interview Prep
  • Common permission questions
  • Hard link vs soft link
  • Process vs thread basics
  • Explain pipes & redirection
28

Script Writing Tasks

3 topics
  • Writing Tasks
  • Even or odd checker
  • File existence checker
  • Multiplication table loop
  • Menu-driven calculator
  • Script Review
  • Peer review of scripts
  • Checklist: quotes, exit codes
  • Reading others' code
  • Common Errors & Style
  • Missing spaces in test brackets
  • Unquoted variables
  • Fixing syntax errors
  • Consistent indentation & naming
29

Mini Automation Project

3 topics
  • Planning & Design
  • Choosing a project idea
  • Listing inputs and outputs
  • Flow chart of steps
  • Building & Testing
  • Backup + clean-up + report
  • Writing functions step by step
  • Testing with sample data
  • Scheduling with the scheduler
  • Demonstration
  • Live demo of the script
  • Explaining the code
  • Answering viva questions
30

Revision

3 topics
  • Review & Mock Test
  • Revising commands by topic
  • Written mock test
  • Timed scripting test
  • Doubt Clearing
  • Revisiting weak topics
  • Debugging student scripts
  • Q&A session
  • Next Steps
  • Git & GitHub basics
  • Linux certifications (RHCSA, LPIC)
  • DevOps tools: Docker, Ansible
  • Cyber-security paths

AI-Assisted Scripting

1 module
31

Using AI for Shell Scripts

3 topics
  • Generating Scripts
  • Writing clear prompts
  • Stating OS, shell & inputs
  • Asking for comments in code
  • Understanding Commands
  • Asking AI to explain a command
  • Cross-checking with manuals
  • Spotting wrong options
  • Safe Testing
  • Spotting dangerous deletion & privilege risks
  • Reading every line first
  • Testing in a VM or temp folder
  • Dry runs before execution

Practice Projects

Project 1Automatic backup script
Project 2Log clean-up script with cron
Project 3System health report script
Project 4File organiser script
Project 5User account management script
Project 6Service monitoring and alert script

Tools & Technologies

Linux Terminal Bash Shell Ubuntu Linux cron VS Code

Career Opportunities

Linux System Administrator (Trainee)

Manage Linux servers and automate routine administration.

DevOps / SysAdmin

Automate server and deployment tasks with scripts.

Cyber Security Analyst

Linux and Bash are everyday tools in security work.

IT Support Engineer

Solve problems faster by automating repeated fixes.

Course Details

Duration3 Months (individual course)
ModeOffline (Delhi Centre) / Online Classes Available
Batch TimingMorning & Evening Batches (Mon–Sat)
EligibilityBasic computer knowledge required. No prior programming experience needed.
CertificateCompletion Certificate from White Fortress Academy provided on passing
SupportLive project assignments + Code review sessions + Placement guidance

Explore More Programming Courses

Want to practise first? Try our free Linux lab. No signup needed.

Frequently Asked Questions

How long is the Bash Scripting course in Delhi?

The Bash Scripting course takes 3 months. Batches run in the morning and evening, Monday to Saturday.

Do I need to know Linux before this course?

No. The course begins with the Linux environment and basic commands, so you can join with basic computer knowledge.

Do I need any prior knowledge to join?

Basic computer knowledge required. No prior programming experience needed.

Is the Bash Scripting course offline or online, and what are the batch timings?

Mode: Offline (Delhi Centre) / Online Classes Available. Batch timing: Morning & Evening Batches (Mon–Sat).

Will I get a certificate after the Bash Scripting course?

Yes. White Fortress Academy provides a completion certificate on passing the course.

Which tools will I use in the Bash Scripting course?

You will work with Linux Terminal, Bash Shell, Ubuntu Linux, cron, VS Code.

What jobs can I aim for after the Bash Scripting course?

Roles related to this skill include Linux System Administrator (Trainee), DevOps / SysAdmin, Cyber Security Analyst and IT Support Engineer. Hiring depends on your skills and the market. The academy's support includes live project assignments, code review sessions and placement guidance.

What is the fee for the Bash Scripting course, and can I try a demo class?

The fee is not listed on this page, so please ask the centre for the current fee and the next batch date. Call or WhatsApp +91 88104 71374, or visit 53, Maujpur Main Road, Opp. HDFC Bank, Delhi 110053 (Monday to Saturday, 9:00 AM to 8:00 PM). A free demo class is available.

Start Learning Bash Scripting Today!

Join a hands-on batch at our Maujpur, Delhi centre and learn by writing real code.

Enroll Now Ask on WhatsApp