AllExperts > Experts 
Search      

Sun Operating System

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Sun Operating System Answers
Question Library

Ask a question about Sun Operating System
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Mario Bucsics
Expertise
Since 5 Yearīs iīm working with Unix Systems an Oracle Databases and now i am going to take the Solaris Certification. You can ask me any question about Oracle and Solaris ( especially Solaris 2.6 ) but please donīt ask me anything about Microsoft Products.

Experience

Past/Present clients
One of my biggest clientīs is the 2nd and best Telecommunication Company in Vienna ( max.mobil ). I was also involved in the startup phase at www.lion.cc which is the greatest e-commerce company in austria.

 
   

You are here:  Experts > Computing/Technology > Focus on PC Support > Sun Operating System > PATH Command

Topic: Sun Operating System



Expert: Mario Bucsics
Date: 2/10/2004
Subject: PATH Command

Question
I am using the SunOS.  Currently, I am trying to add a path to my path environment variable, but I would like it to be the first path checked, not the last.

Also, I am unable to write to my .login file, although I think I may be able to do so to a .profile file, although there doesn't seem to be anything in there to begin with.

Thanks!

Sarosh

Answer
Hello Sarosh!

You have to add you path like this

PATH=mypath:$PATH

then your path will be checked first


depends on what you want to archive ...
you can set aliases, environment variables, your path for instance and other things like command line prompt and so forth. if there is no .profile in your home directory just create one but be aware of different shells. Bash uses .bash_profile and sh or ksh use .profile .

You can have a look at my website and surf through some unix books. But you have to send me a mail so that i can give you access to those areas. www.allexperts.at

have a nice day

mario

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.