A common Linux command to check your current working directory.
How do I find the current working directory in Linux?
5 Answers
Know the answer? Post it. Somebody with the same question will find it here.
A common Linux command to check your current working directory.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Saurabh PrajapatiRank #287 · 8.8K reputationPosted May 28, 2025, 3:33 AM EDT
type on Command Panel - pwd
Baibhav KumarRank #64 · 26.5K reputationPosted May 28, 2025, 5:39 AM EDT
pwdIt shows you the folder (directory) you are currently in when using the Linux terminal.
Deepak TewatiaRank #143 · 15.9K reputationPosted May 28, 2025, 5:53 AM EDT
Open terminal - type pwd

pwd means Present Working Directory
Sarthak VarshneyRank #46 · 32K reputationPosted May 28, 2025, 2:11 AM EDT
The command to find your current working directory in Linux is
pwdMd Masum Kazi6 reputationPosted May 28, 2025, 4:22 AM EDT
type
pwdand enter to get the current path