I'm using echo to output text and curl to get my ip from a website:
echo -n "IP: "; curl ifconfig.co/x-real-ip; echo -e "\b test"
what I noticed is that when the curl command is executed it automatically changes to a new line, and with the escape \b i thought maybe i could backspace to the previous line and output some more text there. Though that is not working apparently. Is there any way to do that?
echo "IP: `curl other args` test"ifconfig.co/x-real-ipbynetwork-science.de/tools/myip.