I was wondering if it was possible have a command that creates one file, but every time the command is executed, it wouldn't overwrite the file created in the previous execution.
For example: touch test1.txt would create 1 file called test1.txt. But the next time I execute it, I would like the new file to be called test2.txt, or something like that. So without overwriting the already existing file. In a way it could be executed multiple times without problems.
Don't misunderstand me, I'm not trying to create multiple files with one command.
Thanks in advance!