Posted: August 7, 2014 in Syntax, UNIX Command Line and SQL PLUS
Tags: ,

Good morning, Oracle fans!

Nohup is an old trick but it works great when you want to run a process in the background. There is nothing like kicking off a long running script late in the afternoon only to have to wait in the office for an extra hour until it finishes. If only there was a way to kick it off, run home with your laptop, and check the results when you get home.

There is!! It’s called nohup. Here are a couple of examples to get you started.

$nohup sqlplus "/ as sysdba" @script.sql &

$nohup ./clone.ksh &


Questions? Comments? I am always looking for feedback on how I can improve this site and talk about the subjects that interest all levels of Oracle DBAs.

Have a great day!

Jason aka @dba_jay


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s