Skip to Content

In the world of Linux system administration, the ability to manage and troubleshoot network interfaces is a fundamental skill. There are situations where you might encounter connectivity issues, need to apply configuration changes, or simply want to reset a network interface to its default state. In such scenarios, the knowledge of how to gracefully restart …

Read More about Top 3 ways to restart Network Interfaces in Linux

Core dumps are binary files that contain the memory image of a crashed process, which can be invaluable for debugging purposes. To collect a core dump file in Linux, you need to configure your system to generate core dumps when a program crashes. By default, many Linux distributions disable core dumps to save disk space …

Read More about New way to collect core dump file in Linux

Microsoft’s Email Breach: Implications for Cloud Security On July 11, Microsoft disclosed that a Chinese hacking group known as Storm-0558 gained unauthorized access to the email systems of various US government agencies, potentially compromising a significant number of emails. Recent reports have emerged, suggesting that the email account of the US ambassador and other high-ranking …

Read More about Microsoft’s Email Breach: Implications for Cloud Security

Ansible is a powerful and flexible automation tool, capable of handling many complex tasks, including modifying files. Three of the key modules that Ansible provides for file modification are lineinfile, replace, and blockinfile. The lineinfile module is used when you need to manage lines in text files. It can ensure a particular line is present …

Read More about 3 Ways to Modify Files with Ansible: lineinfile, replace, and blockinfile

In the realm of IT automation, Ansible has emerged as a powerful tool for streamlining various administrative tasks. Among these tasks, user management stands out as a common and often repetitive process. Ansible provides two primary approaches for creating users: ad-hoc commands and playbooks. This article aims to shed light on both ad-hoc commands and …

Read More about 2 ways to create user with Ansible

selectattr in Ansible selectattr is a filter plugin in Ansible that allows you to select a subset of elements from a list of dictionaries based on the value of a particular attribute.  Its syntax is as follows: <list of dictionaries> | selectattr(‘<attribute>’, ‘<operator>’, ‘<value>’)   Key Description list_of_dictionaries A list of dictionaries representing items to …

Read More about selectattr in Ansible

This article is part of the following series. 4 Ways to Find network interfaces in Linux 5 useful Linux network troubleshooting commands 3 Easy Ways to Find IP address in Linux 3 Ways to Find MAC Address In Linux   Get MAC address with Ansible You can use the ansible_default_ipv4.macaddress variable to get the MAC …

Read More about Get MAC address with Ansible