Linux Terminal Commands: Pipes and Redirection

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • You can use pipes and redirection from a Linux, Unix or macOS terminal to control where the output from a program goes. For pipes this means that the output becomes the input for another program. Whereas redirection allows you to send the output of a program to a file.
    Introduction to Android app development. Everything you need to know to get started: www.dgitacadem...
    Twitter: / garyexplains
    Instagram: / garyexplains

КОМЕНТАРІ • 68

  • @prem888you
    @prem888you 6 років тому +28

    Clear explanation. Easy to understand

  • @KingEbolt
    @KingEbolt 6 років тому +7

    Good evening professor. Really love your Linux and Programming explanations, I hope you can do more.

  • @bigmacbeta
    @bigmacbeta 6 років тому +7

    Pipes make Linux infinitely more powerful than Windows. Thanks again Gary.

    • @seanc.5310
      @seanc.5310 6 років тому

      Ben Durance Absolutely! Pipes make terminal so powerful for logically sending things to new locations.

    • @jagardina
      @jagardina 6 років тому +3

      Actually, DOS added pipes at some point. Microsoft is great at copying success. If you use the powershell they even have the ls command. But why use an impersonation of a great operating system when you can use the original for free?

    • @pranav8937
      @pranav8937 6 років тому +1

      power shell terminal of windows is also very powerful... can do all the commands in it.
      And it is not copying, the terminal commands have become a general trend in all bash

    • @iron4us
      @iron4us 3 роки тому

      @@jagardina Well, you know... Because people want everything on a silver platter?

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

    You are an angel in this hard time of mine. Thank you 🤩

  • @1MarkKeller
    @1MarkKeller 6 років тому +11

    *GARY!!!*
    *Good Morning Professor!*

    • @GaryExplains
      @GaryExplains  6 років тому +8

      Morning Mark!!!! First in class today!

    • @uttamchandra9726
      @uttamchandra9726 6 років тому +4

      Hiii mark!!!! Good evening!!!! Mate!!!

    • @1MarkKeller
      @1MarkKeller 6 років тому +4

      *ROBBY!!!*

    • @shuhabbasheer3621
      @shuhabbasheer3621 3 роки тому

      Again bot comment or really r u a professor @gary?

    • @1MarkKeller
      @1MarkKeller 3 роки тому

      @@shuhabbasheer3621 I am not a bot

  • @johnnybegood8669
    @johnnybegood8669 5 років тому

    Gary Explains in a pretty clear manner

  • @glendrake9268
    @glendrake9268 6 років тому +8

    I'm learning so much from your videos. Thanks! (And thanks for being such a trooper, ouch!)

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

    Thank you very much for this helpful and easy to understand tutorial on pipes and redirection.

  • @uttamchandra9726
    @uttamchandra9726 6 років тому

    Good evening professor !!!!!!! We always gets something to learn from your videos !!!! You're the best professor !!!!!!

  • @j7ndominica051
    @j7ndominica051 5 років тому +1

    Amazing, "append" works also in Windows CMD. I did not know this was possible. Nice ASCII art.

  • @miketholen6208
    @miketholen6208 3 роки тому

    Without a doubt the easiest video to understand. Subbed

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

    thank you Gary! you're the best teacher

  • @RJ_Northeastern
    @RJ_Northeastern 3 роки тому

    MUCH CLEARER THAN OTHERS

  • @kei9611
    @kei9611 3 роки тому

    I wish you are my professor I learned a lot in 9 minutes than in my 3 hours lectures.

  • @Wreighn
    @Wreighn 6 років тому +1

    Why does youtube-dl 'somefburl' -g | vlc not work,
    but manually taking the output of ytdl and pasting it as an arg to vlc works?

  • @venkataravieluri9625
    @venkataravieluri9625 6 років тому +1

    Thanks Gary, This video is very informative.

  • @arkadianriver
    @arkadianriver 6 років тому

    Neat, serendipitous even.. seeing this and a g/re/p with Kernighan on Computerphile on the same day in my sub box. :O) Best invention ever.. this command-chaining thing.. no idea how I'd do my job without it

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

    nice one professory😍

  • @dhyeyzala2888
    @dhyeyzala2888 5 років тому

    really nice video, easily understood the concept, thanks sir

  • @AmosMwase
    @AmosMwase 3 роки тому

    Well explained thanks Gary

  • @Therealbighustle
    @Therealbighustle 4 роки тому

    You explained this very well

  • @SamiurRahmanTonmoy
    @SamiurRahmanTonmoy 6 років тому

    Learned these few months ago! Really great tutorial :)

  • @jakubmarincic7543
    @jakubmarincic7543 6 років тому +5

    When you realize that Gary has 24k subs and some kid reviewing toys has 14 millions..

    • @GarySims
      @GarySims 6 років тому

      Jakub Marincic Tell me about it!!! 😏

    • @alexd3411
      @alexd3411 6 років тому +1

      That’s because people don’t like to learn, most of us are all about entertainment... so if you know how to make people smile or create some emotions, then you are good to go.

  • @krishnadj10
    @krishnadj10 3 роки тому

    Pretty surprised to see you have done this type of videos as well along with videos on new tech!!!!

  • @DenHenson
    @DenHenson 3 роки тому

    thank you for this. Very clear

  • @daveamiana778
    @daveamiana778 3 роки тому

    Clearly explained. Thank you!

  • @dipjyotisarma6927
    @dipjyotisarma6927 4 роки тому

    Well Explained

  • @TheCeglaaa
    @TheCeglaaa 4 роки тому

    Very well explained, thanks!

  • @KeirBriscoe
    @KeirBriscoe 3 роки тому

    You mean the dentist will get rid of your brit accent??? LOL! JK. love your videos. Good content with no bullsh?t

  • @DUANEYAISER
    @DUANEYAISER 6 років тому +8

    What's the best time to make a dental appointment?
    2:30. :-)

    • @arkadianriver
      @arkadianriver 6 років тому +2

      And on which day? How about next Wednesday the, umm...
      $ ncal | grep -e '^We'
      We 4 11 18 25
      ...the 11th :O)

  • @imad9948
    @imad9948 3 роки тому

    awesome

  • @michelkazadi5269
    @michelkazadi5269 3 роки тому

    THANKS

  • @user-wb5ox7nw2u
    @user-wb5ox7nw2u 2 роки тому

    hey gary what's the difference between pip and redirections

  • @viktorsabir4490
    @viktorsabir4490 6 років тому

    Mr.prof. Would please write command you typed in a bar to be obvious in each line to make us seen your command clearly thanks.

  • @gustavomrosas4758
    @gustavomrosas4758 3 роки тому

    really great explanation, but u missed the 0< :). If there is a video you explaining that specific pls link below thanks.

  • @daniahmohammad6101
    @daniahmohammad6101 3 роки тому

    Tysm

  • @galihpa
    @galihpa 6 років тому

    Hi Gary, I like it when you make videos about linux since I'm a linux user myself, but can you at least make a bit more advanced video about it?

    • @GarySims
      @GarySims 6 років тому

      Indonesia I don't know what you mean by "at least" bit leaving that to one side, what type of topics would you consider to be advanced?

    • @seanc.5310
      @seanc.5310 6 років тому

      Seeing as this is not specifically a Linux power user channel, I think he is trying to appeal to more viewers. I think it is a fantastic video to display the power of terminal.

  • @Felix-wh8pz
    @Felix-wh8pz 4 роки тому

    niceee

  • @alenkruth
    @alenkruth 6 років тому

    Gary! Can you suggest any books to learn about Linux 😀😀😀

    • @GaryExplains
      @GaryExplains  6 років тому +2

      What aspects are you interested in? System admin? Software development? Desktop & productivity?

    • @alenkruth
      @alenkruth 6 років тому +1

      Gary Explains Desktop and Productivity will be my first aim! Software development will take some time and practice in programming before I begin

  • @shahin2324
    @shahin2324 5 років тому

    How did you do the intro thing?

  • @seanc.5310
    @seanc.5310 6 років тому

    Excellent video Gary! Sounds like your mouth is getting better since last time. dentists, a necessary evil....