Tee Command in Linux - with examples

Поделиться
HTML-код
  • Опубликовано: 7 июн 2024
  • Tee Command in Linux - with examples
    So the tee command line utility allows you to spur off from your current command pipeline at a given point and write to a file, while allowing you to continue with your pipeline.
    Some common uses for tee include downloading files and computing hashes, while the file is downloading. So you can confirm against a provided hash that the file wasn't corrupted during download.
    Another common use for tee is to watch the output of your command pipeline while you are also saving the output to a file for later reference. Watching logs is like clock watching, sometimes you just need a summary of the data in your pipeline once it completes doing whatever it is doing.
    You can use tee for this too. So at the end of your pipeline if you pipe into tee you can save the output for later reference and pipe on to some other utilities to calculate a summary, like count the number of lines processed etc.
    Subscribe: ruclips.net/user/linuxlee...
    Blog: www.linuxleech.com
    Twitter: / linuxleech
    Facebook: / linuxleech
    Google+: www.gplus.to/linuxleech
  • НаукаНаука

Комментарии • 15

  • @pawekoaczynski4505
    @pawekoaczynski4505 2 года назад +4

    The animation at the beginning was all I needed to get the gist of it

  • @asaskald
    @asaskald 2 года назад

    This video was my cup of tea. Thanks!

  • @TanmayJoshi82
    @TanmayJoshi82 5 лет назад +2

    Great! Thanks for the video.

  • @rvprksh
    @rvprksh 3 года назад +1

    Good visual explanation.

  • @Diarougha27
    @Diarougha27 4 года назад +12

    Nice video but explanation too fast . It's better you slow down and explain it slowly .
    Remember you are talking to a crowd to whom many are new to Linux.

    • @linuxleech
      @linuxleech  3 года назад +4

      You can always watch at half speed.

  • @spaceiswater6539
    @spaceiswater6539 5 лет назад

    Thank you so much :)

  • @euphoria6975
    @euphoria6975 2 года назад

    Thanks, simply put. This was described overly complex by my course lol

  • @AnandKumar-dc2bf
    @AnandKumar-dc2bf 3 года назад +1

    Nice graphic work

  • @Haxr-dq6wt
    @Haxr-dq6wt 2 года назад

    Why you don't have 1M yet???

  • @wenxiyue541
    @wenxiyue541 4 года назад +1

    really enjoyed the typing sound....

  • @coldbluemptybottle
    @coldbluemptybottle 3 года назад

    I just realize that I can't do this in Windows. Is there any workaround? Logging cmd consoles outputs.

    • @georgplaz
      @georgplaz 3 года назад

      install a linux shell on windows

  • @pra168
    @pra168 Год назад +1

    too fast. i didn't understand anything! :(

  • @darnellg8599
    @darnellg8599 3 года назад +2

    Explanation is too general. Not good for someone who has literally NEVER USED TEE.