O/p get display immediately uid=232(vi">
GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Operating System  >  Shell Scripting

 Print  |  
Question:  UID and GID

Answer: What does UID and GID signify?


April 04, 2009 09:09:09 #2
 Vijaymorey   Member Since: April 2009    Total Comments: 3 

RE: UID and GID
 
UID - User id
GID - Group id

We can find out using sample command fire @ $ promoit "id" you will user id & group id.
e. g step 1 : $ id ---> O/p get display immediately
uid=232(vijay) gid=1(staff)

This is actually string in the /etc/password user id = 232 and group = 1 user home directory = :/users/vijay:/usr/ and shell is ksh

vijay:!:232:1:Vijay:/users/vijay:/usr/bin/ksh
     

 

Back To Question