Yahoo India Web Search

Search results

  1. Jul 15, 2015 · Just path is a file or directory named path in the current directory. ./path is a file or directory named path in the current directory, with the directory spelled out. The dot directory . represents the current directory, and path is the name of the file or directory within this directory.

  2. Sep 6, 2016 · I know ../ means go up a path, but what does ./ mean exactly? I was recently going through a tutorial and it seems to be referring to just a file in the same location, so is it necessary at all? C...

    • What Is An Absolute Path?
    • What Is A Relative Path?
    • Example of Absolute and Relative Path
    • Conclusion

    An absolute pathis a full path that specifies the location of a file or directory from the root directory (‘/’). It provides a complete address that points directly to a file or directory, regardless of the current working directory. This path type always begins with the root directory, followed by subdirectories, and ends with the desired file or ...

    A relative pathspecifies the location of a file or directory in relation to the current working directory (often abbreviated as pwd). It does not start with a slash (‘/’), and it utilizes navigational shortcuts to refer to the file or directory.

    Suppose you are currently located in ‘home/kt’ and you want to change your directory to ‘home/kt/abc’. Let’s see both the absolute and relative path concepts to do this:

    Understanding absolute and relative paths is fundamental for anyone working with Unix or Linux systems. These paths not only facilitate precise file location references but also enhance efficient filesystem navigation. By mastering these concepts, users can improve their productivity and streamline their workflow in a Unix-like environment.

  3. Jun 16, 2010 · "/"is a path which begins with a /, and thus it is an absolute path. Thus, we need to begin in the root of the file system and navigate through the folders given by name, whereas the names are separated by /s (because this is the unix path separator).

  4. A directory is a "folder", a place where you can put files or other directories (and special files, devices, symlinks...). It is a container for filesystem objects. A path is a string that specify how to reach a filesystem object (and this object can be a file, a directory, a special file, ...).

  5. 7 Answers. Sorted by: 44. ./ means the current directory. ../ means the parent of the current directory, not the root directory. / is the root directory. myfile.text is in the current directory, as is ./myfile.text. ../myfile.text is one level above you and /myfile.text lives in your root directory. Share. Improve this answer.

  6. 2. ~ is your home directory, / is the root directory. ~ is where you keep your personal files and directories. Other users can't see or access them. Files and directories in / are system-wide and accessible to all users who have the right permissions.