If you want to reformat JSON output from a single line to a nicely formatted document, you can use the following trick.
cat boring.json | python3 -m json.tool > pretty.json
# --------------------------------------------------------------- | |
# If you are setting up a clean (never used) system, you can run this full batch | |
# Otherwise, I suggest running this line by line (copy/paste). | |
# | |
# Show if java, javac, or jar are already setup. Run these commands before running the rest | |
# | |
JDK_VERSION='jdk1.8.0_271' | |
echo "===============================================================" | |
echo "Processing Aternatives for "${JDK_VERSION} |
# --------------------------------------------------------------- | |
# If you are setting up a clean (never used) system, you can run this full batch | |
# Otherwise, I suggest running this line by line (copy/paste). | |
# | |
# Show if java, javac, or jar are already setup. Run these commands before running the rest | |
# | |
JDK_VERSION='jdk1.8.0_261' | |
echo "===============================================================" | |
echo " Processing Aternatives for "${JDK_VERSION} |
# ~/.inputrc or /etc/inputrc | |
set bell-style none |