Shell Processes   «Prev  Next»

Unix Login Shell - Exercise

Objective:Practice looking up a login shell in /etc/passwd

Exercise Scoring:

This exercise is auto-scored and is worth 2 points.

Instructions

Run the commands listed below to identify the login shell for your account.
  1. Login to your shell account for this class.
  2. Run the grep command to display lines from the /etc/passwd file that contain your login name. We will cover the grep command in a future module. In the command below, you must insert your login name into the grep command in place of <your-login-name>. DO NOT include the angle brackets in the command.

grep <your-login-name> /etc/passwd

If you have any problems with this exercise, contact your tutor and ask for assistance.

Submitting your exercise

This exercise is auto-scored; when you complete the exercise, click the Submit button to receive full credit.