LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training 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 03-17-2008, 05:39 AM   #1
pru
LQ Newbie
 
Registered: Feb 2008
Posts: 13

Rep: Reputation: 0
convert sh command to tcsh


Hi all!
How do I convert the following sh command:

export PATH=$ROOTSYS/bin:$PATH

into a tcsh one?
after reading man csh my guess was

setenv PATH ${ROOTSYS/bin}:${PATH} but it doesn't seem to be correct.

Thanks!
 
Old 03-17-2008, 07:44 AM   #2
devnull0
LQ Newbie
 
Registered: Jul 2007
Location: GA
Distribution: LFS
Posts: 23

Rep: Reputation: 15
Maybe try
Code:
setenv PATH ${ROOTSYS}/bin:${PATH}
 
  


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
gawk/awk/tcsh - how to convert large number to human readable (Mb,Gb, etc)? BrianK Programming 23 10-30-2010 04:20 AM
tcsh set/read variable command? johnpaulodonnell Linux - Newbie 2 08-22-2007 09:26 AM
tcsh read command? johnpaulodonnell Linux - Newbie 2 07-13-2007 07:53 AM
ESC+/ to search command history in tcsh wycolorado Linux - Newbie 1 06-30-2006 04:20 AM
ESC+/ to search command history in tcsh wycolorado Linux - General 0 06-28-2006 06:43 PM


All times are GMT -5. The time now is 12:34 AM.

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