In this step-by-step guide, I will be looking at how to view URL Path names & Path Directory inside Linux. Please don't panic! It's very simple and uses very simple Linux command terms.
To be honest, It's also quite simple to view any URL path names located within your Linux server simply just by using UNIX commands (PWD) Unix.
This can be useful when managing your website server, doing maintenance or updating certain path names.
How can this Linux command be handy?
First, you might want to view the current folder you are currently in whilst using the Linux command, therefore this command will open up the path and advise you on your current location within your Linux server.
The Guide
To view any path that you may currently be located inside your Linux server, simply type the command "pwd".
This is the simply 1 line command.
# pwd
This will show you your current active file path location
in my case its
/testfolder/test1
The file URL path in a GUI interface is shown below
Here is a quick diagram of how paths work in Linux and most systems
I hope this will help you understand the basics of paths and directory listing on Linux using UNIX commands.
This is a simple tutorial, you simply have to use 1 Linux command, to view whole path name directory. If you guys have other cool Linux commands, post them below this topic, to share them with the forum users.