Skip to content
Something-somewhere

Something-somewhere

welcome..

Category: bash script

Posted on April 29, 2019September 24, 2019

Monitor TCP Connection in bash regularly

Simple one, it monitor regularly the Established connection to file: Continue reading “Monitor TCP Connection in bash regularly”

Posted on April 25, 2019September 24, 2019

find files more than specific size

find ./ -size +5G -exec sh -c ‘ls -h “{}”|egrep -i -q “*.(avi|AVI|mkv|MKV|mp4|MP4)$”‘ ‘;’ -print

Posted on June 8, 2018September 24, 2019

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”

Posted on April 25, 2018June 8, 2018

Download file from box using cli (wget)

wget -v -O myfile.tgz -L https://xxxx.box.com/shared/static/xxxxx.tgz




Posted on November 3, 2017September 24, 2019

Log rotation in bash

This is a little bash script that rotate logs as when the file reach a specified limit.

Continue reading “Log rotation in bash”

Posted on November 1, 2017

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”

Posted on March 4, 2016October 13, 2017

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)




Continue reading “Hydra in bash”

Posted on August 19, 2015November 2, 2017

Handbrake-cli on Centos

First, let install the prerequisites as if needed:

Continue reading “Handbrake-cli on Centos”

Posted on January 5, 2015

removing lines number in bash (using sed)

Working from text files, sometime you might come accross the need to remove the line numbers from line into a file.

 

cat file_with_line_nbers |  sed 's/ *[0-9]*.//' > my_new_file
Posted on October 22, 2014September 24, 2019

Sensor CPU check in bash

This script is checking the CPU Temp sensor; If one reach the threshold then a notification or shutdown (if needed) is done.

A few variables required to be set; then you are done

 

Continue reading “Sensor CPU check in bash”

Posts navigation

Page 1 Page 2 Page 3 Next page

Pages

  • IPTV lists
  • Links
  • Privacy Policy
  • Projects / Next Post
  • Use your Raspberry Pi…

Recent Posts

  • Monitor TCP Connection in bash regularly
  • kodi Database find duplicates movies
  • find files more than specific size
  • External IP change notification in python
  • Enable icmp reply (ping) in Powershell

Archives

  • April 2019
  • October 2018
  • August 2018
  • July 2018
  • June 2018
  • April 2018
  • December 2017
  • November 2017
  • October 2017
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • October 2015
  • September 2015
  • August 2015
  • May 2015
  • April 2015
  • February 2015
  • January 2015
  • October 2014
  • August 2014
  • May 2014
  • February 2014
  • January 2014
  • December 2013
  • June 2013
  • May 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • October 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • January 2012
  • December 2011
  • January 2011
  • February 2010
  • August 2009
  • July 2009
  • May 2009
  • April 2009
  • February 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • July 2008
  • June 2008
  • May 2008
  • January 2008
  • October 2007
  • July 2007

Categories

  • bash script
  • centos
  • cmd / batch
  • database
  • EMC
  • Esx(i)
  • Exchange 2007
  • howto
  • kodi
  • Linux
  • Lotus Domino
  • Mac
  • MS Exchange
  • mysql
  • nas
  • NetApp
  • owncloud
  • postfix
  • powershell
  • python
  • raspbian
  • Sharepoint
  • Squid
  • squirrelmail
  • symantec
  • synology
  • ubuntu
  • Uncategorized
  • vbs
  • VirtualBox
  • virtualization
  • Vmware Server
  • Vmware wks
  • webmin
  • win10
  • win8
  • Windows
  • Windows 2012/R2

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Recent Comments

    Privacy Policy Proudly powered by WordPress
    We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkNoPrivacy policy