David Cao

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

How to create Pivotable in Excel

self growth 1

PivotTables is an incredibly powerful tool in Excel that enables you to quickly summarize and analyze large amounts of data. They allow you to create summaries, calculate totals, filter data, and perform other statistical analyses. PivotTables are especially useful when…

Solution for “Your account has expired” in Linux

In Linux systems, user accounts can expire based on password expiration, account expiration dates, or inactivity policies. When an account expires, you may encounter login failures and restricted access to system resources. What Does “Account Expired” Mean? An expired account…

How to make Linux user password never expire

To ensure a user’s password never expires in Linux, leverage the chage command—a tool specifically designed for altering user password expiration settings. As a root user, execute the following command: Replace <username> in the command with the actual username. Breaking…

Using dict2items in Ansible

The dict2items filter in Ansible is used to transform a dictionary into a list of key-value pairs. It’s particularly useful for iterating over a dictionary in playbooks or templates. Dict2items Basic Usage Example of dict2items in a Playbook An example…

Quick Guide to Use set_fact in Ansible

The set_fact module in Ansible is a vital tool used in playbooks to define or alter the value of variables during playbook execution. This dynamic nature of set_fact allows for greater flexibility and adaptability in managing configurations and automating tasks.…

How to Find Subnet Mask in Linux

A subnet, or subnetwork, is a logical subdivision of an IP network. It’s essentially a smaller network within a larger network, created by dividing the network address space into smaller segments. This division is achieved through a process called subnetting.…