Results 1 to 2 of 2

Thread: linux setting system-wide path

Hybrid View

  1. #1

    Default linux setting system-wide path


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

    thanks in advance

  2. #2
    Join Date
    Jun 2005
    London, UK
    Thanked 1 Time in 1 Post
    Rep Power


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

    Use editor to open file:
    vi /etc/profile
    Look for PATH
    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 it has all info you needed

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Howto: Ubuntu Linux setting up my (or your) printer
    By toor in forum Getting started tutorials
    Replies: 7
    Last Post: 6th January 2013, 05:07 PM
  2. How can I set Path in bash shell
    By chanderbio in forum Shell scripting
    Replies: 10
    Last Post: 29th March 2012, 10:37 PM
  3. Setting up RAID 1 mirroring on a running remote Linux system
    By sweta in forum Getting started tutorials
    Replies: 9
    Last Post: 22nd September 2008, 05:04 PM
  4. Replies: 1
    Last Post: 17th July 2006, 06:30 PM
  5. Linux Setting the screen to lock with password protection
    By tom in forum Getting started tutorials
    Replies: 1
    Last Post: 13th July 2006, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts