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

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

  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 characters are forbidden in Windows and Linux directory …

    I know that / is illegal in Linux, and * " / \\ < > : | ? are illegal in Windows. What else am I missing? I need a comprehensive guide that also accounts for double-byte characters.

  5. "Input/output error" when accessing a directory

    Input/Output errors during filesystem access attempts generally mean hardware issues. Type dmesg and check the last few lines of output. If the disc or the connection to it is failing, it'll be …

  6. What does "/" , "./", "../" represent while giving path?

    Jun 16, 2010 · What does "/" , "./", "../" represent while giving path?Let's be precise: "/"is a path which begins with a /, and thus it is an absolute path. Thus, we need to begin in the root of the …

  7. Create directory if it does not exist - Stack Overflow

    Ex, if you need to write log files to YYYY\MM folder, like 2024\08\23.log, it doesn't matter if directory exist before or not - your goal is to open file for writing.

  8. Zip all files in directory? - Unix & Linux Stack Exchange

    Is there a way to zip all files in a given directory with the zip command? I've heard of using *.*, but I want it to work for extensionless files, too.

  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.