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

Programmer Humor

19197 readers
956 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] 28 points 6 months ago (3 children)

I'm way to used to doing nano file.txt that I always forget about touch.

Although most times, if I create a file, it's to put something in it

[–] [email protected] 2 points 6 months ago

I usually do open filename because I prefer GUI text editors.

[–] [email protected] 5 points 6 months ago (1 children)

I do the opposite, I forget I can just create a file with nano. I run touch then open it with nano after to edit.

[–] [email protected] 8 points 6 months ago

That's weird. Stop it.

[–] [email protected] 10 points 6 months ago (1 children)

If you need multiple files for testing a script or such: touch file{1..5}.txt

[–] [email protected] 2 points 6 months ago

If you're having a party or whatever: touch *