1169
Touch a file in Linux
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Touch is super useful for commands that interact with a file but don't create the file by default. For example, yesterday I needed to copy a file to a remote machine accessible over ssh so I used
scp
(often known as "secure copy") but needed totouch
the file in order to create it beforescp
would copy into itSorry, what?