Parent Child Processes
3 Ways Shell Script
Specify Shell Script
Define Unix Process
Date Command Options
Embedded Command Syntax
Unix File Types
Debugging Shell Scripts
Unix Login Shell - Exercise
Practice looking up a login shell in /etc/passwd
This exercise is auto-scored and is worth 2 points.
Run the commands listed below to identify the login shell for your account.
Login to your shell account for this class.
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
button to receive full credit.