#!/bin/bash
# =====================================================================
# Script Name: example_script.sh
# Description: Template for a production-ready shell script
# =====================================================================
# Enable Strict Mode
# Exit on error, treat unset variables as errors, and fail on errors in pipelines.
set -euo pipefail
-
Read more
-
Linux Using Notes
Flush DNS cache
sudo resolvectl flush-caches
Install dynamic libs *.so
After installing, use
ldconf
to refresh symbolic links and caches, or apps may not find your newly installed *.so.rsync vs scp
They are similar tools but you may prefer to use one over another in certain cases:
- scp is …
-
Tmux Notes
Common Sense
Tmux is an open-source terminal multiplexer for Unix-like operating systems. It allows multiple terminal sessions to be accessed simultaneously in a single window. It is useful for running more than one command-line program at the same time.
Terms:
- Session: A session can have multiple windows.
- Window: A window …