Simple one, it monitor regularly the Established connection to file: Continue reading “Monitor TCP Connection in bash regularly”
Send email to multiple recipients which contains URL from file
I have had the need to send mutiple email messages which contains for each one specific URL, this message had to be sent to multiple recipients.
Continue reading “Send email to multiple recipients which contains URL from file”
Execute the same command on multiple Linux host in once
I found difficult to maintain updates over multiple hosts however, some tool exist to facilitate that time of maintenance steps.
Alternatively, some python script could also be used however I have decided to present that one for now.
Continue reading “Execute the same command on multiple Linux host in once”
Download file from box using cli (wget)
wget -v -O myfile.tgz -L https://xxxx.box.com/shared/static/xxxxx.tgz
Log rotation in bash
This is a little bash script that rotate logs as when the file reach a specified limit.
Monitor wlan0 Interface (Wireless) to avoid disconnection from Raspberry Pi
I had implemented my raspberry pi to use wireless network, unfortunately the connection might after a while disconnect, the only option that I have found was to run a script that check the connection and re-connect if network is down.
Continue reading “Monitor wlan0 Interface (Wireless) to avoid disconnection from Raspberry Pi”
Hydra in bash
Run Hydra in bash upon a password list;
ncat for the potential port for each protocol, some additional port / protocol could be added of course.
You will require to set couple of file, one would be login (one user per line) + password (still one by line)
PrestaShop on Centos 6.x
As once the centos server has been installed. (Server minimum).
the following components are needed:
- Apache httpd server
- PHP
- MySQL
Let start:
Continue reading “PrestaShop on Centos 6.x”
How to re-enable the systray (indicator panel) on Ubuntu 14.04
Installation in the terminal:
sudo apt-add-repository ppa:fixnix/indicator-systemtray-unity sudo apt-get update sudo apt-get install indicator-systemtray-unity
Once installed, you can enable it by this command:
gsettings list-recursively net.launchpad.indicator.systemtray
If you wish to remove it, run this command:
sudo apt-get --purge remove indicator-systemtray-unity
Handbrake-cli on Centos
First, let install the prerequisites as if needed: