/bash_script

The bash script for work

Primary LanguageShell

bash_script

The bash script for work

opt2pic

Use "optipng" and "jpegoptim" optimize your images for website.

$ ./opt2pic /images -png -jpg

countUserAgent

User-Agent statistics.

$ ./countUserAgent -f access.log -o count.txt

getspeed

User "curl" site speed and status.

$ ./getspeed -A UserAgent www.google.com

mkpwd

Generate random Password.

$ ./mkpwd
hjOK9caTchj4
AuM58;t5rO|f
#!SLKNbIG*:w
MrDao=MnT|d6
*+;BPm7JuVkW

chkmod

Check the directory permissions.

tsmerge

ts video more download and merge.

./tsmerge www.media.com "65189_500{0..165}.ts"

udp_max_session

Limit php-fpm to generate the number of UDP connections.

loggrep

IP Address statistics. (Future to merge with countUserAgent)

scanTLSsupport

Use nmap scan TLS version.