-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 06/10/2010 04:58 PM, Merciadri Luca wrote: > Hi, > > I find `find' very inefficient when trying to find some files. I prefer > using `ls -alR | grep stuff' The problem is that the related output does > not give me the directory where `stuff' is found. How can I add some row > giving this? Thanks. >
Have you tried using locate? locate builds a database of files (using updatedb) so searching is faster. IMO find is best used when you want to perform some action on the files found. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAEBCAAGBQJMEVN3AAoJEKj/C3qNthmTZjMP/iGZrUqJ1g6JtePw+lGgg1KV CapM37ta2KzceroBkzp4W5SJx07s6j8rhHrIKrl0GfWIk9gi4MGW70sajg/nxYB5 vdayoAwW6BuJisLz3+31QzaCo9IAWFkJMGk0e7rwvizZTsjfSF6rHQxCqdTXvCeI 2r3/pte4oCX/PCuM5YhMmmK43hsmaO4/qOdToFoXPSj4Pc+TqlF6sJEykw2IL6HY qaAuIH7ymn+deqQsvaqscMxH04+Xt63iJ/MW0rsyd8GTiWBMTqPKGhakgeZ70/sl wU7qUWVh4OJeJu7GKyqSBM1SGr0I4pyZwRGQUCknkSsWo25oDieH1PJduDMXOffy uynKOJ4Oo1J0JOuIhZoFeQZjr95NqyrBcqOA/TtPE1RvFYwqIg03FeO1qHmRo/QZ JfMeuVoDyFnLuN9TLbtFLGUD1UqtyB8M4q817q+vSMUURqkiWnW8muuLI56mlD1Q sFRk8kLlFO+bHUp3qEJ5QK+WR27xolXtUQ/k/VxQO6aMkH9qfwS9MBs9PxtjJ4H2 BqiyICIH4n3VEJYllGoIpKPQeT55X4KcHLO1ZlJhLEhySozBnQ96VvMzLnwGCkdJ qAnF+N5/YhDbScZKmWeFXrdvyws0dup1Cfz/naphTJnZ4qQ0t0CLX52bDPycyf++ Y004wehF8WqjK1Y9UDqn =fi/F -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4c115377.4080...@gmail.com