E
E
egorggegor2020-11-15 18:34:31
linux
egorggegor, 2020-11-15 18:34:31

How to view the log file?

Hello, there was a problem viewing the log file.
There is the following code

const char *NAME = "---Secret_Keylogger---";
const char *LOG_FILE = "/root/log";

What do you need to type on the command line to view this file? As I understand it, it is located in the "/root/log" directory and is called "---Secret_Keylogger---". How then to get access to the root folder?

Thanks to anyone who can tell the inexperienced, otherwise I'm completely confused.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AVKor, 2020-11-15
@egorggegor

Judging by this snippet:
sudo cat /root/logeither from under rootsimplycat /root/log

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question