I want to know what is the difference between ./ and ../ when we are giving path. Is it same?
I want to know what is the difference between ./ and ../ when we
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no difference between below given example both are same
This ./myfiles/images is the image folder here, and this ../myfiles/images is the parent directory which is myfiles folder here
So ../myfiles/images is like we want image from the images folder. This ./myfiles/images is the same of image both are get from the image folder here.