The shell program prompt displays, for brevity, only the last component of the current directory path. For /home/centosuser/Videos, only Videos displays. At any time, return to the user’s home directory using cd without specifying a destination. The prompt displays the tilde (~) character when the user’s current directory is their home directory.
| Tech info |
![How to return to user Home Directory from any location [Linux] How to return to user Home Directory from any location [Linux]](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXKP9JJMTegIdGYQJ6o1NrUDyGYvLV4N4PxzigkoEzW6F4cDejB5sOJAlVvV9FWP7AEi4Kda9BgsaSUdzA0887L-Rwo_8W33CFHzLQ4msdaHJ4AWpT4oGRgfct_KJgT415XoOs7osxy7WO/s200/Green_Home_Folder.png)
Comments
Post a Comment