Tagged articles
16 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Mar 16, 2025 · Operations

Batch Add and Delete Linux Users with UID ≥ 1000 Using awk and xargs

This guide shows how to batch‑create and batch‑remove Linux users whose UID is 1000 or higher by extracting usernames from /etc/passwd with awk and feeding them to useradd or userdel via xargs, including command examples and detailed explanations of each step.

LinuxUser Managementawk
0 likes · 5 min read
Batch Add and Delete Linux Users with UID ≥ 1000 Using awk and xargs
Liangxu Linux
Liangxu Linux
Feb 9, 2025 · Operations

Master Linux ‘find’: Powerful File Search Techniques and Real-World Examples

This guide explains how to use the Linux find command to locate files by type, name, size, inode, and timestamps, demonstrates combining conditions with logical operators, and shows how to pipe results to other utilities such as xargs, -exec, and command substitution for tasks like copying, deleting, and archiving.

File SearchLinuxShell
0 likes · 14 min read
Master Linux ‘find’: Powerful File Search Techniques and Real-World Examples
Liangxu Linux
Liangxu Linux
Feb 6, 2025 · Operations

Batch Delete Linux Users with UID ≥ 1000 Using awk and xargs

This guide explains how to identify Linux accounts whose UID is 1000 or higher by parsing /etc/passwd with awk, then pipe the resulting usernames to xargs to invoke userdel ‑r for safe, automated removal of those users and their home directories.

Batch DeleteLinuxShell
0 likes · 5 min read
Batch Delete Linux Users with UID ≥ 1000 Using awk and xargs
DevOps Operations Practice
DevOps Operations Practice
Oct 5, 2024 · Operations

Practical Linux Commands for File Classification, Process Monitoring, and Network Analysis

This article demonstrates how to use xargs with find and tar for file handling, ps for identifying high‑memory and high‑CPU processes, and netstat combined with awk and sort to inspect TCP connection states and the top requesting IP addresses, providing essential command‑line techniques for system administrators.

ShellSystem Administrationnetstat
0 likes · 4 min read
Practical Linux Commands for File Classification, Process Monitoring, and Network Analysis
Liangxu Linux
Liangxu Linux
Sep 28, 2024 · Operations

Mastering xargs: 10 Practical Examples to Boost Your Command-Line Efficiency

Learn how to harness the power of the xargs command with ten detailed examples covering basic usage, custom delimiters, output limits, interactive prompts, safety options, and advanced integrations with find, grep, and file handling, all illustrated with clear command-line demonstrations.

AutomationGrepLinux
0 likes · 10 min read
Mastering xargs: 10 Practical Examples to Boost Your Command-Line Efficiency
Liangxu Linux
Liangxu Linux
Jun 7, 2024 · Operations

Master Linux xargs with 6 Real‑World Examples for Faster Automation

This tutorial explains the Linux xargs command and provides six practical, step‑by‑step examples—including copying files, deleting by extension, compressing directories, renaming to uppercase, counting lines, and listing user accounts—to help automate common system tasks efficiently.

LinuxShellSystem Administration
0 likes · 8 min read
Master Linux xargs with 6 Real‑World Examples for Faster Automation
DevOps Operations Practice
DevOps Operations Practice
Mar 15, 2024 · Operations

Practical Linux Command-Line Techniques: Using xargs, ps, and netstat for File Classification, Resource Monitoring, and Network Inspection

This tutorial demonstrates how to leverage the xargs command for batch file processing, employ ps to list high‑memory and high‑CPU processes, and use netstat combined with awk to examine TCP connection states and identify the most active IP addresses, all illustrated with concrete command examples.

Linuxcommand-linenetstat
0 likes · 4 min read
Practical Linux Command-Line Techniques: Using xargs, ps, and netstat for File Classification, Resource Monitoring, and Network Inspection
Efficient Ops
Efficient Ops
Aug 8, 2022 · Operations

Master Essential Linux Ops: xargs, Background Jobs, Process Monitoring & More

This guide walks you through practical Linux operations—from using xargs for efficient file handling and running commands in the background, to monitoring high‑memory and high‑CPU processes, viewing multiple logs with multitail, continuous ping logging, checking TCP states, identifying top IPs on port 80, and leveraging SSH for port forwarding.

OpsSSHShell
0 likes · 10 min read
Master Essential Linux Ops: xargs, Background Jobs, Process Monitoring & More
Open Source Linux
Open Source Linux
Oct 11, 2021 · Operations

Mastering xargs: Transform Input Streams into Powerful Command Arguments

This guide explains how the xargs utility filters and converts standard input into command-line arguments, details its syntax and common options, and provides practical examples demonstrating multi‑line to single‑line conversion, custom delimiters, and interactive command execution.

Scriptingcommand-linexargs
0 likes · 4 min read
Mastering xargs: Transform Input Streams into Powerful Command Arguments
Liangxu Linux
Liangxu Linux
Feb 10, 2020 · Operations

Mastering xargs: Powerful Techniques for Linux Command-Line Automation

This guide explains how the xargs utility transforms piped or stdin data into command arguments, covering its syntax, options for limiting arguments, running multiple commands, custom delimiters, reading from files, and combining with find for efficient batch operations on Linux systems.

Shell scriptingSysadminxargs
0 likes · 7 min read
Mastering xargs: Powerful Techniques for Linux Command-Line Automation
Efficient Ops
Efficient Ops
Aug 31, 2017 · Operations

Boost Your Linux Ops: Master Xargs, Background Jobs, and Real‑Time Monitoring

This guide walks you through essential Linux operations techniques—including practical xargs usage, running scripts in the background with nohup, identifying high‑memory and high‑CPU processes, monitoring multiple logs with multitail, continuous ping logging, checking TCP connections, spotting top IPs, and SSH port forwarding—providing ready‑to‑use commands and examples.

SSHmultitailnohup
0 likes · 10 min read
Boost Your Linux Ops: Master Xargs, Background Jobs, and Real‑Time Monitoring
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 ProcessingScriptingShell
0 likes · 3 min read
Introduction to xargs with Basic and Advanced Usage Examples