RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 days agoThe Minefieldlemmy.worldimagemessage-square67linkfedilinkarrow-up1349arrow-down15
arrow-up1344arrow-down1imageThe Minefieldlemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · 2 days agomessage-square67linkfedilink
minus-squareSavvyWolf@pawb.sociallinkfedilinkEnglisharrow-up23·1 day agoReminder that binaries cannot change a shell’s working directory, so the non-mines will do nothing. (cd is a shell builtin)
minus-squareglibg10b@lemmy.ziplinkfedilinkarrow-up7·1 day agoTechnically they could if run as root by modifying the parent process
minus-squareSasquatch@lemmy.mllinkfedilinkarrow-up5·1 day agoit could just reinvoke $SHELL in the parent dir
minus-squareBetterDev@programming.devlinkfedilinkarrow-up3·24 hours agoI mean, you can just write a whole custom shell for this
minus-squaretyler@programming.devlinkfedilinkarrow-up2·1 day agoGood point. Also it wouldn’t stop you from just opening another terminal window haha.
Reminder that binaries cannot change a shell’s working directory, so the non-mines will do nothing.
(
cdis a shell builtin)Technically they could if run as root by modifying the parent process
it could just reinvoke
$SHELLin the parent dirI mean, you can just write a whole custom shell for this
Good point. Also it wouldn’t stop you from just opening another terminal window haha.