Tagged articles
457 articles
Page 5 of 5
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2017 · Operations

Mastering Shell Script Timeouts with the Linux timeout Command

This article explains how to use the Linux timeout command to reliably enforce execution limits on shell scripts, demonstrates its advantages over simple watchdog loops, shows practical examples with ping and MQ scripts, discusses return codes, and highlights common pitfalls such as background processes and function usage.

BashShellTimeout
0 likes · 4 min read
Mastering Shell Script Timeouts with the Linux timeout Command
MaGe Linux Operations
MaGe Linux Operations
Aug 29, 2017 · Operations

Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code

This article compiles comprehensive shell scripting best‑practice guidelines—including shebang usage, commenting, parameter validation, variable handling, indentation, naming conventions, encoding, permissions, logging, password safety, line continuation, efficiency tricks, quoting, function structuring, scope control, indirect references, heredocs, path resolution, parallel execution, modern syntax, and static analysis with ShellCheck—to help developers write readable, maintainable, and performant Bash scripts.

BashShell scriptingbest practices
0 likes · 18 min read
Mastering Shell Script Style: Essential Guidelines for Clean, Efficient Bash Code
MaGe Linux Operations
MaGe Linux Operations
Aug 23, 2017 · Operations

How to Automate MySQL Database Backups with Bash and Crontab

This guide explains why database backups are essential, outlines common storage media, and provides step‑by‑step instructions—including disk space checks, backup directory creation, Bash script writing, permission setting, and crontab scheduling—to reliably automate MySQL backups on Linux.

Bashcrontabmysql
0 likes · 8 min read
How to Automate MySQL Database Backups with Bash and Crontab
ITPUB
ITPUB
Aug 23, 2017 · Operations

Master Bash: Essential Variables, Operators, and Conditional Statements

This guide introduces Bash scripting fundamentals, covering predefined variables, declaration operators, and practical examples of single‑, double‑, and multi‑branch if statements for tasks such as checking user privileges, disk usage, and service status on Linux systems.

AutomationBashIf Statements
0 likes · 5 min read
Master Bash: Essential Variables, Operators, and Conditional Statements
ITPUB
ITPUB
Aug 9, 2017 · Backend Development

8 Essential Shell Scripting Practices Every Developer Should Follow

This article shares eight hard‑earned recommendations for writing robust Bash scripts, covering shebang selection, debugging flags, static analysis, variable expansion, proper scoping, signal trapping, defensive coding, and knowing when to switch to a more suitable language.

BashDebuggingError Handling
0 likes · 10 min read
8 Essential Shell Scripting Practices Every Developer Should Follow
MaGe Linux Operations
MaGe Linux Operations
Jul 18, 2017 · Operations

Boost Your Linux Productivity: Essential Command-Line Tips & Tricks

This article compiles a comprehensive set of high‑efficiency Linux command‑line tools and shortcuts—ranging from basic Bash usage and SSH key management to powerful data‑processing utilities and system‑debugging commands—to help users streamline daily workflows and save valuable time.

BashSysadminTips
0 likes · 13 min read
Boost Your Linux Productivity: Essential Command-Line Tips & Tricks
MaGe Linux Operations
MaGe Linux Operations
Jul 8, 2017 · Operations

Master Shell Scripting: From Basics to Advanced Automation

This article introduces shell scripting fundamentals, explores practical use cases, explains how the shell works, demonstrates variables, operators, control structures, functions, redirection, and provides example scripts for automating tasks on Windows, Unix, and Linux systems.

BashLoopsShell scripting
0 likes · 6 min read
Master Shell Scripting: From Basics to Advanced Automation
ITPUB
ITPUB
Jul 7, 2017 · Operations

Supercharge Linux: z Shortcut, Vim Config, MySQL Prompt & System Info Hacks

This guide shares practical Linux tips—including a fast directory‑jumping z command, a feature‑rich Vim configuration, MySQL prompt customization, reliable system version checks, and intuitive disk‑usage commands—to streamline daily sysadmin workflows.

BashLinuxSysadmin
0 likes · 5 min read
Supercharge Linux: z Shortcut, Vim Config, MySQL Prompt & System Info Hacks
MaGe Linux Operations
MaGe Linux Operations
Jun 25, 2017 · Operations

Master Essential Linux Commands: A Quick Reference Guide

This article provides a concise, English‑language reference of essential Linux command‑line tools—including file navigation, viewing, system information, package management, network configuration, and service control—complete with example syntax and brief explanations for each command.

Bashcommand-linesystem-administration
0 likes · 13 min read
Master Essential Linux Commands: A Quick Reference Guide
MaGe Linux Operations
MaGe Linux Operations
Jun 24, 2017 · Operations

