Skip to Main Content
UNIX® Shells by Example, Third Edition
book

UNIX® Shells by Example, Third Edition

by Ellie Quigley
October 2001
Intermediate to advanced content levelIntermediate to advanced
1040 pages
22h 50m
English
Pearson
Content preview from UNIX® Shells by Example, Third Edition

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:
  1. Welcome the user.

  2. Add your home directory to the path if it is not there.

  3. Set the erase function to the Backspace key using stty.

  4. Type: profile

    What is the function of the dot command?

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

UNIX® Shells by Example Fourth Edition

UNIX® Shells by Example Fourth Edition

Ellie Quigley
Storage Area Networks For Dummies®

Storage Area Networks For Dummies®

Christopher Poelker, Alex Nikitin

Publisher Resources

ISBN: 013066538XPurchase book