Issue
When I use cd ./ it shows this ~ sign But when I use cd / it shows / what is the difference?
Solution
.
refers to the current folder.
~
refers to the users HOME folder.
/
is the root of the file system.
So we can see that, if you start in the HOME folder, and navigate to ./
(which is equivalent to navigating to .
) you are navigating to the current folder (i.e. you are not actually changing folders at all).
Navigating to /
by contrast will navigate you to the root folder.
Answered By - RB.