when we specify the file path some times we specify like
./filename and some time
../filename what is difference between these two?
../ refers to the parent folder while
./ means the current folder
. means 'the current folder'.
.. means 'the folder containing the current folder'.
just in case you wonder,
./filename actually means the same thing as
filename - however, on unix systems, the current path isn't searched for executables (for security reasons), so you have to explicitly say "look in the current directory"
Both are different.
./filename points to a file in current directory while
../filename points to a file in parent directory