nerdexam
Oracle

1Z0-100 · Question #129

Match the bash files with their correct description: (Choose the best answer.) File name Description 1) /.bash_history a. a list of commands to be executed when you log in 2) /.bash_logout b. a list…

The correct answer is C. 1-c, 2-d, 3-a, 4-b. See the full explanation below for the reasoning.

Question

Match the bash files with their correct description: (Choose the best answer.) File name Description 1) /.bash_history a. a list of commands to be executed when you log in 2) /.bash_logout b. a list of commands that is executed every time you open a new shell 3) /.bash_profile c. a list of commands you have executed from a bash shell 4) /.bashrc d. a list of commands to be executed when you exit a login shell

Options

  • A1-c, 2-d, 3-a, 4-f
  • B1-c, 2-b, 3-d, 4-a
  • C1-c, 2-d, 3-a, 4-b
  • D1-e, 2-c, 3-a, 4-d
  • Ea list of commands executed before the current day
  • Fa list of commands executed when a shell script has a nonzero return code

How the community answered

(25 responses)
  • A
    12% (3)
  • B
    4% (1)
  • C
    80% (20)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice