- Starting Up the Terminal
- Getting Started
- Building Pipelines
- Running Commands as Superuser
- Finding Help
- Moving around the Filesystem
- Manipulating Files and Folders
- System Information Commands
- Searching and Editing Text Files
- Dealing with Users and Groups
- Getting Help on the Command Line
- Searching for Man Files
- Using Wildcards
- Executing Multiple Commands
- Moving to More Advanced Uses of the Command Line
Sometimes you need to look at or use multiple files at the same time. For instance, you might want to delete all .rar files or move all .odt files to another directory. Thankfully, you can use a series of wildcards to accomplish such tasks.
- * matches any number of characters. For example,
*.rarmatches any file with the ending .rar.
- ? matches any single character. For example,
?.rarmatches a.rar but not ab.rar.
[characters] matches any of the characters within the brackets. For example,
[ab].rarmatches a.rar and b.rar but not c.rar.
*[!characters] matches any characters that are not listed. For example,
* [!ab].rarmatches c.rar but not a.rar or b.rar.