About 2,590,000 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).

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

  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 list all files of a directory? - Stack Overflow

    Jul 9, 2010 · How can I list all files of a directory in Python and add them to a list?

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

    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?

  8. How do I get the directory where a Bash script is located from …

    How do I get the path of the directory in which a Bash script is located, inside that script? I want to use a Bash script as a launcher for another application. I want to change the working directo...

  9. How to delete all files and folders in a directory?

    Aug 17, 2009 · Using C#, how can I delete all files and folders from a directory, but still keep the root directory?

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