About 2,510,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. 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. …

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

  5. How to go to the previous working directory in terminal?

    In terminal, how can I define a key to go to the previous directory which I was in when changing directory with the cd command? For example, I'm in /opt/soft/bin and I cd into /etc/squid3 and I …

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

  7. how to change directory using Windows command line

    Jul 8, 2017 · 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 …

  8. How to remove all the files in a directory? - Unix & Linux Stack …

    I am trying to remove all files and subdirectories in a directory. I used rm -r to remove all files, but I want to remove all files and subdirectories, excluding the top directory itself. For exam...

  9. 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: [email protected]:foobar/Test.git Its …

  10. How do I find the parent directory in C#? - Stack Overflow

    Sep 30, 2016 · I find this method the best because it handles the case where your directory path has trailing slashes. Whereas if you use Directory.GetParent (), you have to call it twice to …