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

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

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

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

  8. Do the parent directory's permissions matter when accessing a ...

    The permissions on the symlink itself may or may not matter depending on the OS and filesystem (some respect them, some ignore them). Removing execute permission from the root directory …

  9. linux - What is "~/" directory? - Super User

    If you try to opendir the string literal "~/" in C, you'll find it doesn't exist. It is a Bash/Csh shorthand notation that is expanded by the shell to the home directory. It does not exist as such on the …

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