Recently I wanted to output a string containing the dayโs date and time. So I used the echo
command combined with the date
command. But I didnโt want the newline at the end of the output. So I asked ChatGPT and hereโs the command I got:
echo -n "Hello Varun"