answered 2023-02-25 17:00:00 +0000
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.