Lightest way to run GUI applications in Linux?

I realized I can use a window manager without a desktop environment and don’t lose any functionality I care about. Applications still work fine, I can still arrange application windows as I please. This pretty much eliminates the need for lightweight desktop environments such as LXDE and XFCE for use cases like mine. I wonder … Read more

Grep in couple thousands files

I have directory with cca 26 000 files and I need to grep in all these files. Problem is, that I need it as fast as possible, so it’s not ideal to make script where grep will take name of one file from find command and write matches to file. Before “arguments list too long” issue it took cca 2 minutes to grep in all this files.
Any ideas how to do it?
edit: there is a script that is making new files all the time, so it’s not possible to put all files to different dirs.