Tag: terminal

macOS Big Sur Breaks Scripts

macOS Big Sur broke a couple of my scripts. After some troubleshooting, here is what I have found so far. Adding Certificates to a Keychain Using Keychain Access Certificate trust changes now require administrator approval and password confirmation for non-admin trust domains. If you have scripts calling /usr/bin/security add-trusted-cert -d as root, or using the SecTrustSettingsSetTrustSettings API, you will need…

Read More »

Linux: Count the number of processes running.

There was a need to determine the number of processes that was running on a Linux installation, specifically CentOS 5.6. I can’t find the source of this again, however, did use Google to find this information. Anyway, here is the command line needed. This command returned the desired results. ps auxh | wc -l The result will be a number,…

Read More »

SendEmail on Linux – Send SMTP Mail from the Command Line

SendEmail is a lightweight, command line SMTP email client. It was designed to be used in bash scripts, batch files, Perl programs and web sites, but is quite adaptable. SendEmail is written in Perl and requires no modules. SendEmail is licensed under the GNU GPL, either version 2 of the License or (at your option) any later version. Although it…

Read More »