KORN SHELL LAB EXERCISES

Lab 28: Getting Started

1:What shell are you using? How do you know?
2:Do you have a .profile and/or a .kshrc file in your home directory? What is the difference between the .profile and .kshrc? What is the ENV file and how can you invoke it if you make changes in it?
3:What is the default primary prompt? What is the default secondary prompt? Change your primary prompt at the command line so that it contains your login name.
4:What is the purpose of setting each of the following variables?
  1. set –o ignoreeof

  2. set –o noclobber

  3. set –o trackall

  4. set –o monitor

  5. set –o vi

Why are these variables set in the ENV file? What is the purpose of the PATH? What are the elements of your PATH variable?

5:What is the difference between a local and ...

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.