Streams, Redirection, and Piping

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

КОМЕНТАРІ • 33

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

    9 years on, still outstanding content. Thank you.

  • @razzytrt
    @razzytrt 9 років тому +4

    Excellent. Clear language at an appropriate rate, concise explanations, and logically organized. You are an outstanding presenter.

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

    @6:59
    It is a good practice to always escape the "*" symbol.
    In the example given at the 6:59 time stamp, if there was a file named "whatever.conf" in your current directory, then the "find" command would have searched for only "whatever.conf".
    Also, if you happened to have had more than one file, in your current directory, that matched the *.conf pattern, then the "find" command would have complained.
    In other words, if you happened to have "whatever1.conf" and "whatever2.conf", then, due to shell substitution, the shell would have fed the following to the "find" command:
    $ find / -name whatever1.conf whatever2.conf
    So do something like:
    $ find / -name \*.conf
    -- or --
    $ find / -name "*.conf"
    If you do not escape the "*" character, when applying it to commands, then sooner or later you will get burned. And if you are not familiar with this issue, you will be left scratching your head as to why your command is bombing.

  • @IzumiInouemaestro
    @IzumiInouemaestro 9 років тому

    Just started learning about command lines on Codecademy a couple hours earlier and was kind of stuck at piping, thank heavens for this video.

  • @ryanb2505
    @ryanb2505 9 років тому

    I don't usually bother upvoting videos, but this one is awesome.

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

      Really!? You should do it more often, it's very delightful!

  • @ianfebre2355
    @ianfebre2355 8 років тому +2

    Appreciate your tutorials, really really well explained. i would love to see some VI editor tutorials in the future. thanks.

  • @shamanthakrishnakg1978
    @shamanthakrishnakg1978 7 років тому +1

    Exceptional teaching ,Thank you

  • @djsensacion7
    @djsensacion7 9 років тому +18

    Me@Learning-Linux ~$ echo A very good tutorial by JasonWertz his explanations were clear and concise. > Thank-You.txt

  • @eladorable
    @eladorable 9 років тому

    Thank you. Very well done video. Know that your effort is appreciated.

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

    Do you recommend any books on in-depth Linux? You've done a great job explaining, thank you.

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

      Steven Tsao Linux bible available in amazon

    • @dailymeditation3153
      @dailymeditation3153 5 років тому +2

      Steven Tsao wrote this comment so he can sell you his book 😂

    • @mhfd9042
      @mhfd9042 3 роки тому +1

      I wrote this so u all can see

  • @nevraXmike
    @nevraXmike 10 років тому

    awesome awesome articulate explanation i'm so glad I *found hahah your video. please make more

  • @1BAmir
    @1BAmir 4 роки тому

    Thank you!

  • @m13m
    @m13m 9 років тому +2

    can you make some videos on assembly programming

  • @thotamounika5633
    @thotamounika5633 7 років тому

    Thank you. Great Videos :)

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

    Hi Jason, do you have a link or website that contains all your videos? thanks

  • @mistery4437
    @mistery4437 8 років тому

    Two Thumbs Up!

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

    /dev/null = Black Hole

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

    SUBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBED!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @sunirmalmukherjee3105
    @sunirmalmukherjee3105 7 років тому +1

    I have a doubt....i don't understand the purpose of xargs.....

  • @j.h.6672
    @j.h.6672 4 роки тому

    I did not quite get what's the difference between:
    find / -name *.conf | xargs wc -l
    and
    find / -name *.conf | wc -l

    • @j.h.6672
      @j.h.6672 4 роки тому

      I think I got it:
      find / -name *.conf | wc -l
      will output the number of all *.conf lines
      find / -name *.conf | xargs wc -l
      will show the number of lines in each *.conf file.

    • @Studio-nn3do
      @Studio-nn3do 4 роки тому

      @@j.h.6672 yeah, if you use
      find ~/Videos "*.mp4" | xargs mpv
      It will play the mp4 video instead of trying to play the name of the mp4 file

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

    5:51 cat command - to combine files,
    had to... I want to remember where to find this example_V-much