Using {} to Construct Command Line Arguments
When working on the command line, we often encounter scenarios where we need to perform operations on multiple argument entries, with file names being one of the most common cases. To handle this situation, both Bash and Zsh provide comma-separated curly brace lists, such as:
—
https://medium.com/@linuxtoy/using-to-construct-command-line-arguments-a7a6206dc820
Month: November 2024
shell-fu
shell-fu
26 Tip #892 Check memory and swap from command line Want to check the amount of used, free and total memory and swap from the command line? This script displays memory and swap information. Fully posix compliant and should work with all 2.[2-6].* kernels .
—
https://www.shell-fu.org/