Fast OCI Instance Status Management from Your Terminal
Managing Oracle Cloud Infrastructure instances does not always require opening the web console. With a simple script and the OCI CLI, you can start, stop, reset, and list your instances directly from your terminal in seconds. Prerequisites Before using the script, make sure you have: OCI CLI installed and configured The OCID of the compartment you want to manage The Script Below is a simple script that lets you list instances and perform actions using their names. #!/usr/bin/env bash set…