DEV Community 👩‍💻👨‍💻

Zen
Zen

Posted on

Show current path on Termux

Type:

cd
Enter fullscreen mode Exit fullscreen mode

Type:

cd ../usr/etc
Enter fullscreen mode Exit fullscreen mode

Edit:

nano bash.bashrc
Enter fullscreen mode Exit fullscreen mode

Add this in end of line:

PS1="\w :"
Enter fullscreen mode Exit fullscreen mode

Save.

Top comments (0)

Create an Account! The only reason people scroll to the bottom...  
is because they want to read more.

Create an account to bookmark, comment, and react to articles that interest you.