What is force umount and lazy umount in Linux and which option we should use ?
Today we will see how to do force umount a partition and how to use lazy umount in case force umount fails. 1. Syntax Force umount # umount -f Lazy...
Sometimes when you browse solution to some issue, you might have seen “make sure your kernel supports —- option i.e. during its build, this option is specified and enabled ?”...
Have you ever worked in latest versions of fedora ? If yes, you might have observed some directories “/run/user/some-number” when doing “df -h”. Lets see the command output. [saket@localhost ~]$...
Today in this post, we will look how to run a command with root user, i.e. using sudo on remote server. And how to place it in a loop to...
Today in this post, we will look how to identify the lvm, or multipath device which is mapped by device mapper on our system. Device mapper automatically creates a pseudo...
I. Introduction Entropy pool is a large number (typically around 4096 bits) stored in a memory location which can be read by programs. This large number is a random number...
Lets start with python programming and see how to ping a list of servers from a hosts file. First lets start with program. I. Program import os hostsfile=open("hosts", "r") lines=hostsfile.readlines()...
Do you know what is the meaning of value stored in /proc/sys/kernel/ctrl-alt-del file ? Let us have a look at it. I. Meaning of default values [root@ngelinux kernel]# cd /proc/sys/kernel...
Today in this post, we will understand how to check ping status of a domain in python programming language. I. Program import os response=os.system("ping -c 2 google.com") if (response ==...