You can write your own custom script to do so embedding all the sid's environment and sid list, else use Oracle Provided dbshut/dbstart scripts. Read documenatation before attempting to do it.

Any specific reason to use 'shutdown abort' insead 'shutdown immediate' ?? Not advisable to use abort option unless its mandatory/no alternative situation.