Use wild card in Linux commands
A wild card is a character that can be used as a substitute for any of a class of characters in a command. It can increase the flexibility and efficiency of our commands.
Star Wild card
The above command will list all file name that start with
ab etc if they exist.
Question Mark Wild card
The above command will list all file name that have three characters in its name & the name must start with
ab and the last character will be anything like
abZ etc if they exist.
Square Brackets Wild card
The above command will list files that have name like
ab3 if they exist.
We can also specify a range for this wild card.
ls ab[a-f] ls ab[1-9] ls ab[a-z]
Do you need any help on Linux & Linux Commands? I'm happy to help you.
Fill the form & submit your query. I will get back to you soon.
- Get variation product data on selecting variation options - WooCommerce
- Add TinyMCE WYSIWYG (Rich text area) meta box - WordPress
- Reorder product tabs in single product page - WooCommerce
- Download webpage for offline reading - wget
- Remove product tabs in single product page - WooCommerce
Your Questions / Comments
If you found this article interesting, found errors, or just want to discuss about them, please get in touch.