affordableCebu
Classified Ads
Tips & Guides
Login
Register
Search
Ask Question
Post a Free Ad
Home
»
Questions
»
Computers
[
Ask a new question
]
Path difference between ../ and ./
Path difference between ../ and ./
Could anyone explain the difference between ../ and ./ please.
Asked by:
Guest
| Views: 167
Total answers/comments:
3
Comments display order:
By default
New comments first
Old comments first
Guest
[
Entry
]
"./ means the current directory
../ means the parent of the current directory, not the root directory
/ is the root directory
myfile.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."
Guest
[
Entry
]
"The . and .. are relative directories to your current location.
The . is the current directory. eg ""this"".
The .. is the previous directory. eg ""this.parent""."
Guest
[
Entry
]
./ means the current directory.