Blog Posts


https://www.crowdsupply.com/krakenrf/krakensdr

Posted 2021-08-09 21:01 by azri.

https://www.crowdsupply.com/krakenrf/krakensdr

url

Posted 2021-08-09 21:01 by azri.

:8754/tracked.html

https://skyandtelescope.org/observing/how-to-see-all-six-apollo-moon-landing-sites/

Posted 2021-08-09 21:01 by azri.

https://skyandtelescope.org/observing/how-to-see-all-six-apollo-moon-landing-sites/

https://www.raspbian.org/RaspbianMirrors

Posted 2021-08-09 21:00 by azri.

https://www.raspbian.org/RaspbianMirrors

To find files containing specific text in Linux

Posted 2021-08-09 21:00 by azri.

Open your favorite terminal app.

XFCE4 terminal is my personal preference.

Navigate (if required) to the folder in which you are going to search files with some specific text.

Type the following command: grep -iRl "your-text-to-find" ./

Here are the switches:

-i - ignore text case

-R - recursively search files in subdirectories.

-l - show file names instead of file contents portions.

./ - the last parameter is the path to the folder containing files you need to search for your text.

In our case, it is the current folder with the file mask. You can change it to the full path of the folder.

For example, here is my command

grep -iRl "linux" /home/user/Documents/winaero

Note: Other useful switches you might want to use with grep:

-n - show the line number.

-w - match the whole word.

Another method I use is Midnight Commander (mc), the console file manager app.

Unlike grep, mc is not included by default in all Linux distros I've tried.

You may need to install it yourself.

https://winaero.com/find-files-containing-text-linux/