I am trying to write a script that will upload a file via rest api. I am trying to show the action and its completion using echo statements as below..
echo "Uploading file ..."
curl -s -u user:pass -XPUT https://mywebsite/api/filename
echo "DONE."
I want the standard o/p to look like as below.
Uploading file ... DONE.
Is this possible using echo?