DEV Community

Discussion on: Simple Commands in Linux That Will Make You Feel Like a Pro

Collapse
 
jonrandy profile image
Jon Randy 🎖️

touch will create a new file, but that is merely a convenient side effect, and not its primary purpose. The purpose of touch is to update the access and/or modification date of a file