Comments on: 8 Practical Examples of Linux “Touch” Command https://www.tecmint.com/8-pratical-examples-of-linux-touch-command/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 23:14:57 +0000 hourly 1 By: jstars https://www.tecmint.com/8-pratical-examples-of-linux-touch-command/comment-page-1/#comment-1868438 Sat, 27 Aug 2022 09:14:26 +0000 http://www.tecmint.com/?p=1735#comment-1868438 Can you provide a practical example of why you would want to change file access or modification timestamps?

]]>
By: Michael https://www.tecmint.com/8-pratical-examples-of-linux-touch-command/comment-page-1/#comment-1210305 Wed, 24 Jul 2019 17:49:30 +0000 http://www.tecmint.com/?p=1735#comment-1210305 In example 6, you forgot to include the MM portion of the timestamp.

CCYYMMDDHHMM

So, 201912311200 would be 12:00 on 12/31/2019, for example.

]]>
By: Ravi Saive https://www.tecmint.com/8-pratical-examples-of-linux-touch-command/comment-page-1/#comment-1203731 Mon, 15 Jul 2019 06:10:12 +0000 http://www.tecmint.com/?p=1735#comment-1203731 In reply to Shillpa.

@Shilpa,

You can create 100 text files using touch command as shown.

# touch shilpa{1..100}.txt

The above command will create files in following order.

shilpa1.txt
shilpa2.txt
shilpa3.txt
...
]]>
By: Shillpa https://www.tecmint.com/8-pratical-examples-of-linux-touch-command/comment-page-1/#comment-1201174 Fri, 12 Jul 2019 12:37:55 +0000 http://www.tecmint.com/?p=1735#comment-1201174 How to create 100 text files by using single command in Linux

]]>
By: Felix https://www.tecmint.com/8-pratical-examples-of-linux-touch-command/comment-page-1/#comment-1018037 Mon, 23 Jul 2018 15:51:16 +0000 http://www.tecmint.com/?p=1735#comment-1018037 In reply to srikanth tummala.

did you read the other examples ? there you may find plenty of uses which do not involve creating a file.

]]>