Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ls output



On Mon, Oct 20, 2008 at 02:30:47PM -0400, Don Levey wrote:
> I would have expected some sort of command-line option to ls to at least
> prepend the full path to the directory entry, but there doesn't seem to
> be one.  Is there an "improved" ls that could do this, or is there a
> shell trick that can handle it?

Use 'find'.

E.g.:

find . -name "*.xml"

and it will print out the paths from . to your .xml files.

-b

--
and the end of all our exploring will be to arrive where we started and
know the place for the first time.                         <t.s. eliot>






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org