Calculate Elasticsearch’s average documents number in recent days using a shell script.
Determine SSL cipher suites supported by the web-server using OpenSSL.
Keeping SSH authentication agent in sync across multiple servers and terminal multiplexers is not an easy task, but can be solved by using consistent socket names used to connect to the SSH authentication agent.
Parse INI configuration file using Bash shell-script.
Store runtime configuration within shell script using simple but an effective method.
Store contents of every tmux pane using a shell script.
I have already described how to inspect a pipeline, but today I will show you how to write a shell script that will help you reconstruct a whole pipeline when all you got is a process ID that is part of the pipeline.
A pipeline is a sequence of multiple commands separated by the control operators. It is easy to understand as long as you see the whole picture, but I will show you how to inspect it when you have a single process ID.
Use bash redirection and process substitution to programmatically distinguish standard error from regular output.
Send output to multiple commands using tee utility and bash process substitution.