Simplest Way to Get Current Directory Absolute Path in Linux – Linux Tutorial

By | June 8, 2022

When we are using remote terminal in a linux system, we may have to know the absolute path of this current directory. In this tutorial, we will tell you a simplest way.

Linux pwd command

The simplest way is to use linux pwd command.

For example:

cd 02_audio_sentiment

This command means we have located at 02_audio_sentiment directory.

However, how to get the absolute path of 02_audio_sentiment? We can use pwd command.

pwd

Then, we will see:

Simplest Way to Get Current Directory Absolute Path in Linux - Linux Tutorial

Leave a Reply