Skip to content

Instantly share code, notes, and snippets.

@sandheepg
Created March 8, 2017 06:56
Show Gist options
  • Select an option

  • Save sandheepg/c5021307c7e42cc2ce60e7b78b278ad9 to your computer and use it in GitHub Desktop.

Select an option

Save sandheepg/c5021307c7e42cc2ce60e7b78b278ad9 to your computer and use it in GitHub Desktop.
What is ./ and ../ in Linux

In linux, we often see the use of ./ or ../ before a file name. Here is the explanation for the same

.  Current Directory
.. Parent Directory

./filename  # referring to file name in current directory
../filename # referring to file name in parent directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment