If you want to check all versions of a given package on Ubuntu, there is an easy way to do it.
You just have to run this command
Continue reading “How to Check All Versions of a Package on Ubuntu”apt-cache policy package-name
Linux & Oracle DBA Blog
If you want to check all versions of a given package on Ubuntu, there is an easy way to do it.
You just have to run this command
Continue reading “How to Check All Versions of a Package on Ubuntu”apt-cache policy package-name
Sometimes I need to check all my virtual hosts on my Apache server.
The best way to do it is with a cat command like this
/var/log/apache2# cat *.access.log
If I want to keep observing the log I use the command tail as follows
/var/log/apache2# tail -f *.access.log
But if I want to check something more specific I can use a grep too
/var/log/apache2# cat *.access.log | grep root
This is a quick way to verify my logs without having to check them one by one.