1169
Touch a file in Linux (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] null@slrpnk.net 40 points 7 months ago

Is there a command that's actually just for creating a new file?

[-] gamma@programming.dev 36 points 7 months ago

Nope. If you open a nonexistent path and you have permissions to write to that directory, then that file is created.

load more comments (17 replies)
this post was submitted on 17 Mar 2024
1169 points (97.5% liked)

Programmer Humor

19423 readers
379 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