You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Ten Things I Wish I’d Known About bash

Author (Read 4350 times)

0 Members and 1 Guest are viewing this topic.

Re: Ten Things I Wish I’d Known About bash
« Reply #2 on: January 07, 2018, 09:07:04 PM »
 

Moltke

  • Platinum Level Poster
  • **********
  • 1134
    Posts
  • Reputation: 126
  • Linux Lite Member
    • View Profile

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750

  • Kernel: 5.x
Good post that one! Bookmarked! :) 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/
Without each others help there ain't no hope for us :)
Need a translation service? https://www.deepl.com/es/translator
 

Ten Things I Wish I’d Known About bash
« Reply #1 on: January 07, 2018, 02:12:48 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Reputation: 26
  • Linux Lite Enthusiast
    • View Profile
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?
$ grep somestring file1 > /tmp/a
$ grep somestring file2 > /tmp/b
$ diff /tmp/a /tmp/b
That works, but instead you can write:
diff <(grep somestring file1) <(grep somestring file2)
Isn’t that neater?
« Last Edit: January 14, 2018, 02:52:05 PM by Mike »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section