abcdqfr@lemmy.world to linuxmemes@lemmy.world · 2 months agoWhat's your mnemonic for pwd?- OMG it means print working directory. My mind instantly goes to password every time. I had to reach puddle wuv dud levels of autism before thinking otherwise. I shame mymessage-squaremessage-square72linkfedilinkarrow-up1172arrow-down111
arrow-up1161arrow-down1message-squareWhat's your mnemonic for pwd?- OMG it means print working directory. My mind instantly goes to password every time. I had to reach puddle wuv dud levels of autism before thinking otherwise. I shame myabcdqfr@lemmy.world to linuxmemes@lemmy.world · 2 months agomessage-square72linkfedilink
minus-squareHawke@lemmy.worldlinkfedilinkarrow-up14arrow-down1·2 months agoNo. “Print working directory” is the command to print (display) the “cwd” (current working directory).
minus-squareLaggyKar@programming.devlinkfedilinkarrow-up6·2 months agoI find it weird when you get “pwd” as a variable
minus-squareHawke@lemmy.worldlinkfedilinkarrow-up1·2 months agoKinda yeah, but I think that just comes from storing the output of the PWD command. The system call that returns that value is called getcwd().
No. “Print working directory” is the command to print (display) the “cwd” (current working directory).
I find it weird when you get “pwd” as a variable
Kinda yeah, but I think that just comes from storing the output of the PWD command.
The system call that returns that value is called getcwd().