BASH SHELL LAB EXERCISES
Lab 43: Getting Started
1: | What process puts the login prompt on your screen? |
2: | What process assigns values to HOME, LOGNAME, and PATH? |
3: | How do you know what shell you are using? |
4: | What command will allow you to change your login shell? |
5: | Where is your login shell assigned? (What file?) |
6: | Explain the difference between the /etc/profile and ~/.bash_profile file. |
7: | Which one is executed first? |
8: | Edit your .bash_profile file as follows:
|
9: | What is the BASH_ENV file? When is it executed? |
10: | What is the default primary prompt?
|
Get UNIX® Shells by Example, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.