DispersedNet
SiteMap
Unix Concepts
Shell Programming
Shell Scripting
Unix Questions
Shell Processes
«Prev
Next»
Shell Programming
Shell Processes
login Shell
Define Unix Process
Starting Other Shells
Parent Child Processes
3 Ways Shell Script
Specify Shell Script
Unix Path Variable
Shell Script Conclusion
Embedded Commands
Date Command Options
Embedded Command Syntax
Unix Commands
Grep Command
Unix File Types
Debugging Shell Scripts
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.
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
Submit
button to receive full credit.
Submit