Must have commandline tools? privsecfoss ( @privsecfoss@feddit.dk ) Linux@lemmy.ml • 2 years ago message-square27fedilinkarrow-up112
arrow-up112message-squareMust have commandline tools? privsecfoss ( @privsecfoss@feddit.dk ) Linux@lemmy.ml • 2 years ago message-square27fedilink
minus-square ds12 ( @ds12@beehaw.org ) linkfedilink5•2 years agofzf for quickly matching file names especially deep in the directory hierarchy ripgrep for quickly searching for text content within files dtrx for handling the right extractions of different archive types
minus-square wildbus8979 ( @wildbus8979@sh.itjust.works ) linkfedilink2•2 years agoWhat is the difference between ripgrep and just plain grep?
minus-square ForthEorlingas ( @ForthEorlingas@lemmy.fmhy.ml ) linkfedilink3•2 years agoripgrep is a reimplementation of grep in Rust. It benchmarks faster for large file searches and also comes with quality of life features like syntax highlighting by default.
minus-square ShitpostCentral ( @ShitpostCentral@lemmy.world ) linkfedilink2•2 years agoIt also ignores files in .gitignore and some others by default
minus-square eyolf ( @eyolf@lemmy.world ) linkfedilink2•2 years agoIt also has a much simpler and forgiving syntax. Just type rg anything and it finds anything
minus-square wildbus8979 ( @wildbus8979@sh.itjust.works ) linkfedilink1•2 years agogrep does that through fgrep
fzf for quickly matching file names especially deep in the directory hierarchy
ripgrep for quickly searching for text content within files
dtrx for handling the right extractions of different archive types
What is the difference between
ripgrep
and just plain grep?ripgrep
is a reimplementation ofgrep
in Rust. It benchmarks faster for large file searches and also comes with quality of life features like syntax highlighting by default.It also ignores files in .gitignore and some others by default
It also has a much simpler and forgiving syntax. Just type
rg anything
and it finds anythinggrep
does that throughfgrep