Linux Server web

https://www.tecmint.com/install-ajenti-a-web-based-control-panel-for-managing-linux-server/

IPT CC

auto eth0 iface eth0 inet static

    address 192.168.1.2
    netmask 255.255.255.0
    up route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.1.1
    up route add -net 172.16.0.0 netmask 255.240.0.0 gw 192.168.1.1

route add default gw 192.168.56.4

1. Quit Bash Shell Without Saving History: Unset HISTFILE .

unset HISTFILE && exit

Simple Bash Ping Script

for i in `seq 1 255`; do ping -c 1 210.4.64.$i | tr \\n ' ' | awk '/1 received/ {print $2}'; done

How to disable the VISUAL mode in Debian 9 … … …

touch ~/.vimrc

echo “set mouse-=a” > ~/.vimrc

source ~/.vimrc


—-