Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix setenv command

Quick links

About setenv
Syntax
Examples
Related commands
Linux / Unix main page

About setenv

In C shell sets the value of an environment variable.

Syntax

setenv [var [word]]

var Variable of the set command.
word Set instructions or information of the variable.

Examples

setenv PATH "/bin:/usr/bin:/usr/sbin:ucb/bin"

Sets the environment path to search for files in the /bin, /usr/bin, /usr/sbin and ucb/bin directory.

Related commands

csh
ksh
set
sh

 

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope