LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-13-2012, 05:52 AM   #1
rajsierra
LQ Newbie
 
Registered: Jan 2009
Location: Hyderabad, India
Posts: 13

Rep: Reputation: 0
Smile set path issue


Can someone help me to resolve this issue.

setenv PATH $PATH:.:/usr/X11R6/bin:/usr/atria/bin:/hrdev/release/bin:/hrdev/utils/11.5/linux_bin:/home/viviswan/bin:/usr/atria/bin
Bad : modifier in $ (.).
 
Old 04-13-2012, 05:56 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
you should use ':' instead of :
setenv PATH $PATH':'.':'/usr/X11R6/bin':' ....
 
Old 04-13-2012, 06:46 AM   #3
rajsierra
LQ Newbie
 
Registered: Jan 2009
Location: Hyderabad, India
Posts: 13

Original Poster
Rep: Reputation: 0
Great pan, that works but now another issue when I run
source .cshrc
setenv: Too many arguments.

It gives this issue
 
Old 04-13-2012, 07:02 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,840

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
I assume there is an extra space somewhere in the line, you need to remove it.
 
  


Reply



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
bash script path issue - how to pass a path as a string to a variable PiNPOiNT Programming 5 04-17-2009 05:48 PM
set up java_home path in /home/user/.bashrc but use path in /usr/lib/java vitalstrike82 Slackware 4 01-13-2009 11:25 PM
Set the path systemwide/Set the path for a user with Slackware jayhel Slackware 1 06-12-2005 12:24 AM
$PATH duplicate set issue apocolpse Linux - Newbie 4 06-11-2005 05:35 AM
How to set PATH How do I set PATH environment variable? Tranquil Linux - Newbie 3 11-02-2003 02:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:20 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
Open Source Consulting | Domain Registration