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

iPerf3 – Test Network Speed/Throughput in Linux

screenFetch – An Ultimate System Information Generator for Linux

Install Glances, InfluxDB and Grafana to Monitor CentOS 7

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

Hegemon – A Modular System Monitoring Tool for Linux

How to Monitor Remote Linux Systems with Glances

Learn Linux Tricks & Tips

How to Create a Systemd Service in Linux

How to Run Multiple Commands on Multiple Linux Servers

How to Install and Run Multiple glibc Libraries in Linux

Getting Started with Linux Screen Command [20 Useful Examples]

How To Assign Output of a Linux Command to a Variable

How to Search and Remove Directories Recursively on Linux

Best Linux Tools

8 Useful Linux Security Features and Tools for Beginners

5 Best Open-Source PDF Annotation Tools for Linux in 2024

7 Best Skype Alternatives for Linux in 2025

12 Open-Source WYSIWYG Editors Worth Using in 2026

5 GUI Tools to Free Up Space on Debian, Ubuntu and Linux Mint

5 Best Reference Management Software for Linux 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