PDA

View Full Version : [ubuntu] effect of system-wide and local .profile file



daudiam
June 14th, 2010, 06:19 AM
The .bashrc is used for non-login shells, so when I make make any changes in it, like type echo hello, it reflects when I open a new VT(Virtual Terminal, by clicking on the Terminal icon). But, the .profile file is for the login shell only. If I make any changes to that file (before the point it calls the .bashrc file), where do the changes reflect? in the login shell(the page is so nice, it hardly seems to be a shell). I am asking this because the .profile file is in our home directory, and login shells should have nothing to do with a particular user's file (its general, for all users). There is also a system-wide .profile file. Does editing this, change the login prompt because its not particular to a user.