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

Programmer Humor

19537 readers
523 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 8 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 7 months ago

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

[–] [email protected] 5 points 8 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 7 months ago

That's weird. Stop it.

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

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

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

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