1173
Touch a file in Linux (programming.dev)
submitted 1 year ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 40 points 1 year ago

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

[-] [email protected] 36 points 1 year 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
1173 points (97.5% liked)

Programmer Humor

25009 readers
1641 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 2 years ago
MODERATORS