Tag Archives: bash

SSH Tunnels

Bash script found here: https://gist.github.com/scy/6781836 -fRun in the background before command execution. -NDon’t execute any commands -TDisable pseudo-tty allocation. -S socketnameUse a control socket with name socketname -MPut control socket in master mode -O check, exitControl command

HowTo: Use Bash Parameter Substitution Like A Pro – nixCraft

Summary: String Manipulation and Expanding Variables For your ready references here are all your handy bash parameter substitution operators. Try them all; enhance your scripting skills like a pro: ${parameter:-defaultValue} Get default shell variables value ${parameter:=defaultValue} Set default shell variables value ${parameter:?”Error Message”} Display an error message if parameter is not set ${#var} Find the

Read More

Bad Behavior has blocked 100 access attempts in the last 7 days.