nerdexam
Oracle

1Z0-593 · Question #65

When can a wildcard character be used to change a directory with the ASMCMD CD command?

The correct answer is B. If the wildcard character causes a match to a single directory. If a wildcard pattern matches only one directory when using wildcard characters with cd, then cd changes the directory to that destination. If the wildcard pattern matches multiple directories, then ASMCMD does not change the directory but instead returns an error. The wildcard…

Storage

Question

When can a wildcard character be used to change a directory with the ASMCMD CD command?

Options

  • AAlways
  • BIf the wildcard character causes a match to a single directory
  • CIf the wildcard character causes a match to multiple directories
  • DNever

How the community answered

(63 responses)
  • A
    3% (2)
  • B
    75% (47)
  • C
    14% (9)
  • D
    8% (5)

Explanation

  • If a wildcard pattern matches only one directory when using wildcard characters with cd, then cd changes the directory to that destination. If the wildcard pattern matches multiple directories, then ASMCMD does not change the directory but instead returns an error. * The wildcard characters * and % match zero or more characters anywhere within an absolute or relative path, which saves typing of the full directory or file name. The two wildcard characters behave identically. There are various ASMCMD commands that accept wildcards. These include cd, du, find, ls, lsattr, lsdg, lsdsk, lsgrp, lsusr, and rm. Note: ASMCMD is a command-line utility that you can use to manage Oracle ASM instances, disk groups, file access control for disk groups, files and directories within disk groups, templates for disk groups, and volumes. You can run the ASMCMD utility in either interactive or noninteractive mode.

Topics

#ASMCMD#CD command#wildcard#ASM navigation

Community Discussion

No community discussion yet for this question.

Full 1Z0-593 Practice