I have files a1 a2 a3 b1 b2 b3 and I need to exclude a2 and b2 from the list using ls
command only.
use --ignore option
ls --ignore=[ab]2
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With