i want to do first cat of "readfile" line by line and first read peter in variable and also cross check with /var/ how many directories are avaialble with this name "peter", that can many.
In some word if i have userids file and how can i trace those particular userids duplication in a directory, might be one user has copied another directory and might be one person have copied 5 persons directories.
Thanks for reply but problem is that how i can trace that users file from /var/usershome/, because peter user folder is available in other folders too, for example.
in this way other users are also available in other other users directories, so i want that list which will compare my users files that read first user from file and search
/var/usershome/ directory and whereever that find for example user "peter" display full path.
Thanks, but all above command will show for only one user peter, as i said, users file is separate, i want to make each user in that directory wherever user occurance exist.