Essential Bash Scripting Tips and Practical Monitoring Scripts

This guide provides concise Bash scripting best practices, code snippets for generating random strings, color output functions, bulk user creation, package and service checks, host liveness verification, resource utilization monitoring, and website availability testing, all useful for system administration and interview preparation.

BashLinux monitoringShell scripting
0 likes · 5 min read
Essential Bash Scripting Tips and Practical Monitoring Scripts
ITPUB
ITPUB
Jun 20, 2017 · Fundamentals

10 Essential Bash Scripting Tips for Reliable Linux Automation

Learn ten practical Bash scripting techniques—including adding comments, exiting on errors, proper variable quoting, using functions, correct string comparisons, modern command substitution, readonly variables, naming conventions, and debugging—to write more efficient, reliable, and maintainable scripts for Linux automation tasks.

AutomationBashLinux
0 likes · 6 min read
10 Essential Bash Scripting Tips for Reliable Linux Automation
ITPUB
ITPUB
Jun 16, 2017 · Fundamentals

Boost Your Linux Productivity with Essential Bash Aliases and Functions

This article presents a curated collection of practical Bash aliases and functions that streamline repetitive command‑line tasks, improve navigation, automate common operations, and provide quick system‑information shortcuts, helping Linux users save seconds on every command they run.

AliasBashLinux
0 likes · 12 min read
Boost Your Linux Productivity with Essential Bash Aliases and Functions
ITPUB
ITPUB
Jun 1, 2017 · Fundamentals

Discover 20 Fun Linux Commands to Liven Up Your Terminal

This guide introduces a collection of entertaining Linux command‑line utilities—such as screenfetch, linuxlogo, sl, cmatrix, lolcat, cowsay, and more—explaining their purpose, usage examples, and output screenshots to help users add visual flair and humor to their terminal sessions.

BashLinuxcommand-line
0 likes · 10 min read
Discover 20 Fun Linux Commands to Liven Up Your Terminal
ITPUB
ITPUB
May 20, 2017 · Fundamentals

Boost Your Bash Scripts: Safety, Functions, and Advanced Tips

This article presents practical Bash scripting techniques—including safety flags, function definitions, variable annotations, modern command substitution, double‑bracket tests, powerful string manipulation, process substitution, here‑documents, built‑in variables, and debugging methods—to write more reliable and maintainable shell scripts.

BashShell scriptingString Manipulation
0 likes · 9 min read
Boost Your Bash Scripts: Safety, Functions, and Advanced Tips
MaGe Linux Operations
MaGe Linux Operations
Apr 15, 2017 · Fundamentals

Master Bash Scripting: Essential Basics, Quirks, and Safety Tips

This article walks through Bash scripting fundamentals—including variable assignment, quoting, loops, conditionals, functions, return codes, and background jobs—while highlighting common pitfalls and safety practices such as always quoting variables and using the shellcheck linter.

BashIf StatementsSafety
0 likes · 10 min read
Master Bash Scripting: Essential Basics, Quirks, and Safety Tips
MaGe Linux Operations
MaGe Linux Operations
Mar 7, 2017 · Fundamentals

Master Shell Variables: From Basics to Advanced Tricks

This article introduces the fundamentals of shell variables, covering local and environment variables, naming rules, assignment syntax, common reference methods, numeric operations, arrays (including multidimensional techniques using eval), and special parameters, providing practical examples and essential commands for effective Bash scripting.

ArraysBashEnvironment
0 likes · 10 min read
Master Shell Variables: From Basics to Advanced Tricks
ZhiKe AI
ZhiKe AI
Feb 14, 2017 · Fundamentals

Mastering Linux Shell: Basics, Scripts, Variables, and Control Structures

This article introduces the Linux shell as an interface and scripting language, explains how to execute scripts, manage system and user variables, use special variables, operators, conditional statements, loops, case constructs, and define functions, providing concrete syntax examples for each feature.

BashControl structuresLinux
0 likes · 9 min read
Mastering Linux Shell: Basics, Scripts, Variables, and Control Structures
MaGe Linux Operations
MaGe Linux Operations
Feb 10, 2017 · Fundamentals

Master Linux Commands: 4 Practical Ways to Become a Power User

This guide presents four effective self‑learning methods for mastering Linux commands—including daily tips via .bashrc, using the whatis utility, exploring man pages and help options, and a quick‑start crash course—while offering practical examples, installation tips for cowsay, and a concise command syntax overview.

