. . . . . . . . . . . . . . . . 482
Manage Linux Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
What Are Environment Variables? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Managing Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 487
Exercise 9-3: Working with Environment Variables . . . . . . . . 494
Creating a User-Defined Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 494
Creating Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
Exercise 9-4: Working with Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
Manage Shell Command Inputs and Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Standard bash File Descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Redirecting Output and Input for Shell Commands . . . . . . . . . . . . 502
Exercise 9-5: Redirecting Input and Output . . . . . . . . . . . . . . . . . 507
Piping Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Pages:
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37