Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can obtain the basename of the current working directory in xfce terminal using the bash command:

basename "$(pwd)"

This will print the name of the current directory without the path.