About 70 results
Open links in new tab
  1. What is the difference between a directory and a folder?

    Jul 16, 2021 · 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 …

  2. directory - What are ./ and ../ directories? - Unix & Linux Stack …

    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 …

  3. windows - What are "." and ".." in a directory? - Super User

    Based on the question: How to make using command prompt less painful, what are the . and .. entries in the most voted answer? I see it when I do a dir command but it isn't visible to the …

  4. What directory is '~' when I type 'cd - Stack Overflow

    Feb 14, 2009 · 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 …

  5. Find the current directory and file's directory [duplicate]

    How do I determine: the current directory (where I was in the shell when I ran the Python script), and where the Python file I am executing is?

  6. What is the difference between path and directory?

    May 22, 2014 · 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 …

  7. Download a single folder or directory from a GitHub repository

    How can I download only a specific folder or directory from a remote Git repository hosted on GitHub? Say the example GitHub repository lives here: git@github.com:foobar/Test.git Its …

  8. How do I remove a directory and all its contents?

    Sep 25, 2025 · 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?

  9. Location of WSL $Home directory (in Windows) - Super User

    Jun 25, 2023 · Then just drill down into your home directory. Usually though, in windows, if you open up your file explorer, just scroll down to "Network", from there you can also see your …

  10. How do I get the full path of the current file's directory?

    Path() is the current working directory, not the directory of the script. This only "works" in the few cases where the script actually is in the current working directory.