Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/u763016847/domains/golinuxhub.com/public_html/wp-includes/functions.php on line 6114
Programming - GoLinuxHub

sed: delete all blank lines from a text file

Here our requirement is to remove all the blank lines from a file. Our sample file [root@golinuxhub ~]# cat /tmp/file This is line one This is line two This is line three This is line