The “history” command is usually a shell builtin, not a standalone binary. So I imagine the command is failing. What’s the return value from the system call - I bet it’s negative indicating a failure.
Regards,
Mark
The “history” command is usually a shell builtin, not a standalone binary. So I imagine the command is failing. What’s the return value from the system call - I bet it’s negative indicating a failure.
Regards,
Mark