I am new to Mac and was wondering where application/OS settings are saved.
For typical macOS applications the place for this kind of information is one of
/System/Library(for OS specific stuff)
/Library(for system-wide preferences/settings valid for all users)
~/Library(for user-specific preferences/settings)
and the folders beneath them (e.g.
Application Support and
They are saved as individual files, usually named so you can identify them and with a structure which is (at least most of the time) understandable by mere humans. Most of these files are Property List files ending in
.plist which can be pretty-printed into a human-readable form by running
plutil -p NAME-OF-FILE.plist in Terminal.
For applications and binaries coming from the Unix world you‘ll also find the typical dot files and directories in the home directory of all users using them, e.g.
.ssh/. The names and purpose of these files is usually listed in the corresponding man page.