LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2005, 04:26 PM   #1
SmithSmith123
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
syntax


What is the syntax to set the environment varaiable in TCshell?
Thank you,
Ex. for the environment varaiable "history"?
Smith
 
Old 11-17-2005, 04:32 PM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
set local variable
set variable_name = value

set global variable
setenv VARIABLE_NAME value

get variable
echo $variable_name
 
Old 11-17-2005, 04:45 PM   #3
SmithSmith123
LQ Newbie
 
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you.
Your answer helped my requirement.
Smith
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with syntax dr3vi1 Linux - Newbie 7 08-09-2005 10:20 AM
Help with lp syntax slick_willie Programming 2 02-03-2005 07:18 PM
C++ syntax error before :: token HELP, i cant find the syntax error :( qwijibow Programming 2 12-14-2004 06:09 PM
syntax lynger Linux - Software 6 12-02-2003 01:03 AM
C syntax help please ... DarkDrive Programming 2 08-07-2003 04:13 PM


All times are GMT -5. The time now is 03:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration