Results 1 to 2 of 2

Thread: linux setting system-wide path

Hybrid View

  1. #1
    Guest

    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

  2. #2
    Contributors
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    208
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    10

    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

Thread Information

Users Browsing this Thread

There are currently 2 users browsing this thread. (0 members and 2 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, 06:07 PM
  2. How can I set Path in bash shell
    By chanderbio in forum Shell scripting
    Replies: 10
    Last Post: 29th March 2012, 11: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, 06:04 PM
  4. Replies: 1
    Last Post: 17th July 2006, 07: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, 06: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
  •