Remove blank lines ( new line ) with grep
echo -e "a\n\nb" | grep -v '^ *$'
or
grep -v '^[\s\t]*$' file.txt > new_file.txt
Unsupported upgrades Sometimes do-release-upgrade isn't able to run the upgrade to the latest version and it shows an error similar t...