BOURNE SHELL LAB EXERCISES
Lab 8: 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: | Where is your login shell assigned? (What file?) |
5: | Explain the difference between the /etc/profile and .profile file. Which one is executed first? |
6: | Edit your .profile file as follows:
|
Lab 9: Shell Metacharacters
1: | Make a directory called wildcards.
Cd to that directory and type at the prompt:
touch ab abc a1 a2 a3 all a12 ba ba.1 ba.2 filex filey AbC ABC ABc2 abc ... |
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.