100% Free Forever
AI-Powered Learning
Industry Expert Content
Certificates & Badges
Learn At Your Own Pace
Linux & Shell Scripting
30 minbeginner

Links, Wildcards and find

Three capabilities extend basic file navigation into a powerful operational toolkit: links, wildcards, and `find`. Links allow a single file to be accessible from multiple locations simultaneously — critical for deployment patterns where the same configuration must appear in multiple places without duplication. Wildcards expand a single pattern into a list of matching paths, enabling bulk operations across hundreds of files with a single command. `find` traverses the filesystem with rich filter criteria, producing exactly the set of files that match operational conditions.

Together these capabilities underlie many automation patterns that DevOps engineers encounter daily. Log rotation scripts use `find` to identify files older than a threshold. Deployment scripts use wildcards to copy all config files matching a pattern. Service management uses symlinks to activate or deactivate configurations by linking or unlinking files. Understanding each capability individually allows you to combine them confidently in production scripts.

This lesson builds these concepts progressively — starting with the simplest wildcard patterns, moving through the two types of links and when each is appropriate, and culminating with `find` as the tool that combines path traversal, filtering, and action in a single command. Every example uses CricketPulse deployment and maintenance scenarios so the application is immediate.

Analogy🏏Cricket
🏏 Think of it like cricket: The match itself is the kernel — real computation at the hardware level. The commentators translating that action into words for the audience are the shell: they take raw events and present them in a form humans can understand and interact with. The television set in your living room is the terminal emulator: it displays the commentary but does not participate in the match.Just as switching from one broadcaster to another changes commentary style but not the underlying match, switching between Linux distributions changes shell defaults and package manager but not the kernel. Just as Star Sports and Sony Six both cover the same IPL match with different graphics packages, Ubuntu and Alpine both run the same kernel with different userspace tools.The insight is that these layers are genuinely separate, which is why you can swap any one of them independently.
Lesson 6 of 40
0% complete