• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4252 shaares
Filters

Ten Things I Wish I’d Known About bash – zwischenzugs

QRCode
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
  1. Startup Order
    https://blog.flowblok.id.au/2013-02/shell-startup-scripts.html
https://zwischenzugs.com/2018/01/06/ten-things-i-wish-id-known-about-bash/
March 22, 2021 at 10:43:31 AM EDT *
bash linux
FILLER
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community