News for hackers. Stuff that matters.
Re:An intro to finding things in Linux by lazyweb on Tuesday November 23, 2021 @09:48AM (#29318390)
Agreed. My most common use case for "finding stuff" on linux boxes is me looking for particular strings in clear text files, so I often end up doing "grep string -Ri {/etc,/var} | less". Also, though find seems to be POSIX compliant, I just don't like it's syntax and how flags are handled.
Re:An intro to finding things in Linux by npteljes on Tuesday November 23, 2021 @10:22AM (#29318823)
For that I like to install ripgrep or `rg` for short, very nice defaults and formats the output nicely too.
Re:An intro to finding things in Linux by hnarn on Tuesday November 23, 2021 @03:44PM (#29323247)
Installing the tools you prefer is not always an option, but I agree, ripgrep is great.
Re:An intro to finding things in Linux by alex_smart on Saturday November 27, 2021 @11:39AM (#29361380)
You can always put some binaries in $HOME/bin.
Re:An intro to finding things in Linux by hnarn on Saturday November 27, 2021 @11:57AM (#29361518)
You cannot "always" do this because some of us frequently or occasionally work in environments where external, non-reviewed software simply isn't allowed.