🎴 Flashcard Mode

Operating Systems Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

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

AnswerClick to flip back
A
$HOME/.sh_history
💡 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.

Change Mode