Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Find Files in Linux | Learning Terminal
ChannelChris Titus TechDescription from the creator
In this video, I go over how to find files in Linux terminal. In this Linux Tutorial you will learn everything you ever wanted to know about the find commend and even some stuff you didn't know you wanted to know.
Basic syntax
-find options starting/path expression
$ find ~ -name media*
Note: -name is CASE SENSITIVE for results
$ find /var/html -name *.html
$ find ~ -type d -iname Downloads
Note: -iname makes it so results are not matched based on CASE.
Advanced syntax
Find Files based on modified in the past 1 day
$ find ~ -mtime -1
Note: cull this down by using | grep partial file name
Or Find Files based on modified in the past 10 minutes
$ find ~ -mmin -10
OR find Files based on modified in the past 10 minutes and greater than 10 megs
$ find ~ -mmin -10 -size +10M
You can also add the -delete command at the end to delete ALL FILES FOUND!!! Use with extreme caution!
Bonus easily find where a program is located with "whereis"
$ whereis gimp .
►► Digital Downloads ➜ cttstore.com
►► Patreon ➜ patreon.com/christitustech
►► Twitch ➜ twitch.tv/christitustech
►► Website and Guides ➜ christitus.com
Basic syntax
-find options starting/path expression
$ find ~ -name media*
Note: -name is CASE SENSITIVE for results
$ find /var/html -name *.html
$ find ~ -type d -iname Downloads
Note: -iname makes it so results are not matched based on CASE.
Advanced syntax
Find Files based on modified in the past 1 day
$ find ~ -mtime -1
Note: cull this down by using | grep partial file name
Or Find Files based on modified in the past 10 minutes
$ find ~ -mmin -10
OR find Files based on modified in the past 10 minutes and greater than 10 megs
$ find ~ -mmin -10 -size +10M
You can also add the -delete command at the end to delete ALL FILES FOUND!!! Use with extreme caution!
Bonus easily find where a program is located with "whereis"
$ whereis gimp .
►► Digital Downloads ➜ cttstore.com
►► Patreon ➜ patreon.com/christitustech
►► Twitch ➜ twitch.tv/christitustech
►► Website and Guides ➜ christitus.com
About this tutorial
Chris Titus Tech published this 6:32 video tutorial on November 3, 2019. It has been watched 58,189 times on YouTube.
- Channel
- Chris Titus Tech
- Category
- Science & Technology
- Duration
- 6:32
- Published
- November 3, 2019
- Views
- 58,189
- Likes
- 1,226
Tags
Share
This tutorial in other languages
- FRComment trouver des fichiers dans Linux | Terminal d'apprentissage
- ESCómo buscar los archivos en Linux | Terminal de aprendizaje
- PTComo localizar arquivos no Linux | Terminal de aprendizagem
- ITCome trovare i file in Linux | Terminal Learning
- DESo finden Sie Dateien in Linux | Learning-Terminal
- NLHoe om bestanden te zoeken in Linux | learning Terminal
- RUКак найти файлы в Linux | обучение терминал
- PLJak znaleźć pliki w systemie Linux | Terminal Learning
- JALinuxでのファイルを見つける方法|学習用端末
- ARكيفية البحث عن الملفات في لينكس | محطة التعلم
- HIकैसे लिनक्स में फ़ाइलों को ढूंढना | लर्निंग टर्मिनल
- IDCara Cari File di Linux | Terminal belajar