Mastering Grep a 1 hour webinar

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024
  • We hold weekly webinars in all things Linux, this week we took a look at GNU #grep on CentOS #Linux 7. Giving a great start onto some of the options in grep and the use of regular expressions

ความคิดเห็น • 70

  • @irfan4701
    @irfan4701 4 ปีที่แล้ว +10

    sometimes you just cant skip some contents, this is one those contents.
    awesome job sir, thank you very much.

  • @mansourq6512
    @mansourq6512 4 ปีที่แล้ว +3

    Words can’t describe how much I’m grateful for what you did

    • @theurbanpenguin
      @theurbanpenguin  4 ปีที่แล้ว +1

      That is so kind thank you

    • @cdbcbd4930
      @cdbcbd4930 3 ปีที่แล้ว

      this is an appropiate place for expressing this - why here?

  • @mefesto07
    @mefesto07 ปีที่แล้ว

    thanks so much sir!
    I work as a QA engineer and this video is extremely useful for me!

  • @davidrichardsonYT
    @davidrichardsonYT 4 ปีที่แล้ว +1

    Amazing teacher! I actually retain what Andrew teaches unlike most others! Well done & thankyou

    • @theurbanpenguin
      @theurbanpenguin  4 ปีที่แล้ว

      That is so kind of you David, to comment like this. I appreciate it

  • @somanathsshenoy
    @somanathsshenoy ปีที่แล้ว

    Sir, you have earned passport to heaven!!!
    This is the best service for mankind. Thank you so much sir!

  • @rotrose7531
    @rotrose7531 4 ปีที่แล้ว +1

    Great! grep for an hour! Amazing! Thank you for creating all this!

  • @geoptus
    @geoptus 4 ปีที่แล้ว

    Another great tutorial, didn't realise you are now doing live broadcast - great stuff.
    Many thanks Mr Mallet

  • @rohitjawla8836
    @rohitjawla8836 4 ปีที่แล้ว +1

    its great effort that you r putting here. Kindly keep posting.

  • @arturomuniz3623
    @arturomuniz3623 4 ปีที่แล้ว

    Thank you sir. I used a tcpdump minus very verbose, then followed you. Good webinar!

  • @frederic_viennot
    @frederic_viennot 4 ปีที่แล้ว

    Awesome !!!!! loving more and more the CLI :) thanks for sharing this video!

  • @アランパーソンプロジェクト
    @アランパーソンプロジェクト 2 ปีที่แล้ว

    Man this lesson is just flying everywhere…..

  • @trevorwilliams5415
    @trevorwilliams5415 4 ปีที่แล้ว +2

    At about the 4 minute mark, the question is how to clear the line. Sometime we want to just do a different instruction before the one that we just typed, so it may be worth saving it for later. Press Esc and then # to put the hash mark at the start of the line i.e. comment it out. That also automatically pushes you to the next line in my experience.

  • @DandReiOwnU
    @DandReiOwnU 2 ปีที่แล้ว

    thank you for the free training!

  • @SnortDefence
    @SnortDefence 2 ปีที่แล้ว

    Great vlog, hope simlar master vlog on awk and sed too

  • @pogchamper228
    @pogchamper228 4 หลายเดือนก่อน

    Brilliant.👍

  • @tejsinghranaofficial
    @tejsinghranaofficial 4 ปีที่แล้ว

    Really need at this moment. Thank you!!

  • @Gynormousdish
    @Gynormousdish 2 ปีที่แล้ว

    Great lecture!

  • @jamiechristie7655
    @jamiechristie7655 4 ปีที่แล้ว +17

    I skipped through this, arrogantly believing I knew it all, only to overhear the esc-. ("escape-dot") trick. I've never ever heard of that in over 25 years of Linux. Crikey.

    • @theurbanpenguin
      @theurbanpenguin  4 ปีที่แล้ว +6

      If you were as bad as me at typing you will have found this before I am sure :)

    • @zoomosis
      @zoomosis 4 ปีที่แล้ว

      On a PC you can use Alt+dot (ie. hold down Alt then press .)
      Option+dot also works on a Mac if the terminal (eg. iTerm2) is configured to send Option as the Meta key.

    • @ajaykumark107
      @ajaykumark107 4 ปีที่แล้ว

      What's the timestamp on it?

    • @90hijacked
      @90hijacked 4 ปีที่แล้ว

      I sometimes hate myself for having grown accustomed to using vi mode in bash ('set -o vi')
      Things like this come naturally, the dot operator just works as expected.
      see ('help bind') and ('man readline')

    • @geoptus
      @geoptus 4 ปีที่แล้ว

      @@90hijacked , interesting...been using vi mode for 1.5 years and have hated having to get used to not having this invaluable binding, so I just now decided to try and fix, and... although nothing is bound to 'insert-last-argument', it seems "\e_" still works! I'd be interested to know if this works for anyone else using vi mode. A grep for the binding from `bind -P' returned nothing. Mystery[?].

  • @serge8317
    @serge8317 4 ปีที่แล้ว

    Great video 👍🏿👍🏿 Could you do a video on “single user-mode” please, explain it in detail?

  • @richardgarrow9260
    @richardgarrow9260 4 ปีที่แล้ว

    HI Andrew, I have a question regarding words. This is the first time I have used this file, but my question is what would the OS use this file for??? Thanks again another great video, thank you for all you do for this community it is greatly appreciated, all the best sir. Oh one more thing I had to complement you on your new look on the wed site is really looking fantastic.

    • @theurbanpenguin
      @theurbanpenguin  4 ปีที่แล้ว +1

      Used by applications or developers rather than OS. But think of messages you might see about dictionary based passwords. Applications like that will need a dictionary to reference.

  • @pawecyrklaf4729
    @pawecyrklaf4729 4 ปีที่แล้ว +1

    Very usefull video before LFCS exam :D I'm waiting for sed and find commands :D

    • @theurbanpenguin
      @theurbanpenguin  4 ปีที่แล้ว +2

      th-cam.com/video/zHWAnC5zfFI/w-d-xo.html

    • @pawecyrklaf4729
      @pawecyrklaf4729 4 ปีที่แล้ว +1

      @@theurbanpenguin Actually, there was a movie :) I have a good but short memory: D

  • @MichaelSalo
    @MichaelSalo 24 วันที่ผ่านมา

    I haven’t been able to find this PDF guide online.

  • @aqeebhussain9032
    @aqeebhussain9032 4 ปีที่แล้ว +1

    Thanks for this Urban Penguin! Never knew you do weekly webinars, how do I sign up to receive a time & topic about this?
    Thanks,
    Aqeeb

    • @theurbanpenguin
      @theurbanpenguin  4 ปีที่แล้ว

      Thanks you can sign up to the mailing list eepurl.com/gdbo19

  • @Dhua_diary
    @Dhua_diary 2 ปีที่แล้ว

    32:44 why did escape tcp ? You are already using E option

  • @damianl1711
    @damianl1711 4 ปีที่แล้ว

    Very usefull video, thx

  • @cantanzim6215
    @cantanzim6215 3 ปีที่แล้ว

    thanks it was grate

  • @maeckie55
    @maeckie55 3 ปีที่แล้ว

    44:16 i don´t understand why i get different outputs from these commands:
    grep -Ei '^a.*1$' /usr/share/dict/words
    A-1
    A1
    a1
    ASN1
    grep -Ei '^a*1$' /usr/share/dict/words
    A1
    a1
    I expected the same output, as the * character is looking for zero or more characters. Why is the same command with the prefixed . giving me more matches ?

  • @ggaston85
    @ggaston85 2 ปีที่แล้ว

    Can you upload this video again with increased volume, my laptop's volume and the youtube volume both all the way up I can hardly hear it.

    • @theurbanpenguin
      @theurbanpenguin  2 ปีที่แล้ว

      Really think it is not the volume over 400 likes and is ok on my system. And I am deaf in one ear. These are recorded to broadcast sound levels

    • @ggaston85
      @ggaston85 2 ปีที่แล้ว

      @@theurbanpenguin Volume problems are normal on laptops, so if most everyone is using a desktop it's fine.

    • @theurbanpenguin
      @theurbanpenguin  2 ปีที่แล้ว

      @@ggaston85 let me know the levels you want. They are uk broadcast levels

    • @ggaston85
      @ggaston85 2 ปีที่แล้ว

      @@theurbanpenguin Headphone fixed the issue. Thanks.

  • @notpublic7149
    @notpublic7149 4 ปีที่แล้ว

    Still using 7? Hmm like how I haven't upgraded to 20.04 yet. :) No changes to grep in 8 I hope?

  • @JNET_Reloaded
    @JNET_Reloaded 3 ปีที่แล้ว

    Im stuck using bash and grep trying to use curl or wget and just get the stock price for ltc and thats it, i dont need any other page data just the price nnn.nn just 1 decemal and numbers but its not working its confusing me help anyone??? wish sites would make a blank page with just the stock price so it can be got without all the extra crap anyone know how to do this? has to be bash no python please !!!???

  • @mariaallende8339
    @mariaallende8339 2 ปีที่แล้ว

    I just enter here cause some company charged $ 75 to my account and it says trainingrep and I don't even know what is this. Not me not anyone in my house. Can someone help me please cause I need to recover that money. I don't know what to do. I don't know if there's diferente companies or something.

    • @ChrisCox-wv7oo
      @ChrisCox-wv7oo 2 ปีที่แล้ว

      "Training Rep" is probably the charge, nothing to do with grep.
      Good luck Maria

  • @cdbcbd4930
    @cdbcbd4930 3 ปีที่แล้ว

    How you say redundancy modules with a bad taste in your mouth for?

  • @charlesklein7232
    @charlesklein7232 3 ปีที่แล้ว

    were do i get the "PDF" that you are using?

  • @MrArmas555
    @MrArmas555 4 ปีที่แล้ว

    ++

  • @whateveritwasitis
    @whateveritwasitis 10 หลายเดือนก่อน

    this isnt for new grep users

  • @electricfilms100
    @electricfilms100 4 ปีที่แล้ว +1

    No smashed piano... Pfft, I'm out.

  • @aram7017
    @aram7017 4 ปีที่แล้ว

    wtf 1 hour just for grep

    • @theurbanpenguin
      @theurbanpenguin  4 ปีที่แล้ว +4

      You are obviously a regular expression master! :)

    • @90hijacked
      @90hijacked 4 ปีที่แล้ว +2

      I Just like to listen to him, such a pleasant fella

    • @navjotsingh2251
      @navjotsingh2251 2 ปีที่แล้ว +2

      This isn’t just teaching Grep, but it is teaching regular expressions alongside grep. It is aimed at beginners in both grep and regular expressions in general.