How to Use Grep in Linux in Hindi | Grep Command Tutorial with Examples | Linux Grep Questions

Поділитися
Вставка
  • Опубліковано 5 жов 2024

КОМЕНТАРІ • 167

  • @SyedAliKazmi924
    @SyedAliKazmi924 5 місяців тому +1

    Beautiful explanation ❤

    • @MPrashant
      @MPrashant  4 місяці тому

      Thanks for the feedback

  • @jayashreewaghachaure4714
    @jayashreewaghachaure4714 3 місяці тому +1

    Very helpful video. Thank you!

  • @emmanualbhambal3387
    @emmanualbhambal3387 5 місяців тому +1

    Sir it was very important for me. 🙏

    • @MPrashant
      @MPrashant  5 місяців тому

      Glad to hear that!

  • @ARIFKHAN-or7cx
    @ARIFKHAN-or7cx 4 місяці тому +1

    Thanks for teaching the content very clearly. You got a new subscribe 😉

    • @MPrashant
      @MPrashant  4 місяці тому

      Thanks for the feedback and welcome to this channel 😀

  • @amanwankhade3141
    @amanwankhade3141 Рік тому +1

    Thanks sir for the qaulty cantent
    Kiep larnig

  • @kkahandal
    @kkahandal Рік тому +30

    I bought a course on Udemy but the creator didn't explain "grep, egrep" with standard examples. That creator gave very few examples. But this UA-camr gave the best examples to understand easily with a series of examples.

  • @JustForFun-xs3ko
    @JustForFun-xs3ko 3 місяці тому

    Thanks for the useful video. Kindly make a video on greping through zip and tar files using zgrep, etc. Also on log analysis and debugging.

    • @MPrashant
      @MPrashant  3 місяці тому

      I have covered in this video..
      ua-cam.com/video/gkQHAy6Zdrg/v-deo.html

  • @Monasvlogmode
    @Monasvlogmode Рік тому +1

    Broooooo supbbbb.... 👏🙏

  • @jairammodi5431
    @jairammodi5431 3 місяці тому

    thanks for explanation. easy to understand. how we can search in multiple zip file?

  • @bhushandhande4666
    @bhushandhande4666 6 місяців тому +1

    Bhai, your teaching skills are excellent. covering each and every point.
    one doubt, how to search for keyword in zip files / multiple zip files ?
    i usually need to search keyword in zip files.

    • @MPrashant
      @MPrashant  6 місяців тому

      Thanks for the feedback!
      You can use zgrep for the zipped files

  • @vilen7856
    @vilen7856 8 місяців тому +1

    ❤🎉

  • @pruthirajjenamani437
    @pruthirajjenamani437 3 місяці тому +2

    great explanation clear all doubts

    • @MPrashant
      @MPrashant  3 місяці тому

      Glad to hear that!

  • @saadahmadparacha
    @saadahmadparacha 9 місяців тому +1

    Brother your videos is very helpfull to me. I am learning Linux by watching your videos. Thsnks

  • @wanderer_chethan3549
    @wanderer_chethan3549 5 місяців тому +1

    You are doing great work to the society !! Just fan of you and your dedication towards teaching !!

    • @MPrashant
      @MPrashant  4 місяці тому

      It's my pleasure!!

  • @bhargobboro8417
    @bhargobboro8417 2 роки тому +3

    Thank you for teaching!😊

  • @ageshalbhandare2487
    @ageshalbhandare2487 7 місяців тому +1

    ....Sir your learning style is Better than colleges teachers

    • @MPrashant
      @MPrashant  7 місяців тому

      Thanks for the feedback!

  • @yuvrajyadav8158
    @yuvrajyadav8158 9 місяців тому +1

    Classy explanation sir...
    Hats off

  • @prakashkankal3606
    @prakashkankal3606 6 місяців тому +2

    i am deploma student and this videos helps me to getting output for my practical manual thankyou so mach to create just amezing contant

    • @MPrashant
      @MPrashant  6 місяців тому

      Keep learning and keep growing!!

  • @dirtydeeds5093
    @dirtydeeds5093 2 роки тому +2

    You are a saviour bhai

  • @ManishSoni-m6v
    @ManishSoni-m6v 7 місяців тому

    Hi Prashant

  • @TigerHills
    @TigerHills Рік тому +1

    Prashanth bhai .. zabardast samjhare aap !!!

  • @harshsharma3698
    @harshsharma3698 Рік тому

    make proper playlist on ansible please

  • @vaibhavjadhav800
    @vaibhavjadhav800 2 роки тому +2

    Really helpful!!!

  • @keshavakumar9828
    @keshavakumar9828 8 місяців тому +1

    Thank you bhai 23 min mai khuch naya sheek liya maine.

    • @MPrashant
      @MPrashant  8 місяців тому

      Glad to hear that!!

  • @sirajahmad6194
    @sirajahmad6194 2 роки тому +1

    Very Helpful video. Thank you

  • @88anand1
    @88anand1 2 роки тому +2

    Very helpful...Keep up the good work

  • @Chintu_The_Mystic
    @Chintu_The_Mystic Рік тому +1

    Super bro its a great learning ❤

  • @pawaryash007
    @pawaryash007 Рік тому +1

    Very much detailed cases of grep command. Thank you !!

  • @amolkachare4586
    @amolkachare4586 2 роки тому +1

    Excellent sir ... thank you for making on grep video 👌👌

    • @MPrashant
      @MPrashant  2 роки тому

      Thank you, Glad it was helpful!

    • @amolkachare4586
      @amolkachare4586 2 роки тому +1

      @@MPrashant yes sir 👍 these videos really useful for me because Now I am doing software testing course so it's helpful for me... Thank you sir

  • @shivadasdey7019
    @shivadasdey7019 Рік тому +1

    You explain very nicely but a small suggestion from my side is zoom your screen while teaching.becz not able to see your terminal 😌

    • @MPrashant
      @MPrashant  Рік тому

      Thanks for the feedback and suggestion 😀

  • @Altruist-lk3
    @Altruist-lk3 Рік тому +1

    Great effort sir...the way you are explaining is splendid..👍

  • @arshadqureshi5997
    @arshadqureshi5997 2 роки тому +1

    Thank You Brother..

  • @DBDilipOnly
    @DBDilipOnly Рік тому +1

    Good content , thanks

  • @amitpadhy6413
    @amitpadhy6413 2 роки тому +1

    Yes 👍👍👍 I luv 🍇🍇
    Create one video for the FIND command.
    Thanks 🙏

    • @MPrashant
      @MPrashant  2 роки тому +1

      FIND Command video already uploaded - ua-cam.com/video/QEwfMpgxQIU/v-deo.html

  • @sandipmandavkar5037
    @sandipmandavkar5037 Рік тому +1

    Apke jaisa details me koi nahi shikata thank you 😊❤️‍🔥 or subscribe bhi kar diya channel ko 😉

    • @MPrashant
      @MPrashant  Рік тому

      Thank you for the feedback!

  • @sayedhssain702
    @sayedhssain702 7 місяців тому +1

    Really nice...Bhai
    But Bhai ek request thi....kya aap apni wo file provide kr skte hai.. discription me...jisse aap practice krwa rhe hai.... kyunki mere paas aisi koi file nhi h...aur banaunga to bahut time lagega.....

    • @MPrashant
      @MPrashant  7 місяців тому

      Thanks for the feedback!,
      Just use this online tool extendsclass.com/csv-generator.html
      to create file on a click :)

    • @sayedhssain702
      @sayedhssain702 7 місяців тому

      @@MPrashant thank you...mai chala practice krne🤓

  • @mozammilahmad8431
    @mozammilahmad8431 Рік тому +2

    No doubt you are explaining very well... Will pray for you to reach millions of subscribers

    • @MPrashant
      @MPrashant  Рік тому

      Thank you so much for your wishes!

  • @monicabn3067
    @monicabn3067 Рік тому +3

    Best man! Top notch explanation with scenarios 🎉

  • @sushrutwadnerkar5803
    @sushrutwadnerkar5803 Рік тому +2

    Amazing session! 👏

  • @ambadasbhise4878
    @ambadasbhise4878 2 роки тому +1

    Nice teaching 👍

  • @externalpoint861
    @externalpoint861 3 місяці тому +1

    bhaiya zgrep; mujhe interview me puch liya ye😢😢

  • @bhagyashripatil8528
    @bhagyashripatil8528 Рік тому +1

    Wonderful session

  • @pythonadda3718
    @pythonadda3718 2 роки тому +1

    Very helpful sir ji

  • @devendrashamradholpur4675
    @devendrashamradholpur4675 2 роки тому +1

    awesome video sir

  • @prashantgabhane454
    @prashantgabhane454 2 роки тому +2

    Thanks sir ji

  • @rohitchamle6556
    @rohitchamle6556 Рік тому +2

    Thank you so much sir your all videos and concepts was very clearly explain 👍👍👍
    Again Thanks for sharing this beautiful series it was very beneficial for me

    • @MPrashant
      @MPrashant  Рік тому

      Thanks for the feedback!
      Glad to hear that :)

  • @sirajahmad6194
    @sirajahmad6194 2 роки тому +1

    Thank You ☺

  • @lalitrao9897
    @lalitrao9897 2 роки тому +1

    Very helpfull

  • @AbdultalibShiekh
    @AbdultalibShiekh Рік тому +1

    Sir vmware related lecture (tutorials ) bhi upload kre na

  • @nileshnimje2534
    @nileshnimje2534 2 роки тому +1

    Another awesome tutorial Sir....😇😍😊

  • @vishaldeshmukh1166
    @vishaldeshmukh1166 2 роки тому +5

    Hello... Can you please detailed video on Deployment? I'm watching you videos and are explaining it very well.. Thank you!!

    • @MPrashant
      @MPrashant  2 роки тому +2

      Thanks for the feedback!
      I will try to make one soon on deployment

    • @vishaldeshmukh1166
      @vishaldeshmukh1166 2 роки тому

      @@MPrashant Thank you, eagerly waiting for your video!!! 🙂

  • @kamakshipharkare
    @kamakshipharkare 2 роки тому +1

    Thank you sir ..

  • @farazmobin2776
    @farazmobin2776 11 місяців тому +1

    probably the best video ever seen on grep sharing it on twitter.

  • @extraSALT..
    @extraSALT.. Рік тому +2

    ♥️

  • @manishchaudhari1510
    @manishchaudhari1510 Рік тому

    How to search a file only using keyword .
    But you have used the file name with -l. [opation]

  • @pivot3india
    @pivot3india 2 роки тому +1

    Great content !!

  • @abadhutadas571
    @abadhutadas571 Рік тому +1

    Great 👍

  • @imharry404
    @imharry404 Рік тому +1

    Great 🤗🤗

  • @amolkachare8191
    @amolkachare8191 2 роки тому +1

    Thank you sir...... Sir please can you make on Fgrep command video

  • @jay-hu4xn
    @jay-hu4xn 8 місяців тому +1

    Very helpful video, good explanation with examples

  • @RahulBhatia-py1iv
    @RahulBhatia-py1iv Рік тому +1

    Superb bhai

  • @akshayborse3127
    @akshayborse3127 2 роки тому +3

    Waiting for your famous line " Hi dosto ki haal chal"...Thanks bro!!! for removing that background music now more clear..Very Excellent explanation!! Keep going.. Thanks 🙂👍🏻

    • @MPrashant
      @MPrashant  2 роки тому +2

      Thank you so much 😀
      Appreciate your feedback about background music,,,
      I will bring back that line in the next video - " Hi dosto ki haal chal".

    • @akshayborse3127
      @akshayborse3127 2 роки тому +1

      @@MPrashant 😃👌🏻👌🏻

  • @LIFE-hm8wp
    @LIFE-hm8wp 7 місяців тому

    In a directory no. of files having same values taken for a parameter..How to grep this data in a single txt file?

  • @Harsh-yj9ly
    @Harsh-yj9ly 2 роки тому +1

    Sir your teaching way is very good
    Could you please make one playlist for awk command for bigners

    • @MPrashant
      @MPrashant  2 роки тому

      Thanks for the feedback.
      I will try😊

  • @gauravmishra7591
    @gauravmishra7591 Рік тому +1

    GREAT CONTENT. PLEASE MAKE DETAILED VIDEO ON SHELL SCRIPTING

    • @MPrashant
      @MPrashant  Рік тому

      Thanks!
      Already uploaded on channel - ua-cam.com/video/M6nZpfIIFEM/v-deo.html

  • @yogibrijkumar
    @yogibrijkumar Рік тому +1

    Wonderful tutorial.
    Please make another video for awk command.

  • @rajesh1979100
    @rajesh1979100 2 роки тому +1

    very good... pls share vmware videos linux

  • @rajnaik8385
    @rajnaik8385 Рік тому +1

    Best video❤

  • @faizanahmad3539
    @faizanahmad3539 2 роки тому +1

    Hi brother/sir
    Really great work, full support to you keep going😊🎉

  • @nishitnathvaniblogger1572
    @nishitnathvaniblogger1572 Рік тому +1

    can i find his video on awk and sed command?

    • @MPrashant
      @MPrashant  Рік тому +1

      SED - ua-cam.com/video/ETF6CapGAvc/v-deo.html
      AWK - ua-cam.com/video/dcF5Rqw_VZ4/v-deo.html

  • @mdadnan4156
    @mdadnan4156 2 роки тому +1

    Failed to establish connection a raha hai jab file ko put kiye to

    • @MPrashant
      @MPrashant  2 роки тому

      login successfully ho gya h but file transfer ni ho rhi, right?
      can you paste here full error message you see

  • @subhrajitsaha1515
    @subhrajitsaha1515 2 роки тому +1

    Sir can you give some practice Questions

  • @amanvikram04
    @amanvikram04 4 місяці тому

    Bro I have one requirement where I need to search in the file from two keyword pattern, means I need to get only the lines from two given keyword, any idea how to get that?

  • @hemantkakade4640
    @hemantkakade4640 2 роки тому +1

    Hello,
    Can you please make video on shellscripting in detail

    • @MPrashant
      @MPrashant  2 роки тому

      Already uploaded two videos
      Part1 - ua-cam.com/video/M6nZpfIIFEM/v-deo.html
      Part2 - ua-cam.com/video/VAGVFfkE-kQ/v-deo.html
      Please let me know if you are looking for additional topics, so I can cover in next part

  • @princessagent6377
    @princessagent6377 Рік тому

    Hello sir..
    I am watching your videos regularly..thay
    Grep -f not working

  • @swamivivekananda-cyclonicm8781

    Comprehensive

  • @amandeepsingh7873
    @amandeepsingh7873 2 роки тому +1

    Kindly linux web server security topic par vedio bnaye kese hum linux server ko secure kr skte hey. Thanks

  • @bharathphotography1947
    @bharathphotography1947 Рік тому +1

    Awesome 🖤🤍

  • @surajjha2900
    @surajjha2900 2 роки тому +1

    Can you one video on SSH

  • @sayedhssain702
    @sayedhssain702 7 місяців тому

    Bhaii ek aur problem ho rahi hai....mere paas Linux mint version hai...usme su - me password sahi enter krne pr bhi... authentication failure bata raha hai... mujhe uska solution nahi mil rha kya kru... help me

  • @piyushverma5417
    @piyushverma5417 Рік тому +2

    brother, how we can count a word in a line?

    • @MPrashant
      @MPrashant  Рік тому +1

      one way is to first select a line using awk or sed then using wc we can get words

    • @piyushverma5417
      @piyushverma5417 Рік тому +1

      @@MPrashant i didn't want to count the words in the line, i want to count a word in a line.

  • @rohitchamle6556
    @rohitchamle6556 Рік тому +2

    Thanks it means a lot for your support and guidance for youth generation 👍

  • @mridulm8870
    @mridulm8870 Рік тому +1

    Please provide us pdf of commends and it's meaning n fullform

  • @VireshNavtake
    @VireshNavtake 7 місяців тому

    dada , main ubuntu 22.04 use krta hu , usmain jb home directory jidhr located hai udr hi nye folders bnate hai automayically such as downloads , wallpapers , snap . mtlb user ki home directory main nahi bnte , kya kru?

  • @jijigaonkar4597
    @jijigaonkar4597 Рік тому

    Plz share csv files for practice purpose

  • @gouravdalavi9196
    @gouravdalavi9196 2 роки тому +1

    hii brother, can we use grep command on a zip files

    • @MPrashant
      @MPrashant  2 роки тому +1

      with zip file you can zgrep
      zgrep test.tgz
      Note: It will not give you output from file because file is already compress to binary
      It will only show if the string/pattern is present inside the file (you can also use exit status $? to check the result)

  • @viratsharma8036
    @viratsharma8036 Рік тому

    since you don't share the csv file this video is pretty much useless.

    • @MPrashant
      @MPrashant  Рік тому

      check in description first

    • @viratsharma8036
      @viratsharma8036 Рік тому

      @@MPrashant I can't see any files in description. Why don't u share them?

    • @MPrashant
      @MPrashant  Рік тому

      Link for the Slides - docs.google.com/presentation/d/1KimpyPD9_RYY2-zjMt9V1_2s9e0QPSnrYsk5F1jTrDs/edit?usp=sharing

    • @viratsharma8036
      @viratsharma8036 Рік тому

      @@MPrashant I am asking for the csv1 file you used to illustrate grep.

    • @MPrashant
      @MPrashant  Рік тому

      @@viratsharma8036 what do you mean by sharing?? As I already provided the link of the slide

  • @simranbanwait
    @simranbanwait Рік тому +1

    Hello prashant sir, i have this json type data from which i want to extract the WorkspaceId value using grep, can you please help
    .
    {
    "FailedRequests": [],
    "PendingRequests": [
    {
    "WorkspaceId": "ws-cy8dtq8yn",
    "DirectoryId": "d-9067aa9a3a",
    "UserName": "Wolf",
    "State": "PENDING",
    "BundleId": "wsb-9yhf2dn87",
    "VolumeEncryptionKey": "045fe37b-5dec-4273-b6b0-ae225aa3001b",
    "UserVolumeEncryptionEnabled": true,
    "RootVolumeEncryptionEnabled": true
    }
    ]
    }
    .

    • @MPrashant
      @MPrashant  Рік тому

      you can try
      grep -i "workspaceid" json.txt | awk -F: '{print $2}'