how to display the home directory?

To display the home directory in Linux, type `echo $HOME` in the terminal and press Enter. This will print the path to the current user's home directory.