1
Well, I’m trying to create a text log, with the days and times my script was executed. Only, for example: when I use echo 10/03 - 13:20 >> log.txt it overwrites there in the text file by numerical order, so it’s getting more or less like this the log:
09/01 - 10:43
10/03 - 13:20
12/03 - 12:05
I thought about improvising and putting 1 -, 2 -, 3 - before each date, but I think it gets a lot of improvisation. Does it have any form of order other than numerical form?
your question is confusing...you want to sort numbers but it can’t be in numerical order ? for me it doesn’t make much sense
– zentrunix
Placing the output command
>>
you are asking to put the content at the end of the file, ie in the last line of the text file.– Laércio Lopes