Blog
dmesg
dmesg command on linux shows boot message. To see with human readable time, use To check any disk related errors
Install bitninja firewall
To install bitninja on Debian/Ubuntu, run sudo su -c “echo deb http://apt.bitninja.io/debian/ bitninja non-free >> /etc/apt/sources.list.d/bitninja.list” sudo su -c “wget -O- http://apt.bitninja.io/7F8B47DC.gpg…
Prevent Notification steal focus on Ubuntu 18.04
On Ubuntu, some times notifications steal focus from current application. This annoying when you are working on terminal. This is due to…
yum commands
Install a software with yum yum install PKG_NAME Uninstall a software yum remove Example for installing php and GD yum install php…
Install Odoo using Docker
Odoo is an open source ERP and CRM software written in python. To install Odoo using docker, first install docker using wget…
Download
http://www.freedownloadmanager.org – Open source download manager http://www.jdownloader.org – open source download manager written in java Download a package using apt on Debian/Ubuntu…
Download a package using apt on Debian/Ubuntu
On Debian and Ubuntu servers, you can download a package using apt download command. apt download PKG_NAME Package will get downloaded to…
Blocking Package Upgrade on Debian/Ubuntu
To block packages from upgrading, you can use command apt-mark hold. apt-mark hold PKG_NAME Example apt-mark hold libtomcat8-java tomcat8 tomcat8-admin tomcat8-common To…
Find limit search depth
I wanted to find some files inside the subdirectory of the current folder. To do this, find have maxdepth option. This command…
EPEL – Extra Packages for Enterprise Linux
EPEL (Extra Packages for Enterprise Linux) provide additional software for CentOS and RHEL. You can find more information about EPEL at http://fedoraproject.org/wiki/EPEL…
Set vim as default cronjob editor
Method 1 vi /etc/bashrc Find export EDITOR=”pico” export VISUAL=”pico” Replace with export EDITOR=”vi” export VISUAL=”vi” Method 2 edit .bash_profile vi /root/.bash_profile Add…