Linux / UNIX Tech Support Forum
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...
|
|||||||
| Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
|||
|
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 Code:
export PATH=$PATH:/usr/java/bin 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 |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| 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 |