Every directory on a Unix system (and probably every other system too) contains at least two directory entries. These are . (current directory) and ..

Understanding the Context

(parent directory). In the case of the root directory, these point to the same place, but with any other directory, they are different. You can see this for yourself using the stat, pwd and cd commands (on Linux): $ cd / $ stat . ..

Key Insights

bin sbin ... directory - What are ./ and ../ directories? - Unix & Linux Stack Exchange Check "The folder metaphor" section at Wikipedia. It states: There is a difference between a directory, which is a file system concept, and the graphical user interface metaphor that is used to represent it (a folder). For example, Microsoft Windows uses the concept of special folders to help present the contents of the computer to the user in a fairly consistent way that frees the user from ...

Final Thoughts

windows - What are "." and ".." in a directory? - Super User In bash all I know is that rmdir directoryname will remove the directory but only if it's empty. Is there a way to force remove subdirectories? The "cd" command changes the directory, but not what drive you are working with. So when you go "cd d:\temp", you are changing the D drive's directory to temp, but staying in the C drive. What is the simplest way to forcefully delete a directory and all its subdirectories in PowerShell?

I am using PowerShell V2 in Windows 7. I have learned from several sources that the most obvious windows - How can I recursively delete an entire directory with ...