D
D
daMage2015-01-15 19:56:56
linux
daMage, 2015-01-15 19:56:56

How to log commands entered in bash?

~/.bash_history is not the same. Downloaded the engine of one site. I want to check if he does anything extra. How to keep track of all actions that generate functions like exec?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2015-01-15
@daMage

https://debian.pro/1142 - use snoopy.

E
Egor Kazantsev, 2015-01-16
@saintbyte

set-x

A
Archie Kuznetsov, 2015-01-16
@Wolf4ara

Good afternoon!
I recommend snoopy or blog.rootshell.be/2009/02/28/bash-history-to-syslog

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question