On 3/12/24 01:37, Joe Wulf via users
wrote:
In ~/.bashrc on my system, which as far as I am aware is standard Fedora, the path specification is in there not .bash_profile.What you've observed is correct behavior.
Things like PATH enhancements/changes belong in .bash_profile (as that file has 'generally' replaced the .profile functionality of yesteryear). Also, putting new things into the PATH variable, should always be done at the end, not the beginning.Thus: PATH="x:${PATH}" is bad form and introduces potential security vulnerabilities.And: PATH="${PATH}:x" is correct.
regards,
Steve
Attachment:
OpenPGP_0x1EBE7C07B0F7242C.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue