Buage_@piefed.social to linuxmemes@lemmy.worldEnglish · 2 days agocat working, do not disturb!!media.piefed.socialimagemessage-square10linkfedilinkarrow-up1508arrow-down12
arrow-up1506arrow-down1imagecat working, do not disturb!!media.piefed.socialBuage_@piefed.social to linuxmemes@lemmy.worldEnglish · 2 days agomessage-square10linkfedilink
minus-squarepelya@lemmy.worldlinkfedilinkarrow-up1·edit-219 hours agoNow instead of cat file.txt | grep stuff I’m using dd <file.txt | grep stuff because I’m conditioned that I write the file first and the action second. If you write it like dd<file.txt you are saving one space character compared to cat file.txt
minus-squaresamc@feddit.uklinkfedilinkEnglisharrow-up20·2 days agoI always felt dumb for not understanding shell redirections, but honestly those examples convinced me that it’s the syntax that’s to blame
minus-squareTwilightKiddy@scribe.disroot.orglinkfedilinkEnglisharrow-up1·2 days agodeleted by creator
Stop cat abuse!
Now instead of
cat file.txt | grep stuffI’m usingdd <file.txt | grep stuffbecause I’m conditioned that I write the file first and the action second.If you write it like
dd<file.txtyou are saving one space character compared tocat file.txtI always felt dumb for not understanding shell redirections, but honestly those examples convinced me that it’s the syntax that’s to blame
deleted by creator
deleted by creator