Quick Answer: How Do I Display the Current Working Directory in Linux?
Contents

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

How do you display the current working directory in 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.

How do I find my current working directory?

To get the current working directory use the pwd command.

Elena Rostova

Elena Rostova

Lead Health, Wellness & Medical Journalist

Elena Rostova holds a Master's degree in Public Health Journalism. She covers groundbreaking medical research, holistic wellness trends, mental health awareness, and nutritional science.

Share this article
Twitter Facebook Pinterest