Support
Forums

Re: Changing date format in filenames in Linux

Excellent.
I notice that you have called your script script1.txt.  This is not a good idea for two reasons:
  • when you have accumulated lots of scripts with similar names you won't remember what they all do - they need to have memorable names
  • although the script is a text file it doesn't need the .txt extension. (in fact Linux doesn't need any file extensions)
So I recommen...
Excellent.
I notice that you have called your script script1.txt.  This is not a good idea for two reasons:
  • when you have accumulated lots of scripts with similar names you won't remember what they all do - they need to have memorable names
  • although the script is a text file it doesn't need the .txt extension. (in fact Linux doesn't need any file extensions)
So I recommen...