Quiz: How do you print the value of the $PWD shell variable in #Linux or #Unix? Choose one answer only.
awk 'BEGIN {print ENVIRON["PWD"]}'
3%
cat <<<"$PWD"
1.4%
echo "$PWD"
92.8%
printf "%s\n" "$PWD"
2.8%
Poll ended at .
@nixCraft why not just $pwd? :P
@nakdim @nixCraft Because it will try to execute the value of $pwd. Which in some shells will try to go to that path, thus doing nothing because you're already there, and in others will fail because it isn't a valid command (I believe, haven't tested that)