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…
On Debian and Ubuntu servers, you can download a package using apt download command. apt download PKG_NAME Package will get downloaded to…
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…
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) provide additional software for CentOS and RHEL. You can find more information about EPEL at http://fedoraproject.org/wiki/EPEL…
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…
xdotool lets you programmatically simulate keyboard input and mouse activity, move and resize windows, etc. To search for an application with title…
brctl show [root@server70 etc]# brctl show bridge name bridge id STP enabled interfaces br0 8000.002590d08d66 no eth0 vnet0 virbr0 8000.525400f12faf yes virbr0-nic…
On Ubuntu/Debian server, apache run as user www-data. When you install Apache web server on your local computer for developement purpose, it…
CSF firewall can block all traffic from a country or list of countries using the GeoIP database. To block a country, edit…
zpool is tool to manage ZFS file system. Here are some zpool commands zpool list zpool list rpool zpool list tank zpool…
To install wireguard VPN on ubuntu, run apt update apt install software-properties-common apt install linux-headers-$(uname -r) add-apt-repository ppa:wireguard/wireguard apt-get update apt-get install…