Linux Zsh command usage example

  
                

In Linux systems, the usual things are bash shells, so many users don't know Zsh very well. The following small series will share some examples of Zsh commands, so that you can have a deeper understanding of Zsh.

Example:

1: Use * as a wildcard subordinate directory:.

$ ls ** /* pyc

foo. Pyc bar.pyc lib/wibble.pyc

$ rm **/*.pyc

$ ls **/*.pyc

2: Use in file filtering Match mode:

$ ls *.(py

Copyright © Windows knowledge All Rights Reserved