Skip to content
Learn Linux in 7 structured days, the free course inside Pro TecMint Sudo tier    Enroll Free
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
15 structured courses, ad-free articles, and the weekly newsletter in one place.
  • ✓SSH, Bash, Ubuntu, Golang, RHCSA, RHCE, LFCS, LFCA and more
  • ✓Ad-free access to all premium articles
  • ✓Priority help and Telegram community
  • ✓Weekly newsletter every Thursday
Join Root from $8/mo
$8/mo or $59/yr. Cancel anytime.

Linux Server Monitoring Tools

Dool – All-in-One Linux Server Performance Monitoring Tool

Amplify – NGINX Monitoring Made Easy

How to Install Tripwire IDS (Intrusion Detection System) on Linux

TCPflow – Analyze and Debug Network Traffic in Linux

Smem – Reports Memory Consumption Per-Process and Per-User in Linux

Bashtop – A Resource Monitoring Tool for Linux

Learn Linux Tricks & Tips

Asciinema – Record and Share Your Terminal Sessions in Linux

CDIR – A Faster Way to Navigate Folders and Files on Linux

10 Interesting Linux Command Line Tricks and Tips Worth Knowing

How to Check Exit Status for Command in Linux

Try uutils-coreutils: Rust Alternative to GNU Coreutils

20 Must-Know Linux Commands for System Administrators

Best Linux Tools

7 Best Calendar Apps for Linux Desktop in 2024

10 Best Clipboard Managers for Linux

Top 5 Open-Source Productivity Tools for Linux

Top 6 Partition Managers (CLI + GUI) for Linux

10 Tools to Make Bootable USB Drive from ISO in 2026

10 Best API Gateways and Management Tools in 2024

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