News
Introduction You may find yourself in a situation where you remember the content of a file but not its name. Linux offers various commands to help you find files based on specific text strings within ...
How to find files in Linux with grep: 10 examples (free PDF) The grep command is a handy, reliable tool for searching for files or information.
Grep is fast, powerful, and the workhouse of the command line. We’ll show you how to become a command-line wizard by using grep to quickly find text hidden in your files.
Using the find Command The find command can be combined with grep to achieve more specific results, especially when you need to filter files based on various criteria.
The Linux find command makes it easy to find files on your system – even if you don’t remember their names or exactly when you last updated them. Some of the options are a bit more challenging ...
Viewing the content of files and examining access permissions and such are very different options. This post examines a number of ways to look at files on Linux.
To find the word "needle" in the haystack.txt file, I use the following command: $ grep needle haystack.txt This will cause grep to display any line from haystack.txt that contains the text "needle".
If you want to know what files a process is using, then yes, lsof is your friend. If you want to know what processes are using a file, you can use lsof + grep, or you can use fuser.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results