Tags » Bash Script

BaTbot: un Bot per Telegram scritto in Bash

Di recente ho scritto un Bot per Telegram scritto in Bash, può ricevere e rispondere ai messaggi, eseguire comandi (configurabili anche tramite regular expression), gestire variabili, e molte altre funzioni fighe :) potete trovarlo su GitHub all’indirizzo: 7 more words

Bash Script

Shell Scripting Tutorial - 4


Now, lets perform arithmetic operation using Bash Shell Scripting . I am using `let` which allows us

Now, you can perform operation like

value++ = Increments by 1… 41 more words


IPTables: DROP Automatico con log2iptables

Nei giorni scorsi ho scritto uno script Bash per automatizzare l’inserimento di regole su iptables a fronte di pattern match su logfile. Esempio, bloccare un IP a fronte di 5 login failed su protocollo SSH. 517 more words

Bash Script

Pausing a bash script

I recently wanted to have a bash script file stop at the end of the command sequence so that I could check which disk directory was then active. 68 more words

Bash Script

Website checking and notification script

To check website is up


SITESFILE=sites.txt #list the sites you want to monitor in this file
EMAILS="japanson@example.com" # use comma to add another email

while read site; do
    if [ ! 78 more words
Bash Script

Life is easier with bash scripts - Part 2

previous post of this series: Life is easier with bash scripts – Part 1


In a folder named ‘./Data/’ I had a number of folders each containing a zip file. 491 more words

Bash Script

Life is easier with bash scripts - Part 1

Though I had Ubuntu installed at my workstation for about a year, it was tough for me to switch from the comfort of windows to more involved Linux based systems.

611 more words
Bash Script