Display files without empty lines or comments Paste the following in your shell: cat << EOF >> ~/.bashrc alias nocom='sed -e "/^\s*#/d" -e "/^\s*$/d"' EOF This sets up an alias, so that you don’t have to memorize… Posted by noobient 2018-07-26No Comments