BashLinuxSystem Administration
0 likes · 5 min read
Master Linux Commands: 4 Practical Ways to Become a Power User
ZhiKe AI
ZhiKe AI
Feb 10, 2017 · Fundamentals

Understanding Linux Shell: Basics, Scripts, and Common Commands

This article introduces the Linux shell as the user‑kernel interface, explains why Bash is the most popular shell, and covers script execution methods, variable handling, operators, control structures, and custom functions with concrete command examples.

BashLinuxShell
0 likes · 9 min read
Understanding Linux Shell: Basics, Scripts, and Common Commands
MaGe Linux Operations
MaGe Linux Operations
Feb 9, 2017 · Operations

Essential Linux Command Cheat Sheet: 73 Handy Bash Tips

A comprehensive cheat sheet of 73 practical Linux shell commands and techniques, covering networking checks, process control, file manipulation, system monitoring, Git operations, and more, to boost productivity for developers and system administrators.

BashLinuxShell Tips
0 likes · 12 min read
Essential Linux Command Cheat Sheet: 73 Handy Bash Tips
ITPUB
ITPUB
Jan 24, 2017 · Fundamentals

Prevent Accidental Directory Deletion in Linux Shell Scripts

This guide explains common Linux shell pitfalls that can cause accidental directory deletions—such as empty variables, spaces, special characters, and failed cd commands—and provides practical safeguards like variable expansion checks, quoting, existence tests, logical operators, avoiding root operations, and using informative prompts.

BashDevOpsLinux
0 likes · 6 min read
Prevent Accidental Directory Deletion in Linux Shell Scripts
Architects Research Society
Architects Research Society
Nov 13, 2016 · Fundamentals

70 Common Shell Script Interview Questions and Answers

This article compiles 70 typical Linux shell scripting interview questions covering script arguments, parameter handling, condition checks, loops, string manipulation, array operations, file I/O, and common command usages, each accompanied by concise Bash code examples to help candidates prepare effectively.

BashLinuxShell scripting
0 likes · 9 min read
70 Common Shell Script Interview Questions and Answers
ITPUB
ITPUB
Nov 2, 2016 · Operations

10 Creative Linux Commands to Generate Secure Random Passwords

This guide presents ten distinct Linux command‑line techniques—including SHA‑based hashing, OpenSSL, /dev/urandom filtering, dd, and custom Bash functions—to quickly produce strong, random passwords of configurable length, each illustrated with sample output.

BashLinuxSecurity
0 likes · 5 min read
10 Creative Linux Commands to Generate Secure Random Passwords
ITPUB
ITPUB
Sep 26, 2016 · Operations

8 Essential Tips for Writing Robust Bash Shell Scripts

This article shares eight hard‑earned recommendations for crafting reliable Bash scripts, covering interpreter selection, debugging flags, static analysis tools, variable expansion, proper scoping, signal trapping, thoughtful design, and recognizing when to switch to more suitable languages.

BashDebuggingDevOps
0 likes · 10 min read
8 Essential Tips for Writing Robust Bash Shell Scripts
MaGe Linux Operations
MaGe Linux Operations
Jun 21, 2016 · Operations

15 Powerful History Command Tricks to Supercharge Your Linux Shell

This guide walks you through 15 practical ways to use the Bash history command—show timestamps, search with Ctrl+R, repeat previous commands, customize history size, filter duplicates, and more—helping Linux users boost productivity and master command-line efficiency.

BashCommandLineHistoryCommand
0 likes · 7 min read
15 Powerful History Command Tricks to Supercharge Your Linux Shell
ITPUB
ITPUB
May 26, 2016 · Fundamentals

Mastering Shell Command Substitution: Backticks vs $() and Escape Tricks

This article explains shell command substitution, comparing backticks and the modern $(…) syntax, details their handling of special characters, demonstrates nesting and backslash escaping tricks across various shells, and provides practical examples and solutions for reliable quoting and path handling.

BashShellcommand substitution
0 likes · 10 min read
Mastering Shell Command Substitution: Backticks vs $() and Escape Tricks
ITPUB
ITPUB
May 24, 2016 · Fundamentals

Why Does a Backslash Behave Differently in Bash and Ksh? Master Shell Quoting

This article explains literal versus meta characters in shells, the three quoting methods (escape, strong, weak), and demonstrates why printing backslashes with echo requires different numbers of backslashes in Bash and Ksh, including work‑arounds like the -E option and set -x debugging.

BashEscape CharactersShell
0 likes · 8 min read
Why Does a Backslash Behave Differently in Bash and Ksh? Master Shell Quoting
MaGe Linux Operations
MaGe Linux Operations
May 23, 2016 · Operations

