Tagged articles

shell

655 articles · Page 7 of 7
MaGe Linux Operations
MaGe Linux Operations
Jul 17, 2017 · Operations

Top 10 Linux Ops Troubleshooting Tips Every Sysadmin Should Know

This article compiles ten common Linux operational problems—from shell script execution failures and crontab output overload to DNS‑related telnet slowness, read‑only file systems, unreleased disk space, inefficient find commands, missing gateway MACs, HTTP service start errors, file descriptor limits, and ibdata1/mysql‑bin disk usage—along with clear step‑by‑step solutions.

crontabshellsysadmin
0 likes · 13 min read
Top 10 Linux Ops Troubleshooting Tips Every Sysadmin Should Know
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jun 8, 2017 · Fundamentals

Master Essential Linux Commands: From ls to cd in One Guide

This article provides a concise, beginner-friendly overview of 20 essential Linux commands—including file listing, disk inspection, checksum verification, disk imaging, system information, command history, privilege escalation, file management, package handling, archiving, calendar, date manipulation, and navigation—complete with clear explanations, usage tips, and example terminal outputs.

Command LineLinuxUnix
0 likes · 20 min read
Master Essential Linux Commands: From ls to cd in One Guide
ITPUB
ITPUB
Jun 6, 2017 · Fundamentals

Master Linux Text Processing: Essential Shell Tools and Practical Examples

This article provides a comprehensive guide to the most commonly used Linux shell utilities for text manipulation—find, grep, xargs, sort, uniq, tr, cut, paste, wc, sed, and awk—offering clear explanations, typical parameters, and real‑world command examples to help you handle files efficiently.

awkfindgrep
0 likes · 15 min read
Master Linux Text Processing: Essential Shell Tools and Practical Examples
ITPUB
ITPUB
Jun 5, 2017 · Fundamentals

Master Linux Shell Text and Background Colors with ANSI Escape Codes

This guide explains how to use ANSI escape sequences in Linux shell scripts to change text color, background color, apply effects like bold or blinking, and provides ready‑to‑copy command examples for various color combinations.

ScriptingTerminal Colorsshell
0 likes · 6 min read
Master Linux Shell Text and Background Colors with ANSI Escape Codes
MaGe Linux Operations
MaGe Linux Operations
Jun 2, 2017 · Fundamentals

Master Essential Linux Commands: Login, Shutdown, File Management & More

This guide introduces the most frequently used Linux commands—including login, shutdown, halt, reboot, install, mount, umount, chsh, exit, last, file, mkdir, grep, dd, find, mv, ls, diff, cmp, cat, and ln—explaining their purpose, syntax, key options, and practical examples to help users efficiently manage files, processes, and system operations.

Command LineLinuxUnix
0 likes · 34 min read
Master Essential Linux Commands: Login, Shutdown, File Management & More
ITPUB
ITPUB
May 16, 2017 · Fundamentals

Master Shell Scripting: Basics, Variables, Loops, and Automation

This guide introduces shell scripting fundamentals, covering its purpose, what it can and cannot do, the interpreter workflow, and detailed examples of simple scripts, variables, arithmetic, string and file tests, control structures, functions, redirection, and an automated GitHub commit script.

Command LineScriptingshell
0 likes · 11 min read
Master Shell Scripting: Basics, Variables, Loops, and Automation
ITPUB
ITPUB
Apr 24, 2017 · Information Security

Which Linux Commands Can Wipe Your System and How to Stay Safe

The article lists a series of Linux commands that can permanently delete files, format disks, or overload system resources, explains why they are dangerous, and provides practical tips such as avoiding root for daily work, verifying command purpose, using trusted sources, and regularly backing up data.

Destructive commandsLinuxPrevention
0 likes · 7 min read
Which Linux Commands Can Wipe Your System and How to Stay Safe
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.

DatabaseLinuxMonitoring
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.

ArraysLinuxbash
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.

Command LineUnixcut
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.

Command LineControl structuresLinux
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.

Command LineLinuxShell scripting
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.

Command LineLinuxNetworking
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.

DevOpsLinuxSafety
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.

Command LineFun CommandsLinux
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.

Command LineLinuxUnix tools
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.

Command LineEscape Charactersbash
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.

Command LineInterview PreparationLinux
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.

Command LineLinuxOperations
0 likes · 12 min read
Linux Shell Tips and Tricks: 73 Useful Commands
Practical DevOps Architecture
Practical DevOps Architecture
Apr 8, 2016 · Operations

Extracting System Configuration Using Linux Commands

This tutorial explains how to capture IP addresses, filter empty lines, count regular files in /bin, copy the inittab file, and count non‑comment configuration lines on a Linux host using standard shell commands such as ifconfig, grep, ls, cp, and wc.

LinuxSystem Configurationgrep
0 likes · 4 min read
Extracting System Configuration Using Linux 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.

Command LineLinuxbash
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.

Command LineLinuxMonitoring
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.

CommandLineDevOpsLinux
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.

Linuxcontainersshell
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.

File PermissionsLinuxshell
0 likes · 4 min read
How to Permanently Change the Umask Value on Linux Systems