1163
Touch a file in Linux (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] Trainguyrom@reddthat.com 6 points 7 months ago* (last edited 7 months ago)

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 to touch the file in order to create it before scp would copy into it

[-] emptiestplace@lemmy.ml 8 points 7 months ago
this post was submitted on 17 Mar 2024
1163 points (97.5% liked)

Programmer Humor

19480 readers
561 users here now

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.

Rules

founded 1 year ago
MODERATORS