Linux Crash Course - Data Streams (stdin, stdout & stderr)

  Рет қаралды 56,217

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 79
@clblanchard08
@clblanchard08 3 жыл бұрын
I've been using linux for years and never really understood this. Thank you so much!
@andymann6061
@andymann6061 3 жыл бұрын
Same here - I was grappling with it just a couple of days ago, but Jay explains it perfectly.
@RayBitton
@RayBitton 3 жыл бұрын
And that's why I'm proud of myself... I never think I know everything. I'm a linux administrator as part of my day job and I think I got a good amount of experience with the command line but reading the title of the video made me think "Maybe I'll learn something new about stdout and stderr". I wasn't wrong. "find /etc -type f > ~/results.txt 2> ~/errors.txt" Never knew or thought about splitting the streams. THANK YOU FOR THAT! So useful.
@paulojsilva__
@paulojsilva__ 11 ай бұрын
You miss 2>&1 to redirect both output (stdout) and errors (stderr) to same file like find /etc/ -type f > ~/all_results.txt 2>&1
@FigueMonk
@FigueMonk 3 ай бұрын
I'm here because of the bandit7 game from OverTheWire. I never thought learning Linux would be so interesting. Great video.
@piusvictor8780
@piusvictor8780 3 жыл бұрын
You are teaching style is amazing brother ✨✨✨ one love from Tanzania, thanks for sharing, your tutorial are highly recommended to anyone interested with learning Linux.
@egysnet
@egysnet 3 жыл бұрын
Although I know most of what you're talking about, I enjoy watching the explanation
@saharnosrati-h9d
@saharnosrati-h9d 2 ай бұрын
Very nice explanation. Thank you for your teaching method in the simplest way.
@sgt.chutney5206
@sgt.chutney5206 3 жыл бұрын
Another awesome video Jay, you are a great teacher. I would love to see a beginners guide to regular expressions. Thanks!
@hugog.cintra2573
@hugog.cintra2573 3 ай бұрын
This was incredibly clear. Thank you for the content!
@itay1207
@itay1207 2 жыл бұрын
YOUR EXPELTAION WAS SO CLEAR AND GOOD.WAS EASY TO UNDERSTAND !THANKS
@sabinalefebvre6567
@sabinalefebvre6567 14 күн бұрын
Thanks loads for your explanation, clear and very very comprehensive Thanks be always bless
@polliluiz
@polliluiz 2 жыл бұрын
You’re amazing Jay. Thank you for all of your videos. It’s really the best
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
No. YOU are amazing.
@nitinnamdev5627
@nitinnamdev5627 2 жыл бұрын
I am very interested in Linux. while seeing the > /dev/null i am very confusing what is it ? Now i am fully understand . Thank you
@jacekkieblesz655
@jacekkieblesz655 Жыл бұрын
Very good explanation ,really very good teacher
@TheRexhim
@TheRexhim 8 ай бұрын
Thank you! I needed clarification on this!
@ahmed-osama2022
@ahmed-osama2022 Ай бұрын
Very helpful video, Thanks a lot 😊
@DL-xf3ur
@DL-xf3ur 2 жыл бұрын
Awesome as always Jay! Thanks!
@surkewrasoul4711
@surkewrasoul4711 Жыл бұрын
This man is smart. He knows some physics.
@anthonyverzosa1292
@anthonyverzosa1292 Жыл бұрын
Thank you very much for this wonderful lesson.
@Andy.N-_-
@Andy.N-_- 3 жыл бұрын
Love these vids that teach me some of the basics we keep forgetting well done and thank you
@davehodsdon3533
@davehodsdon3533 Жыл бұрын
Great information. Thank you, Jay.
@jyvben1520
@jyvben1520 3 жыл бұрын
Could do your testing while using a live cd, nothing to break (do not mount the installed system) expect a follow up about what todo with $? in scripts ...
@tilla455
@tilla455 2 жыл бұрын
Great tutorial again. Thank you! Your videos have helped me with work on a daily bases
@nicolasrenard2551
@nicolasrenard2551 2 жыл бұрын
Very good video. More details about standard input would be great.
@devbites77
@devbites77 3 жыл бұрын
Great vid as usual. Any chance of a video on bash special params: $*, $@, $#, $$, $!, $?, $-, $_ And how they are used?
@codeai4178
@codeai4178 Жыл бұрын
I can't thank you enough for these videos sir.
@paulojr1384
@paulojr1384 2 жыл бұрын
@jorgepadron2426
@jorgepadron2426 3 жыл бұрын
Excellent, as always!
@kwangee
@kwangee Жыл бұрын
This topic is seriously useful 👏. I always saw and don't understand 1> 2> in GitHub repo sh file 😂
@greob
@greob 3 жыл бұрын
I was expecting you to talk about how to output both stdout AND stderr to a file. For anyone wondering we do it like this: find /etc -type f > combined.txt 2>&1
@jyvben1520
@jyvben1520 3 жыл бұрын
not working on raspberry pi, "> combined.txt 2>&1" does work.
@greob
@greob 3 жыл бұрын
@@jyvben1520 yeah it's possible some shells parse it differently, and I suppose that is the correct way of doing it. I'll edit my original comment.
@udayarpandey3937
@udayarpandey3937 3 жыл бұрын
Hello Jay, can you make a series based on real-time project you have worked with? That would be really great. Thank you.
@dfurmans
@dfurmans 3 жыл бұрын
Thanks for a great clarification!
@AplusWiFiSystems
@AplusWiFiSystems 9 ай бұрын
Thank you >> GREAT TUTORIAL
@hoanglinhngodoan364
@hoanglinhngodoan364 2 ай бұрын
thank you !
@gurudayal5743
@gurudayal5743 2 жыл бұрын
as you mentioned about writing a script for sending an email for error or success. How do we do that ,where can I find such script? kindly help
@13thravenpurple94
@13thravenpurple94 2 жыл бұрын
Great work! Thank you
@spcharrison9075
@spcharrison9075 3 ай бұрын
you are a godsend
@LeekFree
@LeekFree 11 ай бұрын
Awesome! Thank u!
@kellychristus2496
@kellychristus2496 10 ай бұрын
Is there any way to catch stdin 0 and place it into a file like stdout 1 and stderr 2?
@louiseantwine3569
@louiseantwine3569 Жыл бұрын
0:38 how do I add a splash screen
@deedoi
@deedoi 11 ай бұрын
Nice and clear explain, thank you so much! :))
@wznzgq1354
@wznzgq1354 4 ай бұрын
so how do i actually use `stdin`?
@ugola1
@ugola1 9 ай бұрын
Amazing!
@evodefense
@evodefense 11 ай бұрын
thx
@perminusgaita
@perminusgaita Жыл бұрын
This is amazing🔥
@inestimable7276
@inestimable7276 2 жыл бұрын
Thank you so so much !!!!
@withanaarachchi956
@withanaarachchi956 3 жыл бұрын
Many thanks.
@jonemiller9603
@jonemiller9603 2 жыл бұрын
Does Linode have training modules ?
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
There's some being created right now, some of which by me :) Stay tuned...
@jonemiller9603
@jonemiller9603 2 жыл бұрын
@@LearnLinuxTV got it. Do you know what other websites have training modules ?
@mohammadmurtazanaiemy7503
@mohammadmurtazanaiemy7503 2 жыл бұрын
Its useful thank you so much
@SrRunsis
@SrRunsis 2 жыл бұрын
magnificent videoo!! thxx
@yazou123
@yazou123 2 жыл бұрын
Thanks a lot
@TariqMehmood-1307
@TariqMehmood-1307 3 жыл бұрын
I am your subscriber / fan from Pakistan 🇵🇰
@JorgeEscobarMX
@JorgeEscobarMX 3 жыл бұрын
Great video, but why disable dislikes? -- Update: nevermind I see youtube did it.
@patricknelson
@patricknelson 3 жыл бұрын
Yeah it’s really detrimental for people looking for high quality content like this. For example, I can still see dislikes right now (due to gradual rollout), and this video has only 1 dislike with 412 likes.
@fullstack_journey
@fullstack_journey 3 жыл бұрын
it's because KZbin is run by incompetent fools
@goodboy8833
@goodboy8833 2 жыл бұрын
@@fullstack_journey Like u
@wambamcamcam
@wambamcamcam Жыл бұрын
They did it because of the massive amount of dislikes from a Biden speech... Js..
@GooogleGoglee
@GooogleGoglee 3 жыл бұрын
And what if you want to send stout and stderr at the same time to the same file without repeating the file twice in the command line?
@BigBlueMotors
@BigBlueMotors 3 жыл бұрын
See NJUL's comment.
@themedleb
@themedleb 3 жыл бұрын
find /etc -type f > combined.txt 2>&1
@krishnapillai6157
@krishnapillai6157 3 жыл бұрын
Jai shri ram sir i like your indepth technical skills. 🚩🇮🇳
@marcin2x4
@marcin2x4 Жыл бұрын
I noticed that running `find /etc/ -type f 2> /dev/null` still prompts 1 when running `echo $?` As always, awsome content! These tutorials are on my top-list!
@MuhammadNadeem-hi1ik
@MuhammadNadeem-hi1ik 2 жыл бұрын
$ Thanks
@aleksic1234
@aleksic1234 3 жыл бұрын
im one of the first
@themistoclesnelson2163
@themistoclesnelson2163 2 жыл бұрын
Comment
@MaheshKumar-bg5re
@MaheshKumar-bg5re 9 ай бұрын
Are you doing meditation? i saw Buddha statue ...
@AbdulRafay-vi6hz
@AbdulRafay-vi6hz 3 жыл бұрын
Hey, Love your topic but here is an advice for you, Don't get mad, it's up to you to take it. Please don't make you videos like a lecture in a class room, make then light and make it fun for other to learn, Don't be a teacher from year 1890, be cool.
@AriannaEuryaleMusic
@AriannaEuryaleMusic 3 жыл бұрын
I actually like Jay the way he is, direct and to the point (No clowning around) plus he is very clear, to me is really fun... Perhaps you might like the arrogance of Luke Smith videos... I don't.
@AbdulRafay-vi6hz
@AbdulRafay-vi6hz 3 жыл бұрын
@@AriannaEuryaleMusic never heard of Luke Smith... let's see...No you are not getting the point... he's been to formal....I never said that I don't like this content or I didn't understand the point... he's good in explaining but All I am saying is that he should be a little less formal, Read a script in way you are are talking to a person in front of you not like a robot.
@AriannaEuryaleMusic
@AriannaEuryaleMusic 3 жыл бұрын
@@AbdulRafay-vi6hz Why "Should he"? You don't have the right to say how Jay "should" run his channel Just because you don't like the format, and you are the one missing the Point, This channel is about LEARNING, if you don't like it, just go somewhere else, there are many Linux channels, and YOU SHOULD be thankful, This Channel is teaching all this stuff for free. I repeat, if you don't like it, don't watch this channel.
@AbdulRafay-vi6hz
@AbdulRafay-vi6hz 3 жыл бұрын
@@AriannaEuryaleMusic chill out...mad man.... It's social Media and it's my right to give advice it's up to Him to take or not . I'm forcing him... second the advice is for Jay not for you..so buzz off.
@AriannaEuryaleMusic
@AriannaEuryaleMusic 3 жыл бұрын
​@@AbdulRafay-vi6hz I repeat, if you don't like it, GTFOH. period.
@dakhamed
@dakhamed Жыл бұрын
Thank you so much
The OpenSSH Client Config File: Simplify your SSH Connections
17:23
Learn Linux TV
Рет қаралды 33 М.
Linux Crash Course - The ps Command
15:19
Learn Linux TV
Рет қаралды 50 М.
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 11 МЛН
快乐总是短暂的!😂 #搞笑夫妻 #爱美食爱生活 #搞笑达人
00:14
朱大帅and依美姐
Рет қаралды 12 МЛН
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 8 МЛН
Understanding stdin, stdout, stderr in Python
11:53
NeuralNine
Рет қаралды 14 М.
Starting With Linux: What I Wish I Learned First
23:31
Learn Linux TV
Рет қаралды 481 М.
What is $PATH on a Linux Shell? (The Linux Crash Course Series)
21:52
Learn Linux TV
Рет қаралды 35 М.
Redirecting standard output in C
15:39
CodeVault
Рет қаралды 94 М.
Linux Command-Line Tips & Tricks: Over 15 Examples!
31:37
Learn Linux TV
Рет қаралды 220 М.
Linux Crash Course - Bash Aliases
17:58
Learn Linux TV
Рет қаралды 26 М.
Do NOT Learn Kubernetes Without Knowing These Concepts...
13:01
Travis Media
Рет қаралды 323 М.
Linux Crash Course - sudo
26:11
Learn Linux TV
Рет қаралды 70 М.
Systemd Explained: The Ultimate Deep Dive for Linux Users
47:41
Learn Linux TV
Рет қаралды 197 М.
Linux Crash Course - The df and du Commands
20:28
Learn Linux TV
Рет қаралды 30 М.
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 11 МЛН