r/linux4noobs • • Jul 10 '19

19 Useful BASH Scripts For Heavy Terminal Users

https://www.ostechnix.com/collection-useful-bash-scripts-heavy-commandline-users/
232 Upvotes

10 comments sorted by

5

u/ratnose Jul 10 '19

Awesome! Let's hope it works on macos brew as well. :)

4

u/ask2sk Jul 10 '19

It should work on Mac OS. It is cross-platform.

brew install bash-snippets # installs all tools
brew install bash-snippets --without-all-tools --with-newton --with-weather # specifying install for individual tools

10

u/samrocketman Jul 10 '19

sudo install.sh ...

2

u/[deleted] Jul 10 '19 edited Jul 10 '19

I’m trying to figure out which of those crooks would need to be installed in an area not modifiable by used. Maybe chmod +x install.sh would also work?

6

u/[deleted] Jul 10 '19

The commands that most people do not know are ssh ones.

Until a few days ago, whenever my ssh froze, the only solution I knew was to close the terminal. Until I found out that ~. closes the connection. Similarly there are other cool ssh shortcuts

2

u/prasannarajaram Jul 10 '19

Innovative!.... Thanks for sharing

2

u/[deleted] Jul 10 '19

Great!

2

u/michalfabik Jul 10 '19

The currency tool doesn't seem to work when the rate contains a zero, see the first grep at /usr/local/bin/currency:139.

2

u/-cgmg- Jul 10 '19

Thank you a lot for this ;)

1

u/jCaci Jul 10 '19 edited Jul 10 '19

Online qrcodes?? No thanks :( I prefer qrencode Anyway, the translator would be nice too, https://github.com/soimort/translate-shell