Automation Through Shell Scripts
As we discovered in the previous chapter, EM CLI provides faster means of accomplishing complicated tasks that are ordinarily managed through the OEM console. The strength of EM CLI is leveraged by combining EM CLI with classic shell-scripting techniques. The examples in this chapter are written for use in a Unix/Linux environment but, because EM CLI is a Java application, the CLI syntax shown here will work just as well in other environments.
This chapter begins with CLI scripting fundamentals and then works through several examples demonstrating application of the technique. In each example, we’ve ...