How to view current directory?

QuestionsQuestions8 SkillsProBasic Files OperationsAug, 19 2025
0178

To view the current working directory in Bash, you can use the pwd command. This command stands for "print working directory" and will display the full path of the directory you are currently in.

Usage:

pwd

Example:

When you run the command, you might see output like this:

/home/user/Documents

This indicates that your current working directory is /home/user/Documents.

Feel free to ask if you need more information!

0 Comments

no data
Be the first to share your comment!