abcdqfr@lemmy.world to linuxmemes@lemmy.world · 2 days 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-square72fedilinkarrow-up1166arrow-down110
arrow-up1156arrow-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 days agomessage-square72fedilink
minus-squareHawke@lemmy.worldlinkfedilinkarrow-up14arrow-down1·2 days agoNo. “Print working directory” is the command to print (display) the “cwd” (current working directory).
minus-squareLaggyKar@programming.devlinkfedilinkarrow-up6·2 days agoI find it weird when you get “pwd” as a variable
minus-squareHawke@lemmy.worldlinkfedilinkarrow-up1·2 days 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().