Master IT skills with Dargslan - No Filler, Just Knowledge.
🚀 Get our 300+ Tech & IT eBooks: https://dargslan.com
In this video, we dive deep into professional IT workflows to help you learn faster and code smarter. Whether you're a DevOps engineer, a SysAdmin, or a curious developer, our "No Filler" approach ensures you get the facts without the fluff.
The find command is the most powerful way to search files on Linux — but its syntax scares a lot of beginners. This guide fixes that with 25+ practical, copy-paste examples. Learn to search by name, type, size, time, owner and permissions, then take action on the results with -exec and -delete. No prior experience needed.
⏱️ WHAT'S INSIDE
00:00 Why find? (find vs locate)
01:30 The anatomy of a find command
02:00 Your first find commands
02:30 Finding by name (-name vs -iname)
03:00 Finding by type (files, dirs, links)
03:30 Finding by size (big files & cleanup)
04:00 Finding by time (recently changed)
04:30 By owner & permissions
05:00 Combining conditions (AND / OR / NOT)
05:30 Taking action with -exec
06:00 Deleting files safely
06:30 find + pipes & xargs
07:30 Real-world recipes & common gotchas
🔑 THE STRUCTURE
find [where] [tests] [action]
e.g. find . -name '*.log' -mtime -7 -delete
📋 EXAMPLES YOU'LL USE
find . -name '*.pdf' — all PDFs
find . -size +100M — files over 100 MB
find . -mtime -7 — changed in the last week
find . -type f -name '*.sh' -exec chmod +x {} + — make scripts executable
find /var/log -name '*.log' -mtime +30 -delete — clear old logs
⚠️ SAFETY TIP: always run the search WITHOUT -delete first to preview matches. Deletion has no undo.
🔗 Linux, command-line & DevOps courses, cheat sheets & CLI tools → https://dargslan.com
#Linux #FindCommand #LinuxCommands #LinuxForBeginners #LinuxTutorial #CommandLine #Bash #SysAdmin #DevOps #LinuxCLI #LinuxTips #Terminal #LinuxAdmin #ShellScripting
🔔 Subscribe for weekly IT insights:
/ @dargslan
About Dargslan:
We are dedicated to sharing high-quality, practical IT knowledge. Our mission is to provide the most efficient learning resources for the modern tech industry.
#DevOps #ITMastery #Dargslan #Linux #CloudEngineering #NoFillerTech