CHAPTER 5

image

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 ...

Get Oracle Enterprise Manager 12c Command-Line Interface now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.