Collection of useful shell commands and scripting techniques across different shells and platforms. Topics Bash Commands & Scripting - Linux/Unix shell scripting and useful commands PowerShell Commands - Windows PowerShell scripting and cmdlets CMD Commands - Windows Command Prompt commands Zsh/Sh Commands - Z …
Read MoreZsh-Specific Features Globbing 1# Recursive globbing 2ls **/.txt 3 4# Exclude pattern 5ls ^.txt 6 7# Numeric ranges 8ls file<1-10>.txt 9 10# Qualifiers 11ls *(.) # Files only 12ls *(/) # Directories only 13ls *(.x) # Executable files 14ls *(m-7) # Modified in last 7 days 15ls *(Lm+100) # Larger than 100MB …
Read More