doing a ls from a directory (not the current) giving the files without path
Hello,
Im looking for an instruction like this
ls /home/user/folder/*.pdf
But it should only give a list of the filenames and leave out the path, I could script this but im sure there must be a cleaner method using ls but i can't seem to find it or overlooking it.
THx
Last edited by Byenary; 06-25-2008 at 03:56 AM.
|