The cd command can be used to switch directories. Using this command alone will always take us back to our home directory; using a pathname to access any other directory is necessary.
Using the read link command, we may get a file's complete path. In addition to printing the absolute path for a relative path, read link also prints the absolute path for a symbolic link. Read link converts the relative path foo/ in the first command to the absolute path /home/example/foo. The File class includes the get Absolute Path() function. The absolute pathname of the specified file object is returned by this function. If the file object's pathname is absolute, it simply returns the path to the currently selected file object.
Learn more about Absolute here-
https://brainly.com/question/1301718
#SPJ4