DEV Community

loading...

Show current path on Termux

mzaini30 profile image Zen ・1 min read

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.

Discussion (0)

pic
Editor guide