pwd and echo $HOME will display the same output.

Answer: b
Explanation: pwd is used for displaying the absolute pathname of our current working dircectory while $HOME displays the absolute pathname of our home directory.
Code:
$ echo  $HOME
/home/user08			    // displays home directory
$ pwd
/home/user08/documents/template	   // displays current directory
 

Tìm kiếm

Back
Top