1 2 3 4 5 6 7 8
#!/bin/bash wget -O - "https://opensources.eckner.net/ls.php?ls=mounted" 2> /dev/null | \ tr "<>" "\n\n" | \ grep "^mounted-" | \ sed "s|^mounted-||" | \ sort -V | \ tail -n1