1168
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 8 months ago

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

[-] gamma@programming.dev 36 points 8 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
1168 points (97.5% liked)

Programmer Humor

19606 readers
191 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