Cari
124 buku memuat "bin bash" · halaman 7 dari 7
Mikrotik: MikHMon - Mikrotik Hotspot Monitor
… cd /usr/local/src curl -o install-mikhmon https://laksa19.github.io/install-mikhmon.txt Edit nano install-mikhmon Pastikan #bin/bash #pkg install git php -y chmod +x install-mikhmon ./install-mikhmon Penggunaan http://localhost:8080 http://ip-address:8080 …
Ubuntu: rc.local di ubuntu 20.04
… /Ubuntu:_rc.local_di_ubuntu_20.04 Ubuntu 20.04 – start program after boot Edit sudo nano /etc/rc.local Isi dengan #!/bin/bash <your_program>.sh exit 0 Save file rc.local Pastikan file script bisa di jalankan dengan chmod chmod 777 <your_program>.sh chmod …
Ssh - security
… Iptables Example The following example will drop incoming connections which make more than 5 connection attempts upon port 22 within 60 seconds: !/bin/bash inet_if=eth1 ssh_port=22 $IPT -I INPUT -p tcp --dport ${ssh_port} -i ${inet_if} -m state --state NEW …
Dynamic DNS di Ubuntu
… the name of the interface (i.e. eth0 or wlan0) and the second is the status (i.e. up or down). #!/bin/bash INTERFACE=$1 STATUS=$2 DIRECTORY="/home/user/Codes/shell/dyndns" if "$STATUS" = "up" ; then IPADDRESS=`ifconfig $INTERFACE | grep inet | grep -v …