chraebsli to Programmer Humor@programming.dev • 8 months agoTouch a file in Linuxprogramming.devimagemessage-square92fedilinkarrow-up11.2Karrow-down131
arrow-up11.17Karrow-down1imageTouch a file in Linuxprogramming.devchraebsli to Programmer Humor@programming.dev • 8 months agomessage-square92fedilink
minus-square@RustyNova@lemmy.worldlinkfedilink27•8 months agoI’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
minus-square@debil@lemmy.worldlinkfedilink10•8 months agoIf you need multiple files for testing a script or such: touch file{1..5}.txt
minus-square@emptiestplace@lemmy.mllinkfedilink2•8 months agoIf you’re having a party or whatever: touch *
minus-square@DannyBoy@sh.itjust.workslinkfedilinkEnglish5•8 months agoI do the opposite, I forget I can just create a file with nano. I run touch then open it with nano after to edit.
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
If you need multiple files for testing a script or such:
touch file{1..5}.txt
If you’re having a party or whatever: touch *
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.
That’s weird. Stop it.