privsecfoss@feddit.dk to Linux@lemmy.ml · 2 years agoMust have commandline tools?message-squaremessage-square24fedilinkarrow-up18arrow-down10file-text
arrow-up18arrow-down1message-squareMust have commandline tools?privsecfoss@feddit.dk to Linux@lemmy.ml · 2 years agomessage-square24fedilinkfile-text
minus-squareds12@beehaw.orglinkfedilinkarrow-up3·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-squarewildbus8979@sh.itjust.workslinkfedilinkarrow-up1·2 years agoWhat is the difference between ripgrep and just plain grep?
minus-squareForthEorlingas@lemmy.fmhy.mllinkfedilinkarrow-up2·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-squareShitpostCentral@lemmy.worldlinkfedilinkarrow-up0·2 years agoIt also ignores files in .gitignore and some others by default
minus-squareeyolf@lemmy.worldlinkfedilinkarrow-up1·2 years agoIt also has a much simpler and forgiving syntax. Just type rg anything and it finds anything
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
ripgrepand just plain grep?ripgrepis a reimplementation ofgrepin 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 anythingand it finds anything