Skip to content
⏳ Offer Ends Soon: Get 17 Linux courses, 4 certification courses, 7 eBooks and all future releases for life, just $99 → [Join Now]
Tecmint: Linux Howtos, Tutorials & Guides
  • Latest Tutorials
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
  • Advertise
Tecmint: Linux Howtos, Tutorials & Guides
  • Latest Tutorials
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
  • Advertise

script functions

Shell Scripting Functions

Understanding and Writing functions in Shell Scripts – Part VI

Functions play an important role in any programming language. Like many real programming languages, bash has functions which are used

TecMint Weekly
Get the Learn Linux 7 Days Crash Course free when you join 34,000+ Linux professionals reading every Thursday.
Check your email for a magic link to get started.
Something went wrong. Please try again.
Free forever. Unsubscribe anytime.
Learn Linux Right Way
17 structured courses, ad-free articles, and the weekly newsletter in one place.
  • ✓SSH, Bash, Ubuntu, Golang, n8n, AI for Linux, Claude for Linux, RHCSA, RHCE, LFCS, LFCA and more
  • ✓Ad-free access to all premium articles
  • ✓Priority help and Telegram community
  • ✓Weekly newsletter every Thursday
Join Root for $59/yr →

Linux Server Monitoring Tools

Configure Collectd as a Central Monitoring Server for Clients

20 Netstat Commands for Linux Network Management

How to Monitor Nginx Performance Using Netdata on CentOS 7

Monitor Server Logs in Real-Time with “Log.io” Tool on RHEL/CentOS 7/6

How to Monitor Commands Executed by Linux Users in Real Time

How to Add Hosts in OpenNMS Monitoring Server

Learn Linux Tricks & Tips

How to Optimize and Compress JPEG or PNG Images in Linux Commandline

11 Useful X-window (GUI Based) Linux Commands – Part I

TLDR – Simplifying Linux Commands with User-Friendly Man Pages

10 Useful du (Disk Usage) Commands to Find Disk Usage of Files and Directories

How to Sort Output of ‘ls’ Command By Last Modified Date and Time

How to Find Out Who is Using a File in Linux

Best Linux Tools

Top 6 Linux Apps You Should Install This Week (Sept 15-21)

5 Google Docs Alternatives You Can Self-Host on Linux

27 Best Tools for VMware Administrators in 2024

Top 6 Telegram Bots to Boost Your Productivity in 2025

60 Must-Have Free and Open-Source Linux Tools for 2026

4 Best QR Code Generator Tools for Linux

Tecmint: Linux Howtos, Tutorials & Guides © 2026. All Rights Reserved.

The material in this site cannot be republished either online or offline, without our permission.

Hosting Sponsored by : Linode Cloud Hosting