Could anyone explain the difference between ../ and ./ please.
../system
./system
My understanding is that ../
is the root directory.
But I don't know what ./
means.
linuxpath
Could anyone explain the difference between ../ and ./ please.
../system
./system
My understanding is that ../
is the root directory.
But I don't know what ./
means.
Best Answer
./
means the current directory../
means the parent of the current directory, not the root directory/
is the root directorymyfile.text
is in the current directory, as is./myfile.text
../myfile.text
is one level above you and/myfile.text
lives in your root directory.