---
title: "Discussion on \"Cheatsheet & Examples: xargs\" | Hashnode"
description: "Discussion on \"Cheatsheet & Examples: xargs\". xargs is a command-line utility that builds and executes commands from standard input. It reads items from stdin and executes a command with those items as arguments.  \nRun a command on each input item\nExample Usage:xargs -I {} rm {}What it does:Exec..."
url: "https://hashnode.com/posts/cheatsheet-examples-xargs/689149c897e180c3010d751b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cheatsheet & Examples: xargs](https://tech.mrleong.net/cheatsheet-examples-xargs?utm_source=hashnode&utm_medium=feed)

xargs is a command-line utility that builds and executes commands from standard input. It reads items from stdin and executes a command with those items as arguments. Run a command on each input item Example Usage:xargs -I {} rm {}What it does:Exec...

Aug 5, 2025 · 4 min read · tech.mrleong.net  
Read the article

-   [#cheatsheet](https://hashnode.com/tag/cheatsheet)
-   [#cli](https://hashnode.com/tag/cli)
-   [#xargs](https://hashnode.com/tag/xargs)

## Written by

[Hong](https://hashnode.com/@hongster)

@hongster · Johor Bahru, Malaysia

  
[View profile](https://hashnode.com/@hongster)

Script Monkey @ Innoractive

I work with Linux in the day, ballroom dancing at night. I use Arch, btw.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
