Cipherd@lemmy.ml to Programmer Humor@programming.dev · 16 hours agofunctionslemmy.mlimagemessage-square58linkfedilinkarrow-up1406arrow-down15file-text
arrow-up1401arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 16 hours agomessage-square58linkfedilinkfile-text
minus-squareLifter@discuss.tchncs.delinkfedilinkarrow-up1·1 hour agoTry doing cd inside a function and then pwd in the main script. Does it move the main script too?
Try doing
cdinside a function and thenpwdin the main script. Does it move the main script too?