RomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-21 day agoThe Minefieldlemmy.worldimagemessage-square67linkfedilinkarrow-up1346arrow-down16
arrow-up1340arrow-down1imageThe Minefieldlemmy.worldRomulusCornflakes@lemmy.world to linuxmemes@lemmy.worldEnglish · edit-21 day agomessage-square67linkfedilink
minus-squareSavvyWolf@pawb.sociallinkfedilinkEnglisharrow-up22·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·23 hours agoTechnically they could if run as root by modifying the parent process
minus-squareSasquatch@lemmy.mllinkfedilinkarrow-up5·23 hours agoit could just reinvoke $SHELL in the parent dir
minus-squareBetterDev@programming.devlinkfedilinkarrow-up3·20 hours agoI mean, you can just write a whole custom shell for this
minus-squaretyler@programming.devlinkfedilinkarrow-up2·24 hours 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.