You can also go to the Mac Terminal Settings Menu and change the Color Scheme, but if you want to change the background of the Terminal using Command on the Shell you are on, you can make use of the osascript script.
Example:macOS % osascript -e 'tell application "Terminal" to set background color of window 1 to {10000,0,0,0}'

-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to MacOS,
- Clear Screen shortcut macOS Terminal
- What is macOS Ventura?
- [fix] How to Show file extensions on all files on Mac
- How to Find Where Mac Terminal App is Located?
- AutoSave button not working on Office on Mac (Word, Excel or Powerpoint)
- macOS say command text to speech using various voices and languages
- How to change Ping TTL value on macOS
- Open .bash_profile File in TextEdit using Terminal
- How to know the Safari Version on Mac
- How to Copy full Absolute Path of a File on Mac
- 13.0 MacOS Ventura release date
- Enable spell check in Sublime Text (macOS)
- How to Display Analog Clock on Mac Menu Bar
- How to turn off Location Services macOS Ventura 13
- How to Open VS Code on Mac
- Add Bookmark macOS Safari
- How to Fix cd: too many arguments Error in Terminal: A Step-by-Step Guide
- How to install wget on macOS
- Select Line Number TextEdit on Mac
- Strikethrough Text in Excel for Mac
- How to Enable or Disable Dark Mode on macOS Ventura 13
- How to hide or display Wifi icon in macOS Bug Sur Menu Bar
- How to install Yarn on Mac (macOS)
- How to fix command not found brew (bash, zsh) on macOS Terminal
- How to Schedule Mails in macOS Ventura
More Posts:
- Installing Android Studio Dolphin on Mac with Apple (M1/M2) Chip - Android-Studio
- Lost your iPhone? Regenerate QR Code for Microsoft Authenticator App - Microsoft
- Import Other Python Files Examples - Python
- How to send WhatsApp message from your Android App using Intent - WhatsApp
- How to Add Brew to PATH M1/M2 Mac - MacOS
- How to Whitelist IP Address on GoDaddy Hosting? - HowTos
- BSNL Broadband upgrades speed to minimum 2MBps for all users 512Kbps 1Mbps - HowTos
- Setting Java_Home Environment variable on Windows Operating System - Java