In my Linux Commands for Beginners series, we’ll explore everything you need to know in order to be productive on the Linux Command Line. You’ll learn basic commands, input/output redirection, package management, resource monitoring, troubleshooting, and more. In this video, we’ll see how the find command can be used to quickly search through our filesystem.
If you enjoyed this video, please click the like button, and share it on your favorite social networking platform (Facebook, Twitter, etc)
Support me on Patreon (every little bit helps):
Get $20 toward your own cloud server with Linode!
Affiliate store (Linux compatible hardware and accessories):
Follow me on Twitter!
Official LearnLinux.tv Facebook page:
Check out my latest book, Mastering Ubuntu Server Second Edition!
Proxmox upgrade documentation:
More about me:
Music: Fine Line – Geographer
Support by RFM – NCM:
Nguồn: https://codeigniterbrasil.com
Xem thêm bài viết khác: https://codeigniterbrasil.com/lap-trinh-linux/
Xem thêm Bài Viết:
- Hướng dẫn sử dụng hệ điều hành linux siêu tốc – bài 25 Xem cấu hình hệ thống (cpu, ram, hdd)
- Linux cat command summary with examples
- Cài nhiều hệ điều hành Windows và Linux trên một máy tính
- Hướng dẫn tạo USB Boot DLC2019 (NTFS / UEFI) Trên windows 10 ( sử dụng USB 32 GB )
- Hướng dẫn gỡ bỏ Ubuntu sạch sẽ nhất bằng lệnh trên Windows theo chuẩn UEFI-GPT
idney brandao
April 21, 2020Thank you ! You have been helping me!!
CodingAndCaffeine
April 21, 2020kali linux as well?
Mk. Nava
April 21, 2020Bash shell script i can c only 16 videos…Is it closed there…?
Mk. Nava
April 21, 2020Good…"Find " command was not there on old tutorial
Jonathan Lupica
April 21, 2020So useful ! As always…
Abu Laith
April 21, 2020please include your commands in the description, Thanks
Anton Surviyanto
April 21, 2020What is the difference between find, whereis, locate, etc? Which one were the basic command?. In Ubuntu I can use locate command but not in Manjaro, It's weird. I thought Linux is all the same. 😄😄
Perhaps
April 21, 2020The "find" command can be used to identify hard linked related files, via the -samefile option.
One day at work, I was looking to recover disk space and found a large file to delete. After deleting it, the available disk space remained unchanged. This was due to that file having more than one name (it was hard linked to another name).
Assuming that the file that I want to delete is named "testfile.txt". Then, running:
$ find -samefile testfile.txt -print
./testfile.txt
./testfile2.txt
The above reveals the other i-node for that file (the two filenames refer to the same file — they are not copies of each other). Of course, that was a simple example. You might need to search from "/" instead of from your current directory, in order to locate all matching hard links.
I would like to see a video going over more applications of the "find" command (finding files with certain permission, sizes, owner, prune, mount, etc).
Yunus Emre Işık
April 21, 2020good tutorial thanks a lot
Steve Dias Da Cruz
April 21, 2020Good video! 🙂
I commonly use find to count the number of files in a directory:
find . -type f | wc -l
Filo Bolla
April 21, 2020It is also possible to delete the entries of find command with a simple -delete, just found that after a thousand wrong typed -exec rm
Anzan Hoshin Roshi
April 21, 2020Thank you, Jay.
tpasi2020UG
April 21, 2020Thank you! Thank you! Thank you! You do not know how much these tutorials have helped.