Linux PIPES and REDIRECTS: Command Line Ninja Skillz

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

КОМЕНТАРІ • 40

  • @caseygewirtzman5648
    @caseygewirtzman5648 4 місяці тому +7

    Hey Shawn, I've been studying for Linux Essentials for about six months or so (I had zero experience with Linux beforehand) and your videos have been a game changer for me! I feel like I learn more from one of your 15min videos than I do from an hour of reading the LPI study guide (nothing against the LPI, but the material's not easy to read through). Thank you so much for making these videos and lending your knowledge to people like me.

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

    I knew most of the commands but I stayed for your enthusiasm and super clear forward explanation, looking forward to dive into your other videos of your channel!

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

    planning on taking my exam this Thursday, rewatching some of your videos again... very helpful.. thank you so much man!

  • @VeronicaBrandt
    @VeronicaBrandt 2 роки тому +7

    Thanks Shawn, that's a great refresher on pipes and redirects. I hadn't come across 2>&1 before. Good format, having the slides before diving into the command line.

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

      Thank you! My hope was that it wasn’t too redundant, but it’s sort of a tough thing to grasp, so I figured slide + hands on might be appropriate.

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

      Ditto. Great refresher on PIPES/REDIRECTS. Very well explained.

  • @JamesCallender-b5m
    @JamesCallender-b5m 7 місяців тому +1

    still watching these videos exam countdown thank you for these videos. Watching this for the 2nd time right before my exam.

    • @softballfj
      @softballfj 4 місяці тому +1

      how did you do on your test?

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

      @@softballfj pass not a bad exam. Currently in python course it is no joke.

    • @softballfj
      @softballfj 4 місяці тому +1

      @@jamesc4343 I’m just curious what type of questions are on the exam - are they just asking you to pick the appropriate or type the appropriate command / do they ask about fsf and OsI … there is so little info avalible .. I test on Saturday so any hint will help please 🥺

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

      @@softballfjjust seeing this but yea multiple choice im sure u already passed!

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

    went to your website and read your story. Very moving. You are an inspiration and I pray the Lord continues to bless you and your family.

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

    It is funny I have been using linux on and off for years. Yet I have learned so much from these videos. I have used the 2> /dev/null for years and knew it was to send things to null file but had no idea really how. Your videos are the best.

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

    love this series! This video has me more lost than when I started

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

      Yay! And… oh dear. :) (hopefully the series as a whole is less loss-inducing, lol)

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

      @@shawnp0wers this is a great series. your explanations are great

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

    This is great ! Thank you I'd be lost in my class if it wasn't for your video

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

      I’m so happy to hear that, thank you!

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

    Thank you so so much for these detailed videos, they are more helpful than you can imagine! Or well, you learnt linux yourself so I'm sure you do imagine. Regardless, thanks again!

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

    Great content, Shawn . I am starting to understand pipes. It was a better lesson than Network Chuck's on pipes. Gave you a thumbs up!

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

      Thanks Scott! Like I said in the podcast with Chuck -- it's really great to have multiple teachers covering the same topics. Sometimes a different take works for different people. And usually being taught in multiple ways makes you REALLY understand a topic. :)

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

    The "cat ouptut.txt 2>&1 | less" actually made a lot of sense. Especially as silly as it sounds with the arrows. Your course is super easy to follow and is actually giving me the confidence to work in linux and work on all my linux certificate goals. Thank you for this course. I'm looking forward to you finishing posting your linux plus course.

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

    Hey Shawn, I'd like you to ask about the sequence 12:26-12:34 - you're saying that the stderr is redirected to stdin. I guess you meant to say stdout, right? Happy to hear back!

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

    Hey Shawn love the videos, trying to follow along but whenever I try the "echo "hello" > output.txt command, I get a permission denied response. Not sure what Im doing wrong

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

      You must be in a directory that you do t have permission to write into. Try typing “cd” and enter to get back to your home directory, and give it a try there.

  • @kyleburhoe4432
    @kyleburhoe4432 Місяць тому

    Would you ever consider doing an LPIC-1 course?

  • @Deven210
    @Deven210 10 місяців тому

    Hey Shawn, I really want to be some kind of Linux system administrator. I’m currently at wgu, and one of my classes includes getting this cert. over the past year of doing Linux I’ve quite enjoyed it. I also currently work in an IT specialist role. I’ve got two years of experience with things like MECM, Active directory etc. do you think there are decent beginner roles in Linux? Or should I peruse other Linux certifications as well?

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

    Thanks for this video🎉

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

    I know this is a few months old, but you can pipe stuff places in Windows as well. Doesn’t take away from the coolness of Linux.

  • @DrWhomstdve1096
    @DrWhomstdve1096 10 місяців тому

    So if you wanted to make an error log file, would you do “COMMAND 2>> error.txt” for it to not overwrite itself?

  • @FredericBoers
    @FredericBoers 10 місяців тому +1

    where did we use the less command before??

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

    شكرا Thanks

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

    What is this heresy?!?!? Pipes = UNIX not L****x!

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

      I must admit, I've never heard that argument before. And I answered Letters to the Editor at Linux Journal for YEARS. (Mainly because most letters were about something I'd written, lol)

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

      Wait, Linux has a journal?

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

    cat opout.txt | less and cat opout.txt 2>&1 | less had the same result for me on ubuntu.

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

      That makes sense. In the first instance, you're redirecting STDOUT into less, which will allow you to browse it with the less program.
      In the second command, you're redirecting STDERR into STDOUT, and then STDOUT into less.
      The only difference is that if there was an error (like if opout.txt didn't exist), the error would print on the screen in the first example, and it would be displayed inside the less command in the second. Hopefully that makes sense...