How to check users Inside a partner profile by shell script? and also how o see permissions for a directory of that profile by shell script?
What profile are you asking?
Unix OS .profile?
Please google it or contact your sysadmin for these tasks:
What is the original requirment? It would be benificial to understand if why checking of user profile and permissions is needed mention more clearly.
If this is not WM then as RMG said it should go to Unix team.