Tagged articles
3 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Aug 11, 2024 · Operations

20 Essential Shell Functions to Supercharge Your Scripts

This article presents twenty practical Bash functions covering file checks, directory handling, date calculations, colored output, service management, and more, providing ready-to-use snippets that streamline common shell scripting tasks for system administrators and developers.

Shell scriptingbash functionssystem automation
0 likes · 5 min read
20 Essential Shell Functions to Supercharge Your Scripts
Liangxu Linux
Liangxu Linux
Nov 14, 2020 · Fundamentals

Mastering Shell Script Reuse: Calling External Scripts and Functions in Linux

This guide explains how to execute external shell scripts, import their functions and variables using source, dot, or sh commands, compares their behaviors, and provides practical patterns—including case dispatch and a generic function‑call template—to enable reliable script reuse in Linux environments.

LinuxShell scriptingbash functions
0 likes · 12 min read
Mastering Shell Script Reuse: Calling External Scripts and Functions in Linux