Tag: Shell Programming
The following BASH script/function tries to install the latest version of the Docker via the get.docker.com site, if you have already installed docker, it will try to update it …
If you connect to a SSH – when the window is closed, all running programs in the current session will be terminated. One way to solve this is to …
In Linux, we have service process controller which can be used to start, stop and restart a particular registered service. For example: $ sudo service mysql stop $ sudo …
The following BASH script uses the ping command and computes the average PING to a domain via awk text processing. #!/bin/bash if ]; then echo Usage: $0 domain exit …
Remember, Linux is a fun place to work. Keep calm. echo ' ..XXX. .XXX.. .XXXXY.TXXXX. XXXXXYXTXXXXX .VXXVYXTVXXX. `.TYXTXYXTV . ` ,YVTXYYV ., `...XXXXX`.., .`...XXX...,. ..` V ,.' | tr …