Master the Linux Command Line: Essential Tips and Tricks for Engineers

This comprehensive guide covers essential Linux command‑line techniques—from basic Bash navigation and file management to advanced text processing, system debugging, one‑liner tricks, and Mac‑specific tips—providing both beginners and experienced users with practical examples and shortcuts to boost productivity.

BashLinuxShell scripting
0 likes · 29 min read
Master the Linux Command Line: Essential Tips and Tricks for Engineers
ITPUB
ITPUB
May 5, 2016 · Fundamentals

Mastering Shell Test Expressions: test vs [] with Real‑World Examples

This guide explains how to use the shell test command and the [ ] syntax for file existence checks, interprets the special $? return code, demonstrates logical operators && and ||, and highlights spacing rules and additional test flags with clear examples.

BashConditionalsShell
0 likes · 4 min read
Mastering Shell Test Expressions: test vs [] with Real‑World Examples
ITPUB
ITPUB
May 1, 2016 · Fundamentals

Boost Your Linux Terminal Efficiency with Essential Keyboard Shortcuts

This guide presents a comprehensive collection of Linux terminal keyboard shortcuts—covering cursor movement, word navigation, line editing, command history, auto‑completion, directory navigation, and multi‑command execution—to help both beginners and seasoned users work faster and more confidently in the shell.

Bashcommand-lineproductivity
0 likes · 6 min read
Boost Your Linux Terminal Efficiency with Essential Keyboard Shortcuts
21CTO
21CTO
Mar 23, 2016 · Operations

73 Hidden Linux Commands Every Sysadmin Should Bookmark

This article compiles 73 obscure yet highly practical Linux command‑line tricks, ranging from network checks and process management to file manipulation, version control shortcuts, and system monitoring, providing sysadmins and developers a handy reference to boost productivity and streamline everyday tasks.

BashLinuxShell
0 likes · 14 min read
73 Hidden Linux Commands Every Sysadmin Should Bookmark
Qunar Tech Salon
Qunar Tech Salon
Feb 4, 2016 · Fundamentals

Ten Bash Productivity Tips for Command-Line Efficiency

This article presents ten practical Bash tips that boost command‑line productivity, covering inserting text at the top of files, appending multi‑line blocks, recursive search‑and‑replace, creating temporary Vim files, using curl for downloads, managing bookmarks, extracting columns with awk, trimming output, and building custom command packages.

AutomationBashcommand-line
0 likes · 10 min read
Ten Bash Productivity Tips for Command-Line Efficiency
MaGe Linux Operations
MaGe Linux Operations
Sep 14, 2015 · Fundamentals

Master Linux Environment Variables and Bash: A Complete Guide

This article provides a comprehensive overview of Linux environment variables, common and special variables, Bash shell fundamentals, login script execution order, variable manipulation techniques, and essential built‑in commands, helping readers understand and effectively use shell scripting on Unix‑like systems.

BashLinuxShell scripting
0 likes · 17 min read
Master Linux Environment Variables and Bash: A Complete Guide
MaGe Linux Operations
MaGe Linux Operations
Apr 15, 2015 · Operations

Why Your SSH Loop Stops After One Host—and How to Fix It

Learn why a Bash script that reads IPs from a file and uses SSH in a while loop only processes the first host, and discover two reliable solutions—switching to a for loop or adding the -n option to SSH—to ensure all servers are queried correctly.

/loopAutomationBash
0 likes · 4 min read
Why Your SSH Loop Stops After One Host—and How to Fix It
MaGe Linux Operations
MaGe Linux Operations
Mar 4, 2015 · Operations

Boost Your Linux Productivity: 9 Essential Bash Command-Line Tricks

This article compiles nine practical Bash techniques—from inserting text at the top of files and appending multiline blocks, to recursive search‑replace, temporary Vim files, secure downloads, Bashmarks, column extraction, word skipping, and custom command packages—each illustrated with ready‑to‑use code snippets.

AutomationBashShell scripting
0 likes · 10 min read
Boost Your Linux Productivity: 9 Essential Bash Command-Line Tricks
Baidu Tech Salon
Baidu Tech Salon
Jun 20, 2014 · Operations

Command Line Tips and Tricks from Linux Voice

Linux Voice’s roundup showcases practical and playful command‑line tricks—from using elinks for quick web checks and Wikipedia lookups to witty commands like sl, cowsay, and humorous “cat” errors—while stressing bash scripting, SSH password‑less login, responsible root use, and the ongoing debate over CLI versus GUI for everyday tasks.

BashSSHSysadmin
0 likes · 6 min read
Command Line Tips and Tricks from Linux Voice