Tag Archives: cmd

How to beautify XML text on command line in Ubuntu

sudo apt install libxml2-utils echo ‘your xml stuff here’ | xmllint –format – You will get a beautiful well-organized XML output. Sources: https://jahansyed.co.uk/2016/04/22/how-to-install-xmllint-in-ubuntu/ https://stackoverflow.com/questions/16090869/how-to-pretty-print-xml-from-the-command-line

Posted in Linux | Tagged , , , , , | Leave a comment