This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
haas:spring2014:unix:labs:lab4 [2014/02/09 14:58] – [History] wedge | haas:spring2014:unix:labs:lab4 [2014/02/09 15:00] (current) – [Environment Variables] wedge | ||
---|---|---|---|
Line 144: | Line 144: | ||
* < | * < | ||
- | Environment variables are identified with the $ prefixing an ALL-CAPITAL variable name. This is to visually distinguish them. Lowercase names can be used for personal variables that are declared. | + | Environment variables are identified with the < |
Line 153: | Line 153: | ||
|:::^ d.|What is your path?| | |:::^ d.|What is your path?| | ||
- | <WRAP round info box>The **echo** utility can also be used for displaying the contents of environment variables | + | <WRAP round info box>The **echo** utility can also be used for displaying the contents of environment variables</ |
^ 5. ^|Do the following:| | ^ 5. ^|Do the following:| | ||
Line 253: | Line 253: | ||
^ 11. ^|To take advantage of tab completions, | ^ 11. ^|To take advantage of tab completions, | ||
- | | ^ a.|lab46:~$ cd /u <- hit tab| | + | | ^ a.|lab46:~< |
|:::^ b.|What happens?| | |:::^ b.|What happens?| | ||
|:::^ c.|[same line]: b <- hit tab| | |:::^ c.|[same line]: b <- hit tab| | ||
Line 259: | Line 259: | ||
|:::^ e.|Press the enter key| | |:::^ e.|Press the enter key| | ||
|:::^ f.|What is your current working directory?| | |:::^ f.|What is your current working directory?| | ||
- | |:::^ g.|lab46:/ | + | |:::^ g.|lab46:/ |
|:::^ h.|Does it beep?| | |:::^ h.|Does it beep?| | ||
|:::^ i.|Press tab again.| | |:::^ i.|Press tab again.| |