tracker-server.log

Juann4 years ago

Hy
I am beginner with linux and i tried to acces file tracker-server.log from console but i have problem.
I tried the following command:

root@traccar:~# /opt/traccar/logs
-bash: /opt/traccar/logs: Is a directory

Please help me to view the log file
Thx

Anton Tananaev4 years ago

Something like this (where 100 is the number of lines you want to read):

tail -100 /opt/traccar/logs/tracker-server.log

But I don't think it's a Traccar specific question. There are plenty of resources out there that can help you learn Linux.