The ____ acts as a shorthand representation of the home directory.

Answer: b
Explanation: The ~ acts as a shorthand representation of the home directory. When the ~ (tidle) is followed by a login name, the shell understands the entire argument as the absolute pathname of the login directory. Thus when the shell encounters the following command line, it switches the Sharma’s home directory.
Code:
$ cd ~ sharma         //effectively becomes $HOME/sharma
 

Tìm kiếm

Back
Top