Unix Path


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Unix Path
# 1  
Old 07-05-2008
Hammer & Screwdriver Unix Path

Hi all,

I've found following information in sunfreeware:

-----------------
If the package installs in /usr/local/bin, you must put /usr/local/bin (or /opt/foo/bin when programs install in /opt/fee) in your UNIX PATH. You will also probably want to add /usr/local/man to your MANPATH in a similar way.
-----------------

How can I do that correctly? Can someone point me to any documentation? Smilie

Thanks!!!!!
Smilie
# 2  
Old 07-05-2008
I think u should write in /etc/profile
MANPATH=$MANPATH:/usr/local/man
export MANPATH
:wq!

Any how which free ware are you using?

Be careful while installing and check dependency libraries.

I have an issue.. I have installed some of that libraries and freewares.
Now my machine is taking a long time to get desktop.

Be careful while installing... Trace out the script ,which files its creating? , where is it creating ? and Is is modifying any older files.?

regards.
# 3  
Old 07-05-2008
Hammer & Screwdriver

Quote:
Originally Posted by younus_syed
I think u should write in /etc/profile
MANPATH=$MANPATH:/usr/local/man
export MANPATH
:wq!

Any how which free ware are you using?

Be careful while installing and check dependency libraries.

I have an issue.. I have installed some of that libraries and freewares.
Now my machine is taking a long time to get desktop.

Be careful while installing... Trace out the script ,which files its creating? , where is it creating ? and Is is modifying any older files.?

regards.
Thank you! I tried this suggestions to set MANPATH. Seems worked.
How about UNIX path? Is it a different variable??

Sorry for newbie questions... I am still trying to learn about UNIX.

Thanks!
# 4  
Old 07-05-2008
Quote:
Originally Posted by ffpradella
Thank you! I tried this suggestions to set MANPATH. Seems worked.
How about UNIX path? Is it a different variable??
It is PATH.
# 5  
Old 07-06-2008
setting Path ...

Go to /etc/profile

#vi /etc/profile
PATH=$PATH:/usr/local/bin
export PATH
:wq!
# 6  
Old 07-06-2008
Bug

Just more two questions...

this file can be used to add all variables I need?
Also, how can I set a variable during runtime? eg, I need to set a var during some installation... does it depend of the shell used?

Thanks for clarifications!!!
# 7  
Old 07-06-2008
Yes.. you need to edit that file for permanent. You can specify at command prompt also but that is for temporary(for that session only).

Yes.. you can do that during installation but you need to write a script and append that script to installation script...


regards....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

UNIX certification path

Hi, I'm new to Unix world, and i want to get certified in Unix because a lot of companies here in my country ask for Unix knowledge , so i'm here to ask what is the path to get such certifications? Thank you (1 Reply)
Discussion started by: thegeekaid
1 Replies

2. What is on Your Mind?

UNIX career path

Hi All, This question is regarding career path. I was not sure about which forum I should drop it, so putting it here. I have 12 years of experience on UNIX i.e. majority of Solaris and some of Linux (Suse & Red Hat). Since starting I have been working on 100% administration side and I am not... (0 Replies)
Discussion started by: solaris_1977
0 Replies

3. Programming

Unix Career path

Hi, I am having experience on Perl and C# and worked as Windows Sytem Admin and now iam planning to become a UNIX developer. I am having knowledge on basic UNIX.. can any one suggest me any good material for c/c++ UNIX programming. on what all things a UNIX Programmer needs to... (0 Replies)
Discussion started by: chandrareddy1
0 Replies

4. UNIX for Dummies Questions & Answers

unix path details

Greetings to everyone, iam a new unix learner. i just jumped from windows to unix. in my office iam accessing unix machine thro telnet. i got this path details after executing the following command echo $PATH /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/home/mipl/bin. can... (2 Replies)
Discussion started by: vijayq8
2 Replies

5. Shell Programming and Scripting

PATH in unix

Hi, I want to know the default precedence of PATH variable (esp in HP Unix). is /usr/local/bin having higher precedence or /usr/bin? which tar is better to use /usr/local/bin/tar or /usr/bin/tar? (4 Replies)
Discussion started by: thiyagak85
4 Replies

6. UNIX for Dummies Questions & Answers

How to get the path of a file in UNIX?

Hi Frindz, I want to get the entire path of a file. I am in root directory and i know the file name, However dont know the path where it is. Please tell me the command to get the entire path for the file? Thanks in advance, Rashmy. (14 Replies)
Discussion started by: smr_rashmy
14 Replies

7. What is on Your Mind?

Unix Career Path

Hi, I've been in the IT field for a few years now, less than 10. I've done a little of everything from database administration, development, systems administration, and unix administration. Although, I wouldnt say I'm a senior level in any of those. Unix definitely stands out in my preferences... (5 Replies)
Discussion started by: NycUnxer
5 Replies

8. UNIX for Advanced & Expert Users

missing Path(in UNIX) when i launch a job on to unix machine using windows SSh

hi i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application... (1 Reply)
Discussion started by: megastar
1 Replies

9. UNIX for Dummies Questions & Answers

UNIX PATH info required PLEASE HELP (I'm new to unix)

I need to know how to enter a unix path in a cgi script for a guest book: example: My URL is http://www.kitachi.info I have an html file in the main folder on my site, the file is called : gbook.html what would the correct unix path for this file be ??? the part of the script... (1 Reply)
Discussion started by: akitachi
1 Replies

10. UNIX for Dummies Questions & Answers

Unix Path Options

I am looking for the best way to move files into a directory (ie PDF_files), if the directory doesn't exist to create it. However I am passing the full filename (psfile) of the file so I will have to remove the filename from the end, which can be at different field end lengths. This is a... (2 Replies)
Discussion started by: Shakey21
2 Replies
Login or Register to Ask a Question