Tagged articles

shell

645 articles · Page 7 of 7
MaGe Linux Operations
MaGe Linux Operations
Apr 17, 2017 · Operations

Essential Linux & Server Commands: From Log Cleanup to RAID and Monitoring

This guide presents practical Linux and server administration commands, covering log cleanup, nginx IP analysis, tcpdump capture, Python date formatting and string reversal, subprocess execution, multiprocessing, iptables port forwarding, cron scheduling, file relocation, RAID concepts, Oracle backup strategies, port checking, Apache MPM modes, and monitoring tool comparisons.

LinuxMonitoringRAID
0 likes · 10 min read
Essential Linux & Server Commands: From Log Cleanup to RAID and Monitoring
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.

ArraysLinuxVariables
0 likes · 10 min read
Master Shell Variables: From Basics to Advanced Tricks
21CTO
21CTO
Feb 28, 2017 · Operations

How to Build a Robust Init Script for a Swoole Mail Server on Linux

This guide explains how to create a full-featured init script for a Swoole‑based mail service, enabling start, stop, restart, reload, and status commands, plus automatic boot‑time activation, with complete shell code and step‑by‑step instructions.

LinuxSwooleinit script
0 likes · 6 min read
How to Build a Robust Init Script for a Swoole Mail Server on Linux
MaGe Linux Operations
MaGe Linux Operations
Feb 23, 2017 · Fundamentals

Master Essential Linux Commands: From col to wc Explained

This article provides concise explanations of dozens of essential Linux command‑line tools—including col, colrm, comm, csplit, ed, egrep, ex, fgrep, fmt, fold, grep, ispell, jed, joe, join, look, mtype, pico, rgrep, sed, sort, spell, tr, expr, uniq, wc, and let—detailing their purposes, typical usage, and how they handle input and output streams.

LinuxUnixcommand-line
0 likes · 10 min read
Master Essential Linux Commands: From col to wc Explained
ZhiKe AI
ZhiKe AI
Feb 16, 2017 · Fundamentals

How to Use the cut Command to Extract Text Columns in Linux

This guide explains how to use the Unix cut command to extract specific columns or character ranges from files or streams, detailing the -d, -f, and -c options with clear examples such as selecting fields from colon‑separated data.

Unixcommand-linecut
0 likes · 2 min read
How to Use the cut Command to Extract Text Columns in Linux
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.

Control structuresLinuxShell Scripting
0 likes · 9 min read
Mastering Linux Shell: Basics, Scripts, Variables, and Control Structures
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.

LinuxShell Scriptingbash
0 likes · 9 min read
Understanding Linux Shell: Basics, Scripts, and Common Commands
ZhiKe AI
ZhiKe AI
Feb 9, 2017 · Fundamentals

Essential Linux Commands: Classification, Usage, and Tips

This article provides a comprehensive guide to common Linux commands, covering internal vs external classification, help lookup methods, command syntax, practical examples for file management, system monitoring, compression, shutdown, pipelines, quoting, and best learning habits.

File ManagementLinuxcommand-line
0 likes · 15 min read
Essential Linux Commands: Classification, Usage, and 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.

LinuxSafetyScripting
0 likes · 6 min read
Prevent Accidental Directory Deletion in Linux Shell Scripts
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Dec 13, 2016 · Fundamentals

Master Shell Wildcards and POSIX Regex: A Practical Guide

This article explains the meaning of common special characters used as shell wildcards, character classes, and POSIX regular expressions, demonstrates locale effects on pattern matching, and compares BRE and ERE syntax with practical examples and exercises.

POSIX regexWildcardscharacter classes
0 likes · 7 min read
Master Shell Wildcards and POSIX Regex: A Practical Guide
MaGe Linux Operations
MaGe Linux Operations
Nov 23, 2016 · Operations

Master Essential Linux Commands: cat, chmod, chown, cp, and More

This guide provides concise syntax, descriptions, common options, and practical examples for essential Linux commands such as cat, chattr, chmod, chown, cp, ln, locate, lsattr, mv, rm, tee, touch, umask, whereis, and which, helping users efficiently manage files and system attributes from the command line.

