• +91 9723535972
  • info@interviewmaterial.com

Unix Interview Questions and Answers

Question - Explain a path in UNIX and different types of pathnames.

Answer -

A Path is the unique location of a file/directory and a way to access it within the hierarchy of directories. There are basically two types of pathnames that are used in Unix.

  • Absolute Pathname: The complete path specifying the location of a file/ directory from the very start of the actual file system(root directory).
           Ex- /usr/local/Cellar/mysql/bin
  • Relative Pathname: The path from the current working directory where the user is i.e. the present working directory (pwd).
          Ex- If current directory is /usr/local/Cellar the the relative path for bin is             ./mysql/bin

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners