1167
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 6 months ago* (last edited 6 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 6 months ago
this post was submitted on 17 Mar 2024
1167 points (97.5% liked)

Programmer Humor

19198 readers
1173 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