Hi...
I want to know the use of ~/, .// and ../ when making a website and what is the difference in all?
What is use of ~/, ./ ../ when making website?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Jul 22, 2011, 4:46 AM EDT
To move backward,
Starting with "/" returns to the root directory and starts there
Starting with "../" moves one directory backwards and starts there
Starting with "../../" moves two directories backwards and starts there (and so on...)
To move forward,
just start with the first subdirectory and keep moving forward
Gurjeet SinghRank #747 · 3.1K reputationPosted Jul 25, 2011, 8:20 PM EDT
To solve my confusion.