You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements



X Close Ad
X Close Ad
Ten Things I Wish Id Known About bash

Author (Read 2535 times)

0 Members and 1 Guest are viewing this topic.

Ten Things I Wish Id Known About bash
« on: January 07, 2018, 02:12:48 PM »
 

Mike

  • Forum Regular
  • ***
  • 212
    Posts
  • Country: us
  • Reputation: 26
  • Linux Lite Enthusiast

  • Linux Lite: 3.6 64bit
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)
Isnt that neater?
Last Edit: January 14, 2018, 02:52:05 PM by Mike
 


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

Moltke

  • Platinum Level Poster
  • **********
  • 1036
    Posts
  • Country: ve
  • Reputation: 120
  • Linux Lite Member

  • Linux Lite: 5.0 64bit

  • 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
 


Tags: bash 
 

X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements