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

Netdata – A Real-Time Performance Monitoring Tool for Linux Systems

pyDash – A Web Based Linux Performance Monitoring Tool

How to Install htop on CentOS 8

How to Add Windows Host to Nagios Monitoring Server

How to Configure Custom Access and Error Log Formats in Nginx

Inxi – A Powerful Feature-Rich Commandline System Information Tool for Linux

Learn Linux Tricks & Tips

24 Nmap Commands Every Linux Admin Should Use for Network Security

How to Convert From RPM to DEB and DEB to RPM Package Using Alien

How to Restrict SFTP Users to Home Directories Using chroot Jail

4 Ways to Send Email Attachment from Linux Command Line

How to Install PuTTY on Linux

5 Command Line Tools to Find Files Quickly in Linux

Best Linux Tools

3 Best Document Collaboration Platforms for Linux in 2024

11 Best GitHub Alternatives to Host Open Source Projects

17 Best Node.js Frameworks and Libraries for Developers in 2026

How to Install Microsoft Teams, Slack, and Discord on Linux Desktop

Top 7 Free Odoo Apps for Linux Users in 2025

10 Tools to Take or Capture Desktop Screenshots in 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