Learn Grep with 15 Amazing Examples

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

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

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

    great video with nice examples just background music is distracting

  • @ronin2167
    @ronin2167 8 ปีที่แล้ว +68

    The music is distracting.

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

    9:30 there is a mistake. The command:
    grep -v "main" * | wc -l
    does not count the number of files that does not contain the word main. It counts the number of lines within these files that does not containt the word main.
    The number is much smaller because you deleted the "r" flag reducing the number of file processed.

    • @linuxtutorial8255
      @linuxtutorial8255  8 ปีที่แล้ว +1

      +Šimon Hrabec
      Thanks Simon for your feedback. I am excited to share that we have launched an android app for our youtube channel and a dedicated website to linux tutorials. Now you can access your favorite Linux tutorial on android app as well. You can access the ppt from android app. Following is the first look. Please download and share your feedback.
      Google Play Store Url:-
      Android App:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Linux Website:-
      www.linuxpull.com
      Please download and rate 5 star and comment for encouraging us. Now, That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

    • @kishorekumar2769
      @kishorekumar2769 5 ปีที่แล้ว

      @@linuxtutorial8255 not able to find your app

  • @jasonlucka3854
    @jasonlucka3854 10 ปีที่แล้ว

    Hello, i was practicing some regular expressions and i was wondering if you could help me find the words with longest sequence of consonants in a row that appear in a text file?
    Any help would be great thanks.

    • @linuxtutorial8255
      @linuxtutorial8255  10 ปีที่แล้ว

      Jason Lucka
      Hi Jason,
      Sorry for the late reply. Very quickly you can make something on these line:-
      tr 'a-z' 'A-Z' < 1.txt | tr -sc 'BCDFGHJKLMNPQRSTVWXYZ' '\012' | awk '{ if (x < length()) {x = length(); z=$0}} END { print "maximum line length is :" x,"word is:" z }'
      1.txt is your input file name.
      Try and share your feedback.

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Jason Lucka
      Important notification: Linux Tutorials
      Due to technical reasons this channel will shut down in few days. All existing subscribers are advised to subscribe to my new channel for Ultimate Linux Tutorials with existing and a lot more new tutorials. Please click on below urls for Ultimate Linux Tutorials and Subscribe.
      (PlayList)
      th-cam.com/play/PLVIoSf_L--JfRYE4swrlAKB6DdxQ-eRFp.html
      (Channel)
      th-cam.com/channels/n58SGUDUnUHRYKyNffHQrQ.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      +Linux Tutorial
      I am excited to share that we have launched an android app for our youtube channel. Now you can access your favorite Linux tutorial on android app as well. Following is the first look. Please download and share your feedback.Google Play Store Url:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Features:-
      1. Linux/Unix Video Tutorials
      2. Quick References
      3. Linux/Unix Video Playlist.
      4. Weekly Linux Video Topics are added
      5. Regular updates in Quick Reference Section
      6. Weekly addition in the Video Playlist
      7. Share application on social networking sites.
      8. You can share feedback or queries on the mail-id given in the feedback section.
      9. Easy Design to access video or any information swiftly.
      10 Material Design with tone down approach apt for students & learning partners.
      Please download and rate 5 star and comment for encouraging us. Now That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

  • @navids79
    @navids79 7 ปีที่แล้ว +14

    What the heck is this loud irrelevant music? What made you think the music on this topic is interesting ?

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

      it's been put there to compensate for his shitty fake accent.

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

    Hi I have one query if if we have three different servers on aws and windows platform. For example- config1.platform1.server1=“Amazon”
    Config1.platform1.server2=“google”
    And their respective api files will be there like
    Config1.platform1.server1.api=“Amazon api”
    Config1.platform1.server2.api=“googleapi”
    Then how to grep all servers name from the file

  • @al-girvantobias8462
    @al-girvantobias8462 7 ปีที่แล้ว

    I've downloaded grep on Windows, 32-bit Packard Bell, but I don't know
    what to do after, since there's no program to enter. And using the
    laptop's command prompt or even Python's does not recognize Grep.

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

    Content is good. The presentation would be even good without background music.

  • @RaghuvendraKumar
    @RaghuvendraKumar 10 ปีที่แล้ว

    grep is a very effective linux/unix command. it was a very effective tutorial.

  • @Trotskisty
    @Trotskisty 7 ปีที่แล้ว

    A less-awkward word to use in place of "hyphen" is "dash". Try it. Especially when showcasing CLI stuff.

  • @gopinathnagarajank
    @gopinathnagarajank 7 ปีที่แล้ว

    hello,
    13. To list the name of the files alone, we need to use lower case " l " (l for lion) not upper case 'I' (I for ice).
    If I want to list the name of the files containing the word teacher with case insensitive search, I should use the command
    grep -il 'teacher' *.txt

  • @jyothsnapriya5012
    @jyothsnapriya5012 6 ปีที่แล้ว

    How to download that ppt, you explained

  • @deserve_it
    @deserve_it 7 ปีที่แล้ว

    Very useful topic. But what with a music. Why do you need it? It is the only interfering here. Your voice shall be much louder than a music.

  • @raulmerlan8900
    @raulmerlan8900 8 ปีที่แล้ว +6

    The music is too loud and there are parts where I can't understand what you say. But the lesson is good

    • @Trotskisty
      @Trotskisty 7 ปีที่แล้ว +1

      Whenever the demonstrator has a thick accent, they should always look into providing subtitles/cc as well.
      Everyone will be happier.

    • @vickymore8752
      @vickymore8752 6 ปีที่แล้ว

      what can we understood r u giving gud comment or bad.

  • @abdinavkumarsingh9457
    @abdinavkumarsingh9457 10 ปีที่แล้ว

    nice tutorial..waiting for more as like this...

  • @vinodmv555
    @vinodmv555 10 ปีที่แล้ว +1

    Great work. Keep doing. Expecting more videos.

    • @linuxtutorial8255
      @linuxtutorial8255  10 ปีที่แล้ว

      Thanks a ton Vinod. Soon I will be adding more video tutorials.

    • @linuxtutorial8255
      @linuxtutorial8255  10 ปีที่แล้ว

      Vinod m v
      Thanks for your feedback. Please subscribe to the tutorial for update notification. You can watch other video tutorials at @channel/UCpVwxSsr4nzO2L_RndO74uw. We are working on the updates

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Vinod m v
      Important notification: Linux Tutorials
      Due to technical reasons this channel will shut down in few days. All existing subscribers are advised to subscribe to my new channel for Ultimate Linux Tutorials with existing and a lot more new tutorials. Please click on below urls for Ultimate Linux Tutorials and Subscribe.
      (PlayList)
      th-cam.com/play/PLVIoSf_L--JfRYE4swrlAKB6DdxQ-eRFp.html
      (Channel)
      th-cam.com/channels/n58SGUDUnUHRYKyNffHQrQ.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      +Linux Tutorial
      I am excited to share that we have launched an android app for our youtube channel. Now you can access your favorite Linux tutorial on android app as well. Following is the first look. Please download and share your feedback.Google Play Store Url:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Features:-
      1. Linux/Unix Video Tutorials
      2. Quick References
      3. Linux/Unix Video Playlist.
      4. Weekly Linux Video Topics are added
      5. Regular updates in Quick Reference Section
      6. Weekly addition in the Video Playlist
      7. Share application on social networking sites.
      8. You can share feedback or queries on the mail-id given in the feedback section.
      9. Easy Design to access video or any information swiftly.
      10 Material Design with tone down approach apt for students & learning partners.
      Please download and rate 5 star and comment for encouraging us. Now That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

    • @saivadde8400
      @saivadde8400 5 ปีที่แล้ว

      what the sheet video

  • @udishe
    @udishe 5 ปีที่แล้ว

    Thank you. simple quick and well explained

  • @ashalatha8592
    @ashalatha8592 8 ปีที่แล้ว

    how to execute these commands in windows software

  • @skiguns4ever
    @skiguns4ever 9 ปีที่แล้ว

    this is great stuff - thank you for sharing your knowledge

  • @mrexman5629
    @mrexman5629 8 ปีที่แล้ว

    this is very useful .can you share the ppt file

  • @rebeccakipanga478
    @rebeccakipanga478 9 ปีที่แล้ว

    Great lecture...thank you sir.

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Rebecca becky
      Important notification: Linux Tutorials
      Due to technical reasons this channel will shut down in few days. All existing subscribers are advised to subscribe to my new channel for Ultimate Linux Tutorials with existing and a lot more new tutorials. Please click on below urls for Ultimate Linux Tutorials and Subscribe.
      (PlayList)
      th-cam.com/play/PLVIoSf_L--JfRYE4swrlAKB6DdxQ-eRFp.html
      (Channel)
      th-cam.com/channels/n58SGUDUnUHRYKyNffHQrQ.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      +Linux Tutorial
      I am excited to share that we have launched an android app for our youtube channel. Now you can access your favorite Linux tutorial on android app as well. Following is the first look. Please download and share your feedback.Google Play Store Url:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Features:-
      1. Linux/Unix Video Tutorials
      2. Quick References
      3. Linux/Unix Video Playlist.
      4. Weekly Linux Video Topics are added
      5. Regular updates in Quick Reference Section
      6. Weekly addition in the Video Playlist
      7. Share application on social networking sites.
      8. You can share feedback or queries on the mail-id given in the feedback section.
      9. Easy Design to access video or any information swiftly.
      10 Material Design with tone down approach apt for students & learning partners.
      Please download and rate 5 star and comment for encouraging us. Now That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

  • @saivadde8400
    @saivadde8400 5 ปีที่แล้ว +5

    PLEASE don't include a background sound next time

  • @agarwalsaket21
    @agarwalsaket21 9 ปีที่แล้ว

    nice wrk put ahead ...thanks a lot... :)

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Saket Agarwal
      Important notification: Linux Tutorials
      Due to technical reasons this channel will shut down in few days. All existing subscribers are advised to subscribe to my new channel for Ultimate Linux Tutorials with existing and a lot more new tutorials. Please click on below urls for Ultimate Linux Tutorials and Subscribe.
      (PlayList)
      th-cam.com/play/PLVIoSf_L--JfRYE4swrlAKB6DdxQ-eRFp.html
      (Channel)
      th-cam.com/channels/n58SGUDUnUHRYKyNffHQrQ.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      +Linux Tutorial
      I am excited to share that we have launched an android app for our youtube channel. Now you can access your favorite Linux tutorial on android app as well. Following is the first look. Please download and share your feedback.Google Play Store Url:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Features:-
      1. Linux/Unix Video Tutorials
      2. Quick References
      3. Linux/Unix Video Playlist.
      4. Weekly Linux Video Topics are added
      5. Regular updates in Quick Reference Section
      6. Weekly addition in the Video Playlist
      7. Share application on social networking sites.
      8. You can share feedback or queries on the mail-id given in the feedback section.
      9. Easy Design to access video or any information swiftly.
      10 Material Design with tone down approach apt for students & learning partners.
      Please download and rate 5 star and comment for encouraging us. Now That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

  • @priyankakumar5535
    @priyankakumar5535 10 ปีที่แล้ว

    really amazing examples....

  • @prashantkumar-ee5ho
    @prashantkumar-ee5ho 10 ปีที่แล้ว

    gud job...keep it up..

  • @naseemshaik32
    @naseemshaik32 7 ปีที่แล้ว

    nice explanation

  • @ved22200
    @ved22200 6 ปีที่แล้ว

    1. Consider the following sequence of commands:
    grep main a.c b.c c.c > grepout &:
    we -1 < grepout &:
    rm grepout &:
    The ampersand ("&") at the end of each command line informs the shell to run the
    command in the background, and it can execute each command line in Parallel. Why
    is this not equivalent to the following command line?
    grep main a.c b.c c.c I we -1

  • @sameeraraz6989
    @sameeraraz6989 10 ปีที่แล้ว

    I like d simplecity of tutorial

  • @lisawarner4858
    @lisawarner4858 9 ปีที่แล้ว

    Nice upload! :D

  • @raju34567-d
    @raju34567-d 7 ปีที่แล้ว

    Super sir

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

    This video needs to be a little louder, I'm having trouble hearing it.

  • @oasisbeach
    @oasisbeach 9 ปีที่แล้ว

    great tutorials buy why an unnecessary distracting music in background?..

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Atakan
      Important notification: Linux Tutorials
      Due to technical reasons this channel will shut down in few days. All existing subscribers are advised to subscribe to my new channel for Ultimate Linux Tutorials with existing and a lot more new tutorials. Please click on below urls for Ultimate Linux Tutorials and Subscribe.
      (PlayList)
      th-cam.com/play/PLVIoSf_L--JfRYE4swrlAKB6DdxQ-eRFp.html
      (Channel)
      th-cam.com/channels/n58SGUDUnUHRYKyNffHQrQ.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      +Linux Tutorial
      I am excited to share that we have launched an android app for our youtube channel. Now you can access your favorite Linux tutorial on android app as well. Following is the first look. Please download and share your feedback.Google Play Store Url:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Features:-
      1. Linux/Unix Video Tutorials
      2. Quick References
      3. Linux/Unix Video Playlist.
      4. Weekly Linux Video Topics are added
      5. Regular updates in Quick Reference Section
      6. Weekly addition in the Video Playlist
      7. Share application on social networking sites.
      8. You can share feedback or queries on the mail-id given in the feedback section.
      9. Easy Design to access video or any information swiftly.
      10 Material Design with tone down approach apt for students & learning partners.
      Please download and rate 5 star and comment for encouraging us. Now That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

  • @mrgogate
    @mrgogate 10 ปีที่แล้ว

    Good One !

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Thanks for your valuable feedback. Please subscribe to the tutorial for update notification. You can watch other video tutorials at th-cam.com/channels/pVwxSsr4nzO2L_RndO74uw.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Mandar Gogate
      Important notification: Linux Tutorials
      Due to technical reasons this channel will shut down in few days. All existing subscribers are advised to subscribe to my new channel for Ultimate Linux Tutorials with existing and a lot more new tutorials. Please click on below urls for Ultimate Linux Tutorials and Subscribe.
      (PlayList)
      th-cam.com/play/PLVIoSf_L--JfRYE4swrlAKB6DdxQ-eRFp.html
      (Channel)
      th-cam.com/channels/n58SGUDUnUHRYKyNffHQrQ.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      +Linux Tutorial
      I am excited to share that we have launched an android app for our youtube channel. Now you can access your favorite Linux tutorial on android app as well. Following is the first look. Please download and share your feedback.Google Play Store Url:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Features:-
      1. Linux/Unix Video Tutorials
      2. Quick References
      3. Linux/Unix Video Playlist.
      4. Weekly Linux Video Topics are added
      5. Regular updates in Quick Reference Section
      6. Weekly addition in the Video Playlist
      7. Share application on social networking sites.
      8. You can share feedback or queries on the mail-id given in the feedback section.
      9. Easy Design to access video or any information swiftly.
      10 Material Design with tone down approach apt for students & learning partners.
      Please download and rate 5 star and comment for encouraging us. Now That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

  • @balramsharma5887
    @balramsharma5887 7 ปีที่แล้ว

    very good

  • @philiprevell1077
    @philiprevell1077 7 ปีที่แล้ว

    music is distracting :(. Often your messages were lost.

  • @Rishabhv66
    @Rishabhv66 9 ปีที่แล้ว

    nice..thanks

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      Rishabh Gupta
      Important notification: Linux Tutorials
      Due to technical reasons this channel will shut down in few days. All existing subscribers are advised to subscribe to my new channel for Ultimate Linux Tutorials with existing and a lot more new tutorials. Please click on below urls for Ultimate Linux Tutorials and Subscribe.
      (PlayList)
      th-cam.com/play/PLVIoSf_L--JfRYE4swrlAKB6DdxQ-eRFp.html
      (Channel)
      th-cam.com/channels/n58SGUDUnUHRYKyNffHQrQ.html

    • @linuxtutorial8255
      @linuxtutorial8255  9 ปีที่แล้ว

      +Linux Tutorial
      I am excited to share that we have launched an android app for our youtube channel. Now you can access your favorite Linux tutorial on android app as well. Following is the first look. Please download and share your feedback.Google Play Store Url:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Features:-
      1. Linux/Unix Video Tutorials
      2. Quick References
      3. Linux/Unix Video Playlist.
      4. Weekly Linux Video Topics are added
      5. Regular updates in Quick Reference Section
      6. Weekly addition in the Video Playlist
      7. Share application on social networking sites.
      8. You can share feedback or queries on the mail-id given in the feedback section.
      9. Easy Design to access video or any information swiftly.
      10 Material Design with tone down approach apt for students & learning partners.
      Please download and rate 5 star and comment for encouraging us. Now That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

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

    i like the music

  • @abd-allahabd-allah8158
    @abd-allahabd-allah8158 7 ปีที่แล้ว

    fantastic

  • @vapon
    @vapon 7 ปีที่แล้ว +5

    Turn to linux first man!

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

    Wait a second! This isnt game grumps?

    • @linuxtutorial8255
      @linuxtutorial8255  8 ปีที่แล้ว +1

      +ADGHero
      I am excited to share that we have launched an android app for our youtube channel and a dedicated website to linux tutorials. Now you can access your favorite Linux tutorial on android app as well. You can access the ppt from android app. Following is the first look. Please download and share your feedback.
      Google Play Store Url:-
      Android App:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Linux Website:-
      www.linuxpull.com
      Please download and rate 5 star and comment for encouraging us. Now, That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

    • @hylus9286
      @hylus9286 8 ปีที่แล้ว

      +Linux Tutorial Not until I get my new Grepstep Mixtape!

    • @hylus9286
      @hylus9286 8 ปีที่แล้ว

      +Linux Tutorial Not until I get my new Grepstep Mixtape!

  • @finixhelix3985
    @finixhelix3985 8 ปีที่แล้ว

    Why are you using Windows to show Linux Tutorials?

  • @ashwinipatil5834
    @ashwinipatil5834 8 ปีที่แล้ว

    thanx

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

    I grep
    not grep
    grep

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

    Sorry but you don't explain the result clearly. Might be good for experts but those who are learning can't get the full benefits. Make even short tutorials but explain nicely the expression and the result one by one. And also turn off the music please if don't mind. Thanks

  • @Circuitssmith
    @Circuitssmith 7 ปีที่แล้ว +1

    Before you learn how to grep, you must first understand the meaning of not so grep. Then and only then can you become a grep gramp.

  • @MrLuupski
    @MrLuupski 6 ปีที่แล้ว

    Why this annoying and distraction music in the background ????

  • @DaRooMN
    @DaRooMN 7 ปีที่แล้ว

    the music... duuuuude -_-

  • @theRanjan24
    @theRanjan24 8 ปีที่แล้ว +19

    This guy sounds like an IRS scammer.

  • @bhushan1524
    @bhushan1524 6 ปีที่แล้ว

    Please don't add music

    • @vickymore8752
      @vickymore8752 6 ปีที่แล้ว

      are learning music or linux.

  • @maliozers
    @maliozers 5 ปีที่แล้ว

    i like the music. thanks for your effort. good explanation!

  • @MitaKgEg
    @MitaKgEg 7 ปีที่แล้ว

    Uploader logic - "I don't know how to speak English, so i will put music on top of my voice so no one can understand me"

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

    indian guy in the video trying hard to sound like american. lol :-D

  • @saikrishna-xe9mf
    @saikrishna-xe9mf 5 ปีที่แล้ว

    irritating music

  • @andrewaustin191
    @andrewaustin191 9 ปีที่แล้ว

    ECH

    • @linuxtutorial8255
      @linuxtutorial8255  8 ปีที่แล้ว +1

      +Andrew Austin
      Thanks Andrew for your feedback. I am excited to share that we have launched an android app for our youtube channel and a dedicated website to linux tutorials. Now you can access your favorite Linux tutorial on android app as well. You can access the ppt from android app. Following is the first look. Please download and share your feedback.
      Google Play Store Url:-
      Android App:-
      play.google.com/store/apps/details?id=com.invensini.UTL
      Linux Website:-
      www.linuxpull.com
      Please download and rate 5 star and comment for encouraging us. Now, That i am finished with the app, I will be adding 2-3 videos every week. Thanks for your support.

  • @sandeepkool022
    @sandeepkool022 7 ปีที่แล้ว

    sorry but you can't explain.