Question: you need commend lines for each problem
• Question 1: Find the distribution of various shells used by all the users.
• Question 2: Find all the users with group id 300 (output the full names of those users).
• Question 3: Find the distribution of first letter of last names of all users.
• Question 4: Find out how many users have duplicate last names (it is ok if you don't compute grand total).
• Question 5: Find out how many different base points are used for home directories? For example, /home is different from /home1, similarly /home2 is different too.
You have to satisfy the requirements specific in the instruction and please keep it simple and short and no copy and paste.