We Value Your Privacy

This site uses cookies to improve user experience. By continuing to browse, you accept the use of cookies and other technologies.

I UNDERSTAND
LEARN MORE
Subscribe
AboutAbout
DealsDeals
ArticlesArticles
GenresGenres

Portable | Pwdquery

alias pwdquery='echo "Path: $(pwd) | Perms: $(ls -ld . | cut -d" " -f1) | Parent: $(dirname $(pwd))"' It’s simple, but surprisingly useful when you’re jumping between deeply nested folders.

Have your own version of pwdquery ? Share it in the comments—I’d love to see how others have extended this idea. Stay efficient, stay curious. pwdquery

You’re about to set a new password, but you want to validate it against your org’s policy first. Example usage (hypothetical): pwdquery --check "MySecureP@ssw0rd" Output: alias pwdquery='echo "Path: $(pwd) | Perms: $(ls -ld

If you’ve stumbled across the term pwdquery , you might be confused—because in the Linux/macOS world, pwd prints your current directory, and query could mean anything from database lookups to password checks. pwd prints your current directory