Question: Need some help with the following linux/UNIX activities: When you use env or printenv , there may be so many environment variables that they scroll
Need some help with the following linux/UNIX activities:
When you use env or printenv, there may be so many environment variables that they scroll of the screen; and you'll also notice that they are not in alphabetical order.
Part 1: Provide the command to display the list of environment variables in alphabetical order (using the sort command) and one page at a time.
Part 2: With the Bourne shell family, the shell variables all have uppercase case names; which means you can't tell if a particular variable is global or local just by looking at its name. how do you determine which Bourne shell variables are local?
Part 3: List 4 shells of the Bourne shell family and 2 shells of the C-Shell family
Part 4: Explain why the shell variable naming convention is different between the Bourne Shell family and C-Shell family.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
