Linux Lite Forums
Ten Things I Wish I’d Known About bash - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Development (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=7)
+--- Forum: Scripting and Bash (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=32)
+--- Thread: Ten Things I Wish I’d Known About bash (/showthread.php?tid=4820)



Ten Things I Wish I’d Known About bash - Mike - 01-07-2018

Good blog post by Ian Miell that I stumbled upon.

https://zwischenzugs.com/2018/01/06/ten-things-i-wish-id-known-about-bash/

Here's one of his tips:
Quote:Have you ever done something like this?
[pre]$ grep somestring file1 > /tmp/a
$ grep somestring file2 > /tmp/b
$ diff /tmp/a /tmp/b[/pre] That works, but instead you can write:
[pre]diff <(grep somestring file1) <(grep somestring file2)[/pre] Isn’t that neater?



Re: Ten Things I Wish I’d Known About bash - Moltke - 01-08-2018

Good post that one! Bookmarked! Smile I've been also reading about scripting lately, trying to learn the basics. I came across this site https://www.cheatography.com/explore/tags/  which has a lot of "cheat sheets" and I've been reading here too https://www.codecademy.com/