LinuxUnixcommand-line
0 likes · 24 min read
Master Essential Linux Commands: cat, chmod, chown, cp, and More
ITPUB
ITPUB
Nov 2, 2016 · Operations

Monitor Linux System Resources with Simple Shell Scripts

This guide shows how to write Bash functions that retrieve process IDs, CPU, memory, file‑descriptor usage, port status, system load and disk space on a Linux server, and how to combine them with conditional checks to generate alerts when thresholds are exceeded.

LinuxOperationsScript
0 likes · 16 min read
Monitor Linux System Resources with Simple Shell Scripts
MaGe Linux Operations
MaGe Linux Operations
Oct 15, 2016 · Operations

Master Linux Shell Commands for Fast Data Exploration

This guide walks through essential Linux shell commands—from basic file viewing and simple statistics to powerful exploratory analysis tools—showing how data engineers can efficiently inspect, process, and batch‑handle logs and other data files using the command line.

data analysisexploratory analysisshell
0 likes · 12 min read
Master Linux Shell Commands for Fast Data Exploration
ITPUB
ITPUB
Sep 20, 2016 · Fundamentals

10 Hilarious Linux Commands That Turn Your Terminal Into a Playground

Discover ten amusing Linux command‑line tools, complete with installation steps and example outputs, that transform a regular terminal into a visual playground ranging from falling code rain to animated cats, cows, and even a virtual aquarium.

Fun CommandsLinuxTerminal
0 likes · 7 min read
10 Hilarious Linux Commands That Turn Your Terminal Into a Playground
MaGe Linux Operations
MaGe Linux Operations
May 26, 2016 · Fundamentals

Master Linux Text Processing: Essential Shell Commands Explained

This article introduces the most commonly used Linux shell utilities for text processing—find, grep, xargs, sort, uniq, tr, cut, paste, wc, sed, and awk—providing practical examples, key options, and tips for efficient one‑line scripting while suggesting Python for more complex tasks.

LinuxUnix toolscommand-line
0 likes · 20 min read
Master Linux Text Processing: Essential Shell Commands Explained
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.

bashcommand substitutionescaping
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.

Escape Charactersbashcommand-line
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 14, 2016 · Operations

Master Linux Interview Questions: 20 Essential Commands & Answers

This article presents 20 common Linux interview questions covering runlevels, default gateways, initramfs creation, cpio, patch, aspell, SPF lookup, package identification, bond0 status, /proc filesystem, file searches, strings, tee, environment variables, awk, at, and lspci, each with concise command‑line solutions.

Linuxcommand-lineinterview preparation
0 likes · 10 min read
Master Linux Interview Questions: 20 Essential Commands & Answers
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.

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

What Does $? Mean in Bash? Mastering Exit Status and Conditional Commands

This article explains the special shell variable $?, how it returns the exit status of the previous command, demonstrates its use with practical examples, and shows how to combine it with && and || for conditional execution in Linux scripts.

Scriptingbashconditional execution
0 likes · 5 min read
What Does $? Mean in Bash? Mastering Exit Status and Conditional Commands
Qunar Tech Salon
Qunar Tech Salon
Apr 23, 2016 · Operations

Linux Shell Tips and Tricks: 73 Useful Commands

This article compiles 73 practical Linux shell tips covering network checks, process control, file manipulation, system monitoring, version control, and various command-line shortcuts, providing concise examples and commands to enhance productivity and troubleshooting for system administrators and developers.

LinuxOperationsTips
0 likes · 12 min read
Linux Shell Tips and Tricks: 73 Useful Commands
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2016 · Operations

Linux Operations Quiz: Answers and Explanations for Sysadmin Fundamentals

This article presents a collection of multiple‑choice, true/false, and short‑answer questions covering Linux shell commands, file permissions, startup processes, RAID, networking, and other core sysadmin topics, along with the correct answers and brief explanations to help learners assess and improve their operational skills.

LinuxQuizshell
0 likes · 11 min read
Linux Operations Quiz: Answers and Explanations for Sysadmin Fundamentals
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.

