chraebsli@programming.dev to Programmer Humor@programming.dev · 10 months agoTouch a file in Linuxprogramming.devimagemessage-square88fedilinkarrow-up11.11K
arrow-up11.08KimageTouch a file in Linuxprogramming.devchraebsli@programming.dev to Programmer Humor@programming.dev · 10 months agomessage-square88fedilink
minus-squareRustyNova@lemmy.worldlinkfedilinkarrow-up27arrow-down1·9 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-squaredebil@lemmy.worldlinkfedilinkarrow-up8·9 months agoIf you need multiple files for testing a script or such: touch file{1..5}.txt
minus-squareemptiestplace@lemmy.mllinkfedilinkarrow-up2·9 months agoIf you’re having a party or whatever: touch *
minus-squareOctopus1348@lemy.lollinkfedilinkarrow-up2·9 months agoI usually do open filename because I prefer GUI text editors.
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 usually do
open filename
because I prefer GUI text editors.