openSUSE

openSUSE

To find version of OpenSuse, run server3:~ # cat /etc/*release NAME=”openSUSE Leap” VERSION=”15.1″ ID=”opensuse-leap” ID_LIKE=”suse opensuse” VERSION_ID=”15.1″ PRETTY_NAME=”openSUSE Leap 15.1″

lvs

lvs

lvs command is used to display logical volumes. You can also use command lvdisplay root@server70:~# lvs LV VG Attr LSize

lscpu

lscpu

lscpu command shows CPU on your server.

dmesg

dmesg

dmesg command on linux shows boot message. dmesg To see with human readable time, use dmesg -T

Install bitninja firewall

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

Prevent Notification steal focus on Ubuntu 18.04

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

yum commands

yum commands

Install a software with yum yum install PKG_NAME Uninstall a software yum remove Example for installing php and GD yum

Install Odoo using Docker

Install Odoo using Docker

Odoo is an open source ERP and CRM software written in python. To install Odoo using docker, first install docker

Download

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

download package using apt

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

Blocking Package Upgrade on Debian/Ubuntu

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

Find limit search depth

Find limit search depth

I wanted to find some files inside the subdirectory of the current folder. To do this, find have maxdepth option.