subscribe to my channel for more FREE videos!!
Today, I'll show you a simple example of using Linux command 'find' and 'grep' to find a file.
'find' is a handy built-in program in almost all Unix and Linux systems. First, you will see all files on a computer. Then, redirect that to 'grep' to search for 1 specific file called "where is it".
Here are the commands,
To list all files on your system:
sudo find /
To search for a specific file:
sudo find / | grep -i "name of the file"
If you have root (aka admin) permission, sudo can see all files on your system. Other wise just use find:
find ~/ | grep -i "name of the file"
level: beginner
Operating System: Linux
thanks to everyone watching this video.
other notes:
command line
list all files
crawl a file system