how do i display the path name to the bash shell?

Thanks all

You mean put the current working directory into the prompt "like DOS" ?

Or just type
pwd

Or do you mean the full path to the bash binary?

$ which bash
/bin/bash

only thing to remember - if there are space chars in the path, either escape them using '\' or put the path in quotes.

using `find` instead of `ls -A`, is another helpful hint, when iterating through dirs and files with spaces

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.