About 2,490,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  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. How do I check if a directory exists in Python? - Stack Overflow

    A word of warning - the highest rated answer might be susceptible to race conditions. You might want to perform os.stat instead, to see if the directory both exists and is a directory at the …

  5. directory - How can I Git ignore subfolders ... - Stack Overflow

    145 All the previous answers are valid, but something that I don't think is mentioned is that once you add a file from that directory into the repository, you can't ignore that …

  6. 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?

  7. Change Git repository directory location. - Stack Overflow

    0 -First check all the directories in current folder containing git repo $ ls -la Or ls -al -Identify this folder **.git** -Use this command to move the folder to the location you need, $ mv .git the …

  8. Command prompt won't change directory to another drive

    10 If you want to change from current working directory to another directory then in the command prompt you need to type the name of the drive you need to change to, followed by : symbol. …

  9. 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.

  10. c++ - How to get Current Directory? - Stack Overflow

    This fetches the current working directory, adds the filename to the path and creates an empty file. Note that the path object takes care of os dependent path handling, so cwd.string() returns …