Linux



Ansible_Logo

Ansible – Inventory file

A simple Ansible  inventory file is a txt file that has a list of managed hosts and groups. A simple Inventory can be as follows: [root@centos9vm ~]# cat inventory == ===== 192.168.132.129 servera.example.com [webservers] servera.example.com…


Ansible_Logo

Install Ansible Navigator in CentOS 9

The ansible-navigator is a command-line tool which is used for creating, reviewing, running and troubleshooting Ansible content, including playbooks, collections, inventories, documentation and container images. It comes with RHEL distributions and can be installed using…


linux

Linux – sudo file

The sudo command allows you to run programs with the security privileges of another user. Usually this command is used to run command as a  superuser. The configuration files are : /etc/sudoers /etc/sudoers.d/* Instead of…


linux

Redhat – Links between files

Every file or folder created in a Linux system is associated with an iNode. The name given to the file is mapped to the inode created. Hard Link The below command creates two hard links to…


redhat

Redhat – Generating SoS report

The SoS report command is a tool that collects various details from a Redhat Linux server. These details include configuration details, system information and diagnostic information such as the running kernel version, loaded modules, and…


redhat

Redhat – Configuring network interfaces – nmcli

NetworkManager Command Line Interface – The nmcli is a command-line utility which is used for controlling NetworkManager and reporting network status. View status of physical network device attached to a system [root@centos9vm ~]# nmcli device…



linux

Umask in Linux

What is it? Umask in Linux is a Linux command that is used to assign the default file permission sets that will be assigned when a file or a directory will be created by a…