Sample Header Ad - 728x90

What is . and .. in Unix/Linux?

0 votes
1 answer
241 views
What is . and .. in Unix/Linux ? I’m making a confusion here: the .. (dots) means one dot for the current directory and one dot for the parent directory? That why cd .. goes back one above? From the current to one up? And also why the one dot and two dots is displayed this way: . .. current directory and one up? It makes more sense to me like this: .. . one up, current directory, then the files and directories… Please explain me this a bit more.
Asked by Guilherme Woolley (101 rep)
Jan 19, 2024, 06:20 AM
Last activity: Jan 19, 2024, 02:05 PM