Where Is My Working Directory Linux?
Contents

To display the location of your current working directory, enter the command pwd.

How do I find my current working directory?

To get the current working directory use the pwd command.

What is my current working directory Unix?

cd [path] changes the current working directory. ls [path] prints a listing of a specific file or directory; ls on its own lists the current working directory. pwd prints the user’s current working directory. / on its own is the root directory of the whole file system.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest