I've begun assembling some tips and tricks to perform tasks with only POSIX-compliant utilities and shell syntax. There are many others I know about and haven't document yet, but I'm always looking for more. If you have any suggestions, please let me know!

Some POSIX Tricks
Posted in: s/Linux
🚀 jsreed5

Feb 27 · 10 months ago · 👍 stack

1 Comment

🐦 wasolili [...] · 2025-02-27 at 23:47:
printf "%s\n" "$PWD"

the `pwd` command will do this too

— posix spec pwd page