News for hackers. Stuff that matters.
Re:Show HN: Sharing, command-line tool to share files with y... by creata on Wednesday October 05, 2022 @09:07PM (#33103146)
If you have qrencode on your system, you can also print a QR code with

    echo "http://$(ip route get 1 | sed -n 's/.*src \([0-9.]\+\).*/\1/p'):8082" | qrencode -t UTF8 -o -
Credit to https://stackoverflow.com/a/49552792 for fetching the IP address.
Re:Show HN: Sharing, command-line tool to share files with y... by BeefWellington on Wednesday October 05, 2022 @10:56PM (#33103813)
I find

    hostname -I 
Generally simpler and works in the 90% case.