Where to find "process log files"?
- Login o registrati per inviare commenti
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.
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/.
Thank you!
- Login o registrati per inviare commenti