Skip to content
NEW: Get Lifetime access to 8 courses, 3 certifications, 5 eBooks, and all future courses for just $199 - [Claim Offer]
Tecmint: Linux Howtos, Tutorials & Guides
  • Learn Linux
  • Linux Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Pro Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
    • Contact
    • Hiring
    • Newsletter
    • Testimonials
    • Donate
    • Advertise
    • Submit Article Request
    • Suggest an Update
Tecmint: Linux Howtos, Tutorials & Guides
  • Learn Linux
  • Linux Distros
    • Linux Distros for Beginners
    • Linux Distros for Experts
    • New Linux Distros
    • Linux Server Distros
    • Secure Linux Distros
    • CentOS Alternatives
    • RedHat Distributions
    • Debian Distributions
    • Ubuntu Distributions
    • Arch Linux Distros
    • Rolling Linux Distros
    • KDE Linux Distros
    • Linux Distros for Old PC
    • Linux Distros for Kids
    • Linux Distributions for Students
    • Linux Distros for Windows
  • Commands
    • A – Z Linux Commands
    • 100+ Linux Commands
  • Tools
  • Pro Courses
    • Bash Scripting
    • Learn Linux
    • AI for Linux
    • RHCSA Certification
    • RHCE Certification
    • LFCS Certification
  • eBooks
    • RHCSA Exam
    • RHCE Exam
    • LFCS Exam
    • LFCE Exam
    • LFCA Exam
    • Ansible Exam
  • About
    • Contact
    • Hiring
    • Newsletter
    • Testimonials
    • Donate
    • Advertise
    • Submit Article Request
    • Suggest an Update

ad-hoc command examples

Ansible Ad-hoc Command Examples

How to Configure Ansible Managed Nodes and Run ad-hoc Commands – Part 3

In the previous two articles of this Ansible Series, we’ve explained Core Components of Ansible and Setting Up Ansible Control

Pro TecMint · Root Plan

Take Your Linux Skills to the Next Level

Root members get full access to every course, certification prep track, and a growing library of hands-on Linux content — with new courses added every month.

What You Get
Ad-free access to all premium articles
Access to all courses: Learn Linux, AI for Linux, Bash Scripting, Ubuntu Handbook, Golang and more.
Access to Linux certifications (RHCSA, RHCE, LFCS and LFCA)
Access new courses on release
Get access to weekly newsletter
Priority help in comments
Private Telegram community
Connect with the Linux community
Join Root Plan →
$8/mo · or $59/yr Cancel anytime

Linux Commands and Tools

Bat – A Cat Clone with Syntax Highlighting and Git Integration

How to Remove a Directory and File in Linux Using ‘rm’ Command

How to Add a New Disk Larger Than 2TB to An Existing Linux

DEBUGFS Command – Show File Creation Times in Linux

How to Encrypt and Decrypt Files and Directories Using Tar and OpenSSL

Install Linux from USB Device or Boot into Live Mode Using Unetbootin and dd Command

Linux Server Monitoring Tools

How to Install Nagios XI on Ubuntu 22.04

Monit – A Open Source Tool for Managing and Monitoring Linux System

Nmon – Monitor Linux System and Network Performance

How to Install Icinga2 on RHEL, Rocky and AlmaLinux

How to Install Zabbix on RHEL 8

20 Netstat Commands for Linux Network Management

Learn Linux Tricks & Tips

How to Search and Remove Directories Recursively on Linux

How to Create Hard and Symbolic Links in Linux

How to Keep ‘sudo’ Password Timeout Session Longer in Linux

fdupes – A Command Line Tool to Find and Delete Duplicate Files in Linux

12 Ways to Find User Account Info and Login Details in Linux

How to Boot into Single User Mode in CentOS/RHEL 7

Best Linux Tools

5 Best Microsoft Word Alternatives for Linux in 2024

15 Best Tiling Window Managers for Linux in 2025

11 Best PDF Editors to Edit PDF Documents in Linux

10 Top Open Source Caching Tools for Linux in 2024

6 Best Linux Boot Loaders

Top 5 Diagram Tools for Linux Users in 2025 (Free & Open-Source)

Tecmint: Linux Howtos, Tutorials & Guides © 2026. All Rights Reserved.

The material in this site cannot be republished either online or offline, without our permission.

Hosting Sponsored by : Linode Cloud Hosting