PWD(1)
π PWD(1) β like, the manual page, but make it make sense π
okay bestie, welcome to pwd from the User Commands girlies. no cap, this is the tiny little icon that tells you where you are in the filesystem. main character energy for your shell prompt. let's get into it π«Ά
β¨ NAME β¨
pwd β print name of current/working directory. that's it. that's the whole job. and she ate. π
β¨ SYNOPSIS β¨
pwd [OPTION]...
β¨ DESCRIPTION β¨
So basically: it prints the full filename of the current working directory. the whole path. from / all the way to where you're standing. your location reveal, but make it text. πβ¨
Here are the options, and yes every single one of them matters:
-L,--logicalβ usePWDfrom the environment, even if it's got symlinks in it. lowkey trusting the vibe your shell already handed you. π-P,--physicalβ resolve all symlinks. no fantasy paths, just the cold hard real filesystem truth. πΈ--helpβ display this help and exit. she's helpful, she's polite, she's leaving. π--versionβ output version information and exit. receipts, bestie. π
If no option is specified, -P is assumed. so by default you get the physical, symlink-resolved answer. good to know. π§
β οΈ real talk though: your shell may have its own version of pwd, which usually supersedes the version described here. so pls refer to your shell's documentation for the details about the options it supports. don't come for me, come for your shell. π
β¨ AUTHOR β¨
Written by Jim Meyering. thank you king. π«‘π
β¨ REPORTING BUGS β¨
found a bug? it's giving "submit it properly", so:
- Report bugs to:
bug-coreutils@gnu.org - GNU coreutils home page: <https://www.gnu.org/software/coreutils/>
- General help using GNU software: <https://www.gnu.org/gethelp/>
- Report any translation bugs to <https://translationproject.org/team/>
β¨ SEE ALSO β¨
Full documentation <https://www.gnu.org/software/coreutils/pwd>
or available locally via:
info '(coreutils) pwd invocation'
Packaged by Ubuntu (9.10-1ubuntu2). Copyright Β© 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. fr fr. read the fine print, bestie. π₯
and that's the whole page!! this was GNU coreutils 9.10, dated August 2026, filed under PWD(1). stan a one-line utility that just works. go check where you are, you're doing great π¦πβ¨
π¦ where this page comes from
- ubuntu stonking: gnu-coreutils 9.10-1ubuntu2 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms