Find the answer to your Linux question:
Results 1 to 3 of 3
There is .profile under my directory and I found another one under /etc/ . I know the first one is the one we edit for path and alias and stuff. ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    4

    what's the difference between these two profile files

    There is .profile under my directory and I found another one under /etc/ . I know the first one is the one we edit for path and alias and stuff. but how does it differ from the one in /etc?

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    The one in /etc is system wide. The one in your home
    directory affects only you.

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    4
    When is the file executed (sourced) and what is the relationship between profile and shell source file?

Posting Permissions

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