home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: set Chapter 5
The C Shell
Next: Reference: shift
 

setenv



setenv

 [

name

 [

value

]]

Assign a value to an environment variable name . By convention, name must be uppercase. value can be a single word or a quoted string. If no value is given, the null value is assigned. With no arguments, display the names and values of all environment variables. setenv is not necessary for the USER, TERM, and PATH variables because they are automatically exported from user , term , and path . See also "Environment Variables" earlier in this section.


Previous: Reference: set UNIX in a Nutshell: System V Edition Next: Reference: shift
Reference: set Book Index Reference: shift

The UNIX CD Bookshelf Navigation The UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System