merari42@lemmy.world to Programmer Humor@programming.dev · 22 hours agoWorks if manually restarted by an intern from time to timelemmy.worldimagemessage-square56linkfedilinkarrow-up1614arrow-down14
arrow-up1610arrow-down1imageWorks if manually restarted by an intern from time to timelemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 22 hours agomessage-square56linkfedilink
minus-squareMonkderVierte@lemmy.ziplinkfedilinkarrow-up10·edit-220 hours agoHow can a shell alias be undocumented? Type alias, there is the oneliner that can’t be too complicated due to lack of variables.
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up3·14 hours agoNobody write down that if you run the stuff in a different machine, you have to create the alias first. And once you lose the machine and are trying to restore your backups, you can’t run alias and discover what doThingy actually does.
minus-squarekaty ✨@piefed.blahaj.zonelinkfedilinkEnglisharrow-up9·edit-219 hours agoalias thisdoessomething='cd /home/linuxuser/ && ./myscript.sh'
minus-squareElvith Ma'for@feddit.orglinkfedilinkarrow-up10·16 hours agoalias cd='echo "command not found"'
minus-squareSaharaMaleikuhm@feddit.orglinkfedilinkarrow-up1·17 hours agoThis a joke? Cause that won’t show up on another machine. Of course it’s undocumented.
How can a shell alias be undocumented? Type
alias
, there is the oneliner that can’t be too complicated due to lack of variables.Nobody write down that if you run the stuff in a different machine, you have to create the alias first.
And once you lose the machine and are trying to restore your backups, you can’t run
alias
and discover whatdoThingy
actually does.alias thisdoessomething='cd /home/linuxuser/ && ./myscript.sh'
alias cd='echo "command not found"'
If you try hard enough
This a joke? Cause that won’t show up on another machine. Of course it’s undocumented.