Is there an advantage over using /etc/profile over /home/pi/.profile?
And when to choose which one to use?
Asked
Active
Viewed 1,994 times
2
clankill3r
- 202
- 1
- 3
- 10
-
When it comes to configuration files, they usually either work or are completely ignored. Not sure if the former can be called an advantage. – Dmitry Grigoryev Mar 08 '17 at 10:18
1 Answers
2
/etc/profileis used for all users/home/pi/.profileis only used for the pi user
So if you only use the pi user, no effective difference.
pim
- 622
- 1
- 5
- 17
-
1
/home/pi/.profileis likely to be ignored altogether if/home/pi/.bash_profileis present (which I believe is the case). – Dmitry Grigoryev Mar 08 '17 at 10:15