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 …