Raspberry Pi Linux LESSON 15: Using the Linux Find Command

preview_player
Показать описание
This tutorial shows you how to use the Linux find command, and how use of wildcards with find is a powerful combination.

See more details at:
Рекомендации по теме
Комментарии
Автор

Thank you Mr. Mcwhorter. Great lesson. Good stuff to know.

erygion
Автор

Greetings Mr. McWhorter,
You had a minor cow regarding sudo in this video with the question why. *nix systems are multi-user. Not all users are granted sudo privilege. Sudo was developed so that a system administrator did not have to log in as root-user to maintain the system. You are effectively the system administrator on your pi system. Therefore you are granted through sudo system privilege in addition to user privilege.

This is an older video, and as such you may have already found this out. I just thought I'd throw this out, in case you had not.

gfodale
Автор

I couldn't get this find command working until I removed quotation marks. Strangely, it work without them. Has the grammar changed ? I got Raspberry Pi 3 and terminal says LXTerminal 0.2.0

turboromy
Автор

Sir, Thanks a lot for your lessons :) ... learning a lot from your series :) :) ... i have 2 questions : if "|" is the pipe command then what is this ">" command called ? and where we have to put the wildcard operator "*" before or after ? as both give different results .. want to know the difference .. thanks again :)

hassinayaz
Автор

this is now 2020 and things must be a bit different now. I had to precede the "find" with the sudo command

tedsykora
Автор

sudo find / -name "*.*"
Windows tree command pretty much lol

ms
Автор

sudo find / -name "myGirlFriends"

wu
Автор

Paul, sorry, but your example is rather pitiful. Searching for a file where there are two directories and 8 files is nothing like searching for a file SOMEWHERE on a fully working machine.
Using your method I saw a few "hundred" screens scroll past me at break neck speeds and a lot with "Access denied" messages.
That kind of output is useless to someone wanting to find a file.
Could you please help idiots like me on how to find a file (including partial name search) from the top directory searching EVERYWHERE (obviously excluding ACCESS DENIED directories) and with a READABLE output/result? Rather than having to scroll back 40 pages of results.

shykitten