Ten Things I Wish I’d Known About bash – zwischenzugs
diff <(grep somestring file1) <(grep somestring file2)
:h
I use this one a lot too. If you put it after a filename, it will change that filename to remove everything up to the folder. Like this:
grep isthere /long/path/to/some/file/or/other.txt
cd !$:h
March 22, 2021 at 10:43:31 AM EDT
*
FILLER