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)