nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

linux setting system-wide path

This is a discussion on linux setting system-wide path within the Linux software forums, part of the Linux Getting Started category; Hey I want to linux setting system-wide path what file need to modify let me know thanks in advance...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 01-25-2006, 11:41 AM
Guest
 
Posts: n/a
Default linux setting system-wide path

Hey

I want to linux setting system-wide path what file need to modify let me know

thanks in advance
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-28-2006, 12:19 PM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Rep Power: 4
tom is on a distinguished road
Default

Linux and UNIX use /etc/profile file so you can setup system wide path in /etc/profile file:

Use editor to open file:
Code:
vi /etc/profile
Look for PATH
Code:
export PATH=$PATH:/usr/java/bin
Save file

Now whenever new user will login he/she will get new path settings /usr/java/bin see FAQ: Environment variable changing on Linux/FreeBSD on our group site http://www.cyberciti.biz/faqs/2006/0...hanging-on.php it has all info you needed
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Setting up RAID 1 mirroring on a running remote Linux system sweta Getting started tutorials 9 09-22-2008 06:04 PM
How can I set Path in bash shell chanderbio Shell scripting 2 06-13-2008 11:38 AM
set or how to change dns setting ubuntu linux network chiku Linux software 1 07-17-2006 07:30 PM
Linux Setting the screen to lock with password protection tom Getting started tutorials 1 07-13-2006 06:56 PM
Howto: Ubuntu Linux setting up my (or your) printer toor Getting started tutorials 2 07-06-2006 05:41 PM


All times are GMT +5.5. The time now is 01:01 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36