Introducing UNIX and Linux |
Processes and devicesOverview |
Answer to chapter 6 question 5This is an exercise in knowing the names of the environment variables which store the relevant information. echo "Your username is $LOGNAME" echo "Home directory is $HOME" echo "You are using a terminal which is a $TERM" echo "The default lineprinter is $PRINTER" |
Copyright © 2002 Mike Joy, Stephen Jarvis and Michael Luck