Problem How to get a list of enabled entries in Linux hosts file? Sometimes, as system administrators, you need to check the list of enabled entries in a Linux system’s /etc/hosts file. Generally, we check the list of enabled host entries by checking the /etc/hosts file …
Problem Failed faulty running or dead multipath was showing on one of my servers as shown below. I need to remove this dead multipath without rebooting the machine. # multipath -ll mpathn mpathn (30000000000000000) dm-27 3PARdata,VV size=1.0T features='0' hwhandler='0' wp=rw `-+- policy='round-robin 0' prio=0 status=enabled |- …
Problem I have created a chroot SFTP user with home directory /incoming, Now I have to share the files contained in the folder /home/documents/pdf. Documents in directory /home/documents/pdf are continuously increasing and I have to share these documents with SFTP users in real-time. To share the …
For a system administrator, it is very important to view log files for monitoring systems and troubleshoot issues. There are many ways to see the logs in real-time on a Red Hat Enterprise Linux (RHEL)system. tail command is a most useful solution which helps system admins to output the …
To find out the Red Hat Enterprise Linux (RHEL) 6 or 7 kernel version, use the uname command to find the information about it. Check RHEL Kernel Version Login to the server and open the terminal or connect to the server through ssh using PuTTY etc. and …
Problem I have an NFS server and some volume/directories are shared from this server to other servers. One day I performed some tasks on the NFS server and during this activity, I removed a mount point /test which was shared with other servers. Before removing the mount …