To check running instances, you could simply use
and check for the instances running under oracle user.
If you don’t know which instances are present, check the oratab
Once found, set your Oracle environment using (under oracle user)
Now connect using
sqlplus / as sysdba
And start or stop the instance
startup shutdown immediate