0

What is the meaning when we put ./ and ../ while defining path for a file ?

9th Oct 2021, 4:27 PM
Levi
Levi - avatar
2 Réponses
+ 6
A single dot means current path level, while double dots means previous path level. So ./hello/ means to access "hello" directory in the current directory, while ../hello/ means to go on e directory up and then access "hello" directory
9th Oct 2021, 4:35 PM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 3
../ is used to go back to previous folder ./<folder_name> is used to access the folder having name folder_name
9th Oct 2021, 4:34 PM
Saurabh
Saurabh - avatar