I need to make a script that returns 2 commands to a file.
But i would like them to be on the same line in the file.
The first command i want to use is speedtest-cli --csv
and the second command is date '+%H:%M'
I searched on the internet and i found this:
{ date '+%H:%M' ; speedtest-cli --csv;} >> output.csv;
But when i use this the output file contains this:
21:18
11458,MyTheValentinus,Roubaix,2017-12-15T20:18:43.049067Z,34.53116198582131,32.416,20496907.000490207,3872939.885024341
while it needs to be on the same line.
How would i do this?