February 2026
Intermediate to advanced
456 pages
17h 3m
English
If you are targeting a Linux device in your investigation, as opposed to using Linux to conduct forensics, there are some artifacts that should be part of any Linux forensic investigation. These will be summarized in the following subsections.
The bash history keeps record of bash commands in the terminal. The simplest way to see the history is just to type in history at the shell, as shown in FIGURE 7-5B.
FIGURE 7-5B The history command.
© OffSec Services Limited
DescriptionYou can also use the grep command to search history, for example:
history | grep ls
This will be found either at /var/log/syslog ...
Read now
Unlock full access