nixCraft Linux Forum

nixCraft

Linux / UNIX 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

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-25-2006, 10: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, 11:19 AM
tom tom is offline
Contributors
User
 
Join Date: Jun 2005
Location: London, UK
Posts: 213
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 5
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


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 Off


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 05:04 PM
How can I set Path in bash shell chanderbio Shell scripting 2 06-13-2008 10:38 AM
set or how to change dns setting ubuntu linux network chiku Linux software 1 07-17-2006 06:30 PM
Linux Setting the screen to lock with password protection tom Getting started tutorials 1 07-13-2006 05:56 PM
Howto: Ubuntu Linux setting up my (or your) printer toor Getting started tutorials 2 07-06-2006 04:41 PM


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


Powered by vBulletin® Version 3.8.3 - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0
©2005-2009 nixCraft. All rights reserved

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