Linuxbashcommand-line
0 likes · 14 min read
73 Hidden Linux Commands Every Sysadmin Should Bookmark
Big Data and Microservices
Big Data and Microservices
Mar 19, 2016 · Operations

Essential Linux Commands for Comprehensive System Inspection

This guide compiles essential Linux commands for inspecting system details, resources, disks, networks, processes, users, services, and installed programs, providing concise descriptions that help administrators quickly gather kernel, hardware, memory, storage, and runtime information.

LinuxMonitoringcommand-line
0 likes · 6 min read
Essential Linux Commands for Comprehensive System Inspection
Qunar Tech Salon
Qunar Tech Salon
Mar 5, 2016 · Operations

Common Linux Commands for Java Developers

This article provides Java developers with a concise reference of essential Linux shell commands, covering process inspection, file manipulation, permission changes, compression, networking checks, remote access, and other common operations needed for interacting with Linux servers during development and deployment.

CommandLineLinuxOperations
0 likes · 7 min read
Common Linux Commands for Java Developers
Efficient Ops
Efficient Ops
Sep 22, 2015 · Operations

Automating Deployment for SMEs: A Step‑by‑Step Shell Guide

This article outlines a practical, resource‑conscious approach for small and medium‑size enterprises to design and implement an automated deployment pipeline using shell scripts, covering goal setting, process design, key deployment steps, tips, rollback procedures, and frequently asked questions.

AutomationConfigurationRollback
0 likes · 14 min read
Automating Deployment for SMEs: A Step‑by‑Step Shell Guide
Qunar Tech Salon
Qunar Tech Salon
Jul 28, 2015 · Fundamentals

Introduction to xargs with Basic and Advanced Usage Examples

This article explains the purpose of the Unix xargs command, demonstrates basic usage for concatenating log files, shows an advanced example for renaming text files to log files using the -I placeholder, and provides a step‑by‑step breakdown of how the command pipeline works.

Batch ProcessingScriptingUnix
0 likes · 3 min read
Introduction to xargs with Basic and Advanced Usage Examples
Qunar Tech Salon
Qunar Tech Salon
May 22, 2015 · Fundamentals

Using sed to Edit a Specific Range in a Large File

The article explains how to safely edit a particular line range in a large file using the Unix sed command, guiding readers through consulting the manual, understanding address syntax, and providing a concrete example command to replace text within the specified lines.

command-linefile editingsed
0 likes · 3 min read
Using sed to Edit a Specific Range in a Large File
MaGe Linux Operations
MaGe Linux Operations
Oct 13, 2014 · Cloud Native

Master Docker: 15 Essential Tips and Commands for Efficient Container Management

This guide walks you through fifteen practical Docker techniques—from retrieving the latest container ID and optimizing Dockerfile usage to handling super‑user permissions, cleaning up stopped containers, parsing inspect output with jq, understanding RUN vs CMD vs ENTRYPOINT, accessing container IPs, communicating via UNIX sockets, visualizing image dependencies, exploring Docker's storage layout and Go source code, managing background processes, and linking containers for inter‑service communication.

ContainersLinuxshell
0 likes · 14 min read
Master Docker: 15 Essential Tips and Commands for Efficient Container Management
Baidu Tech Salon
Baidu Tech Salon
Aug 15, 2014 · Operations

My Journey with Unix: From Motivation to Automation

The author recounts how a university encounter and later work demands led them to master Unix, using tools like awk, Perl, Python and Ruby to automate massive data tasks, teach courses, and champion Ubuntu and other Unix-like systems as essential, productivity‑driving platforms.

AutomationPythonScripting
0 likes · 7 min read
My Journey with Unix: From Motivation to Automation
MaGe Linux Operations
MaGe Linux Operations
Jun 23, 2014 · Fundamentals

How to Permanently Change the Umask Value on Linux Systems

This tutorial explains what the umask setting does, shows the octal permission masks, and provides step‑by‑step instructions for permanently modifying the default umask in a user’s shell profile or /etc/profile on any Linux distribution.

Linuxfile-permissionsshell
0 likes · 4 min read
How to Permanently Change the Umask Value on Linux Systems