1.

pwd and echo $HOME will display the same output.(a) True(b) FalseI got this question in an international level competition.This intriguing question comes from File Handling Commands: pwd, cd topic in chapter The File System of Unix

Answer»

Correct option is (b) False

Explanation: pwd is used for DISPLAYING the absolute pathname of our current WORKING dircectory while $HOME DISPLAYS the absolute pathname of our home directory.



Discussion

No Comment Found

Related InterviewSolutions