How to check NIS Users in a singal command?

Submitted by: Administrator
From NIS client type the following command.

#ypcat -k passwd | grep userid
Submitted by: Administrator

Read Online Solaris System Calls Job Interview Questions And Answers