This is getting annoying on Monterey 12.2.1. I have a bash shell. I do not wish to make any changes to $HOME/.bashrc files.
What system file can I change?
This question is NOT THE SAME as:
[Restored Jul 6, 2022 at 6:07:42 PM]
Last login: Wed Jul 6 18:07:37 on console
Restored session: Mon Apr 4 12:32:47 EDT 2022
The default interactive shell is now zsh.
To update your account to use zsh, please run chsh -s /bin/zsh.
For more details, please visit https://support.apple.com/kb/HT208050.
macbook$ /bin/bash
HOW do I quiet this extraneous output given that I wish to stay with bash SHELL.
– John Greene Jul 11 '22 at 12:40lsstill does what it did 40 year ago; macOSbash, not so much. The facts remains, Apple tainted STDOUT stream, and wants you to define certain things to get its originality back./etc/profile. From a user perspective the situation would have been the same: it would require one edit in a system file to suppress the output. – nohillside Jul 11 '22 at 13:15/etc/motd, or the version number of bash changed (ignoring for the moment that it might be safer to just rely on the shell prompt in such scripts)? Anyway, your question about how to disable the warning by changing a system file has been answered, hope the answer is useful. – nohillside Jul 12 '22 at 05:47/etc/motd, much less show a bash version. – John Greene Jul 12 '22 at 19:38