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"