How to view user directories in Linux?
In Linux, you can use the following command to view the user directory:
- change directory
cd ~
- Show current directory.
pwd
- list
ls
This way, you can view the files and directories in the user’s home directory.