Bash logging
2025-09-29
Save output while still seeing it
bash build.sh | tee build.log
Check previous boot logs (most recent before current)
sudo journalctl -b -1 | grep -i "killed process\|out of memory\|oom"
Bash history timestamp
HISTTIMEFORMAT="%d/%m/%y %T "