3 simple and useful tools to grep multiple strings in Linux
How to grep multiple strings and patterns in single line from a file in Linux or Unix? Is it possible to grep multiple strings using single command from a file?
How to install Oracle Virtual Box on Linux (CentOS / RHEL 7)
Step by step Guide to install Oracle Virtual Box on RHEL / CentOS 7 Linux. To install Oracle Virtual Box you need EPEL repo. Oracle Virtual 5.2 is out now
How to enable SSH access & configure network in rescue mode (CentOS/RHEL
Steps to enable SSH access in linux rescue mode and configure network in rescue mode in RHEL/CentOS 7/8 with example transfer sosreport file inst.sshd=1
Found a swap file by the name .XXX.swp
What is .swp file? Why this file is created? How to get rid of Found a swap file by the name warning? Another program may be editing the same file. An edit session for this file crashed
How to disconnect idle ssh session or keep idle ssh session active in Linux
How to disconnect idle ssh session in Linux using ClientAliveInterval and ClientAliveCountMax. SSH close connection after sometime. How to close ssh connection
How to Disconnect Hung SSH Session [100% Working]
Steps to disconnect hung ssh session. Kill ssh session. Terminate stuck ssh session. Kill unresponsive ssh session. Disconnect pssh session in Linux
How to use C++ WriteFile?
C++ provides several file I/O functions that enable programmers to write and read data from files. One of these functions is WriteFile, which is part of the
How to get complete dependencies list of rpm ?
To find or get complete dependencies list of rpm you can use rpm, yum and repoquery command for both installed and non installed package
Step-by-Step Tutorial: Guide to install systemtap in Linux
Tutorial guide to install systemtap (stap) to extract, filter and summarize data to enable diagnosis of complex performance. Systemtap Tutorial Linux
How to set default boot kernel on Linux ( CentOS / RHEL 7 )
How to set default boot kernel in linux? Change the default boot entry for kernel ? Boot with old kernel version ? Revert to previous kernel version ?
How to delete iscsi target from initiator ( CentOS / RHEL 7 ) Linux
How to delete iscsi target? Remove inactive iscsi target? Remove iscsi storage target from initiator? Remove iscsi virtual disk on CentOS / RHEL 7 Linux.
Properly backup and restore partition table in Linux
How to backup or copy and restore partition table in linux. linux clone partition table, linux repair partition table
8 ways to prevent brute force SSH attacks in Linux (CentOS/RHEL 7)
Prevent brute force SSH attacks in RHEL CentOS 7 with examples using Fail2ban, account lockout, SSH rate limit using iptables, sshd_config, SHA512 hashing
How to use cin for an array in C++
In c++ cin array is not performed in one cin statement. In this article we will learn about array input in c++. To understand array input, we first need to
2 ways to boot with old kernel version in RHEL 8 using grubby
Steps to set default boot kernel in RHEL 8 using grubby and boot with old kernel version. Check the kernel version which will get activated after reboot
How to configure ssh host based authentication per user (CentOS/RHEL 7/8)
Configure SSH Host Based Authentication using sshd_config, shosts,equiv per user RHEL/CentOS 7/8. Compare Host based authentication vs public key authentication
How to restrict or allow ssh only from certain users, groups or hosts in Linux
How to allow SSH for root login only from specific host or IP address? How to configure and restrict SSH to permit login only for certain users and/or groups?
Shell script to resize image, convert image format in Linux
Steps to convert image format, resize image percentage, scale using imagemagick in linux. shell script to batch resize image and convert image format in linux.
How to update GRUB2 using grub2-editenv and grubby in RHEL 8 Linux
Set and Modify kernel command line arguments, update GRUB2 in RHEL 8 using grub2-editenv, grubby and grub2-mkconfig with examples to disabled IPv6 RHEL 8 Linux
Steps to join/add CentOS 8 to Windows Domain Controller (RHEL 8)
Step by step tutorial to join or add CentOS 8 to Windows Domain Controller running on Windows Domain Controller Active Directory on 2012 R2 using winbind RHEL 8
How to PROPERLY boot into single user mode in RHEL/CentOS 7/8
linux single user mode, centos 7 single user mode, rhel 7 single user mode, single user mode linux, how to boot into single user mode linux, centos single user mode, single user mode
Install iRedMail on Rocky Linux 8 [Step-by-Step]
Step by Step instructions to install iredmail on rocky linux 8 with screenshots. Install and Configure iredmail server GUI
Add timestamp to SSHD DEBUG logs
Add timestamp to SSHD DEBUG logs using while loop. Prepend timestamp to STDOUT and log file for DEBUG logs
Show NFS shares | List NFS mount points | List NFS clients Linux
Examples and commands to show NFS shares on NFS server, List NFS mount points on NFS Clients, List NFS clients connected to the NFS server, List NFS shares in Linux
10 practical examples to export NFS shares in Linux
This tutorial contains a list of nfs exports options in Linux with examples to create NFS share using /etc/exports. You can share with multiple hosts, single or world
Solved: Kickstart clearpart not working in RHEL CentOS 7 8
Fix kickstart clearpart not working error in RHEl/CentOS 7/8 Linux, kickstart fails to delete existing partitions using zerombr and clearpart in Linux
How to restrict IP Address to use postfix smtp relay
How can I restrict my postfix smtp relay server to be used by only certain IP Address, How to block or allow postfix relay access using mynetworks example
How to reject mail for unknown users in postfix (local_recipient_maps)
How to reject mail for unknown users on localhost with Postfix with local_recipient_maps with example
5 easy steps to blacklist kernel module in CentOS RHEL 7 8
Step by step guide to disable and blacklist kernel module using GRUB2 and modprobe.d in Red Hat and CentOS 7 and 8 Linux. Permanently unload kernel module






