How Do I Find the Relative Path in Linux?
Contents Command Description Path. /Simple. Sh Run Script from Current Directory Use Relative Path What Is the Relative Path in Linux? Relative Path Is Defined...
Contents
| Command | Description | Path |
|---|---|---|
| ./simple.sh | Run script from current directory | Use relative path |
What is the relative path in Linux?
Relative path is defined as the path related to the present working directly(pwd). It starts at your current directory and never starts with a / .
Must Read
How do I find the path of a file in Linux?
On Linux: You can use the command realpath yourfile to get the full path of a file as suggested by others.