Multiple choice technology operating systems

What is the default history file in the HP-UX POSIX shell?

  1. history

  2. $HOME/.history
  3. $HOME/.sh_history
  4. /etc/history

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In the HP-UX POSIX shell (sh), the default history file used to store command history is $HOME/.sh_history. Other options like .history or /etc/history are incorrect as they are either used by other shells (like csh) or are invalid paths.