Where to find "process log files"?

2 respuestas [Último envío]
GrevenGull
Desconectado/a
se unió: 12/18/2017

I just did *sudo apt install "x"*, where I just assumed that "x" would be the program I wanted. But it turned out that Trisquel had a package in the repository that was not the package I wanted to install, but with that exact name.

I just closed the terminal afterwards, and now I wonder whether I installed it at all, or if it was preinstalled.

If it was preinstalled I guess it's probably important for the system. If not, I want to uninstall it.

So where do I find the "process log files" that can show you earlier executed processes and the terminal's output in regards to them? If possible.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

If you use GNU Bash (by default on Trisquel), the last commands you executed are in ~/.bash_history. To search that history, you can simply use Ctrl+R in Bash. The command history does not include the output of the commands, which can be huge. Only the commands themselves. And it is limited to the last 500 commands by default (the variable HISTSIZE can be redefined). However APT saves logs in /var/log/apt/.

GrevenGull
Desconectado/a
se unió: 12/18/2017

Thank you!