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 ...
Every directory on a Unix system (and probably every other system too) contains at least two directory entries. These are . (current directory) and .. (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 . .. bin sbin ...
directory - What are ./ and ../ directories? - Unix & Linux Stack Exchange
windows - What are "." and ".." in a directory? - Super User
Your profile chain can quite easily change your current working directory before the prompt appears. A more reliable way is " ( cd ; pwd )" to, in a subshell, change to your home directory then print out the working directory.
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 path meanings: / is the root of the current drive; ./ is the current directory; ../ is the parent of the current directory.
A directory is a "folder", a place where you can put files or other directories (and special files, devices, symlinks...). It is a container for filesystem objects. A path is a string that specify how to reach a filesystem object (and this object can be a file, a directory, a special file, ...). Example: you have (probably, depending on your system) a file where system messages are logged ...
Working with xenserver, and I want to perform a command on each file that is in a directory, grep ping some stuff out of the output of the command and appending it in a file.
When I open Git Bash on Windows 7, the default directory is /. It has *nix-style subdirectories, and cd .. doesn't change the directory. Where is this directory on my Windows machine? The director...