help with long listing + locate
Hi
The time has come for me to unleash the power of piping on the command-line. Can any one help me with the following:
I use "locate" to find a file, but I also want full details of the file, i.e. a long listing.
As it stands locate only gives me its path.
So, I reckon a pipe is in order. I tried
ls -l < locate {filename}
locate {filename} | ls -l
However none of these worked. Anybody out there quick on the command line draw?
|