nerdexam
Oracle

1Z0-409 · Question #10

A new user smith wants to customize the bourne shell by creating a new alias for the ls -l command. He wants to make the new alias persistent across logouts and also reboots. What could be done to…

The correct answer is B. Add the new alias to ~/.profile. See the full explanation below for the reasoning.

Question

A new user smith wants to customize the bourne shell by creating a new alias for the ls -l command. He wants to make the new alias persistent across logouts and also reboots. What could be done to make the new alias persistent only for smith?

Options

  • AAdd the new alias to ~/.bashrc.
  • BAdd the new alias to ~/.profile.
  • CAdd the new alias to /etc/profile.
  • DAdd the new alias to ~/bash_profile.

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    83% (30)
  • C
    8% (3)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice