Oct 23, 2013

Linux pipe sample usages


1. Linux Command to search for specific files and modify the file permissions.
find . -name "*.?ar" -print | xargs chmod 777


2. Linux Command to search for specific files and list out the all file details (eg. file permissions)
find . -name "*.?ar" -print | xargs ls -l