[sf-lug] path name expansion
Alex Kleider
akleider at sonic.net
Thu Aug 18 21:41:31 PDT 2016
On 2016-08-18 21:31, Daniel Gimpelevich wrote:
> The expansion of the * is not just within the part of the path before
> the /, but within the whole path. If foo*/bar does not match any file
> named bar in any directory matching foo*, then the * is not expanded.
Yes, that makes sense; pity though- it would have been a slick way of
creating a bunch of files for testing things.
Thanks for the clarification.
> The default shell in 14.04 is bash, even for root.
Would the following not suggest otherwise?
alex at X301n3:~/Test$ ls -l $(which sh)
lrwxrwxrwx 1 root root 4 Apr 8 16:28 /bin/sh -> dash
More information about the sf-lug
mailing list