find / -name filename | xargs -l1 -p cp filename (take out the -p to get xargs to not ask first)cat *.c | wc -lThese should be relatively easy to modify to your own purposes. Confused? Remember, man is your friend (e.g. try man wc). Note however that the man page on xargs is fairly incomplete on most systems I have checked on. That's ok though, because Google is your friend too.
Want to comment? You'll need to create an account first.