Bash Reference Manual sometimes mentions filename expansion and sometimes but less often pathname expansion.I have been thinking they are the same concept. But the same manual mentions the two without defining the second, which makes me uncertain. So are they the same or different?
Are filename expansion and pathname expansion the same thing in Bash?
bash
Yes.Visit bash(1) in which you'll find section Pathname Expansion.Visit Filename Expansion from Bash Reference Manual.And recognize that both are talking about same-thing. (also known as globbing)