this post was submitted on 17 Mar 2024
1169 points (97.5% liked)

Programmer Humor

19564 readers
1523 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 40 points 8 months ago (18 children)

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

[โ€“] [email protected] 6 points 8 months ago

most shells will accept outputting from a silent command to a file, e.g. :> foo.txt (where : is the posix synonym to the true command)

load more comments (17 replies)