PDA

View Full Version : pattern matching


lilshan
01-04-03, 13:47
How can I remover protection mode, user, size in bytes such things?
when I use this command :
ls -li `find <filename> -type f`

WingMan
01-09-03, 09:41
Could you post an example of what you want, as I don't understand the question :confused:

svelasco
01-09-03, 13:53
May be you need something like this:

ls -li | awk '{ print $10 }'

But I donīt know what you want to do.

Bye

Sebastian