Excellent explanation of the concepts of STDIN, STDOUT and STDERR !
@PunmasterSTP2 жыл бұрын
Pipes and redirection? More like "Against ignorance, your videos offer protection!" Thanks again for sharing such a great series.
@grahamgauvin53848 жыл бұрын
Dude!!! A bunch of lights are starting to light up in my head!!! My girlfriend doesn't like you as much as I do (i spend more time listening to your tutorials than I do with her!!LOL) But I find your Tutorials are more than informative, my College Prof and his notes are very confusing... I have a second Mid-Term next week, and I will be going through all of your Videos to Help me. You are now my new best friend!! Thanks Dave
@tutoriaLinux8 жыл бұрын
Hey man, glad to hear that these tutorials are working for you. I've got a bunch more coming very soon. Stay motivated, do cool learning projects, and have fun!
@drakemarker5 жыл бұрын
did u pass your Mid-Terms? :)
@virgil68925 жыл бұрын
@@drakemarker asking the real questions
@Fernandez2183 ай бұрын
@@virgil6892 lol comments like grahamgauvin's rarely have responses to the real questions, from what I've seen on KZbin.
@tensor-records7 жыл бұрын
OMG thank you so much. I have searched all of youtube for a good playlist on Linux and finally!! I'm a huge Linux enthusiast and this is my jam...again, thank you very much!!! Love from India
@scaryrambo8 жыл бұрын
This is my first comment on youtube ever and it well deserved for your easy to understand guide on linux, if this was ebay id be giving you ++++ top seller, cheers you really have helped me.
@tutoriaLinux8 жыл бұрын
Thanks; much appreciated!
@karlforster48927 жыл бұрын
Just started on your videos to build up my Linux knowledge. Currently a Windows sysadmin with quite a bit of powershell experience and finding quite a lot of the concepts similar. Thanks for the effort.
@canon19986 жыл бұрын
read a pocket guide and couldn't understand anything you explain these concepts really well man! Thank you so much for this
@kevinz43965 жыл бұрын
Two videos by this guy & I think I can pretty much apply for sysadmin work.
@Quotesforliving7 жыл бұрын
"oh my lord...i'm truly sorry for that" :D you're tthe best!
@mezoani7 жыл бұрын
Hello David, I just want to say thank you for this great course! I like your style and explanations a lot, so I bought your Udemy course as well. Keep the great vids coming! ;) Cheers, Anna from Hungary
@tutoriaLinux7 жыл бұрын
Hey, thanks for the kind words; much appreciated! I hope you have a blast with the Udemy course.
@pjsmillioner1337 жыл бұрын
Love your explanations! you truly make things really easy to understand! Thank you
@nathanhargreaves70718 жыл бұрын
Since I came from Windows, I hadn't found file extensions particularly useful. But since using Linux with a terminal, I've found file extensions to be almost necessary. I now almost always name files with an extension. It's just much more user friendly, as it does away with ambiguity. File extensions are particularly useful when using ls with the -X flag: this sortes files by extension alphabetically.
@mookymooksify3 жыл бұрын
you can also define custom file types with the magic command
@mattb563910 жыл бұрын
These videos are great. The best I have found so far. Your style is very matter of fact. Thanks so much for making them. Keep up the great work!
@EnderCrypt7 жыл бұрын
ps aux | cowsay | lolcat this is the best thing i ever done...
@alphaott3r5 жыл бұрын
Made my day!
@prabeshgautam37743 жыл бұрын
Damn. Thanks so much. Just a beginner out there. Had been using "" | grep 'sth' "" but never knew anything about piping. Just thought it was some strange command but now it makes so much sense. Words cannot explain how much thankful and amazed I am now.
@chrisvax70096 жыл бұрын
your videos make me to install a vps somewhere in Indonesia because my mac,isn't mine and my brother will kill me if i install something like vmware in his machine. thanks man i learn a lot from you,you udemy project is my next check in my agenda
@kdcurrin8 жыл бұрын
thanks for these videos. Really helps a self taught person like myself build the foundations to be confident working in linux.
@blazer92867 ай бұрын
This guy... making me love Linux and him self at the same time - ,,ou my lord, I'm truly sorry for that" :DD. Bro U R a Gem on YT!
@jj2006h4 жыл бұрын
Video is structured in very easy to understand manner
@divetraveltrain5 жыл бұрын
These are really well done. I needed a refresh, and more. I have both, including some things I had not known were advanced... Thank You. I am reviewing the entire series.
@realtonestar43423 жыл бұрын
lol 4:33 ...mac guys thank you for the videos way better than my udemy course I bought.
@bartholomewr.60244 жыл бұрын
Thanks a lot for your videos. They are amazing! So much effort into them.
@tutoriaLinux4 жыл бұрын
Appreciate it! It's all worth it; I get 5-10 emails a week from people who have gone through and ended up getting into Linux/DevOps/Software Dev positions and used this playlist to get started. Keep learning and practicing and there is no limit to the payoff.
@micheleamati7254 Жыл бұрын
I see what you did there with "echo < grep-example" at 11:43, for anyone interested it doesn't work as one might expect because "echo" reads from its arguments, not STDIN, they are not the same thing, even though some programs can read from both (like, "cat")
@nadavrot8 жыл бұрын
Thank you very much for putting these videos up. I feel like this subject should have been covered much later in the course as it is not immediately useful like the things you teach before or after it.
@DeepakRamanath7 жыл бұрын
Great tutorials and I'm loving it. Just a few suggestions though. Firstly, if you could use built-in colour schemes for a terminal, it would be easier for learners/beginners to distinguish file types vs commands etc. I know Linux veterans love to use green on black. Secondly, if you could increase the font size which makes it more clearer to read.
@blind80095 жыл бұрын
Excellent explanations my good sir!
@heykoolaid200410 жыл бұрын
This series is useful and fun. Thanks, man!
@badboys520 Жыл бұрын
Awesome video bro!
@nathanhargreaves70718 жыл бұрын
Try this (without quotes): "sudo apt-get install cowsay && sudo apt-get install fortune && sudo apt-get update". After installing the programs fortune and cowsay using the command above, do this: "fortune | cowsay". Do you see what happened? If not, try again. And again. Try fortune without cowsay. Now do you see? cowsay takes its arguments and prints them with a cow. fortune picks a pseudo random quote from a list. Pipe them together and you have something amazing.
@ev1lsyk07 жыл бұрын
This is hilarious! Thanks a lot for the tip! This way you don't need the internet to waste time :D _________________________________________ / Once there was a little nerd who loved \ | to read your mail, And then yank back | | the i-access times to get hackers off | | his tail, And once as he finished | | reading from the secretary's spool, He | | wrote a rude rejection to her boyfriend | | (how uncool!) And this as delivermail | | did work and he ran his backfstat, He | | heard an awful crackling like rat | | fritters in hot fat, And hard errors | | brought the system down 'fore he could | | even shout! | | | | And the bio bug'll bring yours down | | too, ef you don't watch out! And once | | they was a little flake who'd prowl | | through the uulog, And when he went to | | his blit that night to play at being | | god, The ops all heard him holler, and | | they to the console dashed, But when | | they did a ps -ut they found the system | | crashed! Oh, the wizards adb'd the | | dumps and did the system trace, And | | worked on the file system 'til the disk | | head was hot paste, But all they ever | | found was this: "panic: never doubt", | | | | And the bio bug'll crash your box too, | | ef you don't watch out! When the day is | | done and the moon comes out, And you | | hear the printer whining and the rk's | | seems to count, When the other desks | | are empty and their terminals glassy | | grey, And the load is only 1.6 and you | | wonder if it'll stay, You must mind the | | file protections and not snoop around, | | | | Or the bio bug'll getcha and bring the | \ system down! / ---------------------------------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||------------w | || || (It looks a lot better in the terminal, had to adjust the spacing when pasting it here.)
@ev1lsyk07 жыл бұрын
Some other packages I found while messing around with fortunes and cowsay: fortunes-off (quotes and text that apparently may be offensive to some - the one below is one of them) xcowsay (graphical cow floating outside the terminal on screen!! :D) ____________________________________________ / There was a young girl of Darjeeling \ | Who could dance with such exquisite feeling | | There was never a sound For miles around | | Save of fly-buttons | \ hitting the ceiling. / ---------------------------------------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||--------w | || ||
@shady6131Ай бұрын
lol
@muji9917 жыл бұрын
hahaha i lost it when he said there will also be a typing class later hahaha. but actually tho, as someone who's used linux for years, this is a great course for those who want to hone their skills and take it one step further
@better_dead_than_red Жыл бұрын
9:45 I didn't quite get few things: Does 1> append or rewrites? Does 2> rewrites the file? If that's the case - how to append an error and not rewrite the whole file?
@better_dead_than_red Жыл бұрын
Okay, 1> rewrites.
@better_dead_than_red Жыл бұрын
Okay.2, 2> rewrites, 2>> appends
@yanasitta7 ай бұрын
Forgot to mention 2>&1 and &>. Redirect stderr (file descriptor 2) to stdout (file descriptor 1), combining error messages with normal output into a single stream.
@tutoriaLinux5 ай бұрын
Good callout; those are useful and common.
@dlcrdz006 жыл бұрын
Love these videos, Thank you so much for taking the time to share this information. Curious about the "black square" that shows up once in a while...:)
@matthewkingery19956 жыл бұрын
Me too
@Ecrfour2 жыл бұрын
I know I might be a little late, but the black square appears whenever he moves his mouse then starts typing in the terminal. My guess would be that his cursor disappears, and his recording software doesn't know how to handle it, freaks out, and fills the bounding box that it puts around the cursor in completely black.
@lokeshreddy66347 жыл бұрын
12:08 I wrote 1< and it waiting for my response but its not going through like a loop. that does it mean.?
@AnatolyKhalizev8 жыл бұрын
Great! I love this course.
@dajivi9 жыл бұрын
Thanks for the video!!, really useful. I would use Ctrl + l more often so that we can see the terminal more clearly, constructive suggestion :)
@dean46059 жыл бұрын
thanks for the video, but whats up with that black pixels during some spots, 2:01 for example,
@tutoriaLinux9 жыл бұрын
+Dean suphanthamit Annoying problem with my screen recording software and the default linux cursor, sorry!
@WildkatLefunk7 жыл бұрын
Lol, so I ran "sudo apt-get mailutils", then ran your example command of "mail -s "subject" user < test.txt" and I don't know how to check it. Always fun being super noob. I now have an email that tells me "You're a huge dork" floating around somewhere for me to stumble on some day when I know how to check it.
@horriblecoder72806 жыл бұрын
i hope you are a linux professional now.
@matthewkingery19956 жыл бұрын
If you type 'mail' into your command line prompt and press enter it should display the message you sent to yourself.
@steamyninja88814 жыл бұрын
You making six figures yet?
@m.t.creations Жыл бұрын
Thank you for these videos!
@Дмитро-л4г4 жыл бұрын
Great video. Thank you for your work!
@UjwolShrestha6 жыл бұрын
awesome, best Linux tutorial I have seen so far
@Eric-oe5ip7 жыл бұрын
Wow, excellent video!
@jackdreams9876 жыл бұрын
thank you for not giving me motion sickness
@crisstty1698 жыл бұрын
Hi Dave! Excellent linux course! I have a small question regarding namedpipes; I've created 2 pipes with command: "mkfifo p1 p2"; tried to redirect the containment of a file in p1 with: "cat file1.txt > p1" and in another shell trying to see the result with: "cat < p2", but nothing happens...What can be the cause? I'm in the same path in both terminals. Thank you!
@languageenthusiast59257 жыл бұрын
This is very useful. Thank you very much.
@abdulhafizalmasri18625 жыл бұрын
thank you so much for these videos, now i tried to output the results of a ping to a text file
@seanmichalek98306 жыл бұрын
Deffs buying this course. There will be a typing course later... just kidding
@BrianClem7 жыл бұрын
Thank you for explaining this!
@robinkohrs80974 жыл бұрын
Thanks so much Dave!! Amazing course! Do you have any suggestion on which shell might be good for a beginner? I saw that in some later videos you cover bash-scripting. You think it's better to stick with bash or does fish also work (maybe even better;)?
@tutoriaLinux4 жыл бұрын
Sticking with bash is your best bet for a tech career, IMO. Fish is great for personal use but it's unlikely that you'll get buy-in from the entire engineering department to install, support, and standardize on it across a few hundred (or thousand) servers. Also it *encourages* scripting in shell, which I'm more and more wary of as I get older. If your bash script starts using a bunch of logic, string comparisons, error handling, arrays, that's a strong signal that it would be better in a 'real' programming language (usually whatever your company has standardized on -- python, go, etc.).
@robinkohrs80974 жыл бұрын
wow, thank a lot for the extensive answer:)!! I'll stick with bash;) Although I don't know if I ever manage to write some real bash-script... Thanks so much for these outstanding classes! Especially these days it super helps!
@elsa18034 жыл бұрын
Thank you, easy to follow
@barakbattach87618 жыл бұрын
thx for the entire serias, i have 2 questions: 1.i couldnt understand the mail sending, where im writing the message body? the adress for whome im sending to? 2.when u exlaind the pipes thing, i couldnt understand what is aux? thx again!
@tutoriaLinux8 жыл бұрын
Good questions! The 'aux' in 'ps aux' is a few options that I like to use with the 'ps' command. It's the same as writing 'ps -a -u -x'. Check 'man ps' to find out what each option does. Regarding mail sending, the concept of *input redirection* means that you're grabbing the input for the command from the other side of that 'arrow.' In this case, a text file. Google 'input redirection linux' for a more detailed description.
@JC-ct8hc Жыл бұрын
learning from this in 2023
@EvenXD10 жыл бұрын
hello Mr how can i imput arrow keys on a scrip program? i'm making a game and have to input some instructions with out using enter for each command... any help?? pliz
@tutoriaLinux10 жыл бұрын
Hey, I've never done that but I started googling around: stackoverflow.com/questions/1805840/arrow-key-via-stdin
@Gregorydaerr19715 жыл бұрын
What is the black box that keeps moving arround and occasionally covers txt.
@inef855 жыл бұрын
bahaha at the beginning of the video i thought this was a sarcastic comment about the cursor... as I kept watching, i said to myself, "WHAT THE HECK IS THAT BLACK BOX THAT COVERS UP RANDOM PLACES AND GETS IN THE WAY" 😂
@CrushOfSiel5 жыл бұрын
what are these black squares?
@mason87149 жыл бұрын
Hey, Great Video's Do you offer them as a download at all? Am going away next weekend and will have no internet, I would love to spend time learning abit more linux.
@OlumideOni5 жыл бұрын
you are the best.. seriously you are
@guliyevravan4 жыл бұрын
Thanks :) after 6 years)
@EricPalmerBlog8 жыл бұрын
Good work. Helpful.
@whoisthis4130 Жыл бұрын
Great video.
@danimoosakhan7 жыл бұрын
Does 1> also appends or overrides?
@tutoriaLinux7 жыл бұрын
Rip open a shell and try it! cd /tmp ls -alh 1> foolog cat foolog ls -alh 1> foolog Post the answer here so others can benefit :-D
@MrMrcunny9 жыл бұрын
Great video! when sending file > new file I get: permission denied do I need to chmod this file to move it? sole user =) Thanks in advance , very informative. Im a Slacker. /slack 14.0
@marhaus11710 жыл бұрын
thanks so much for the explanation!
@jacobjacobucci40638 жыл бұрын
I just have a couple questions so I'm totally clear on this: Are STDIN, STDOUT, and STDERR always equal to 0, 1, and 2? Or when you put echo "STDIN --> 0" is that kind of like assigning STDIN to 0? I think my first question is the right answer but i want some clarification on that..
@tutoriaLinux8 жыл бұрын
+Jacob Jacobucci Those echo statements were just to illustrate the file descriptors and what they are. They're actually defined as 'devices' in /dev: $ ls -alh /dev | grep -i std lrwxrwxrwx 1 root root 15 Apr 19 23:30 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 Apr 19 23:30 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 Apr 19 23:30 stdout -> /proc/self/fd/1 You can see that when searching for all files in /dev that contain the string 'std'', these three file descriptors are found. They are actually links (shown by the 'l' character at the beginning of the permissions bits) which point to the file descriptors in /proc. This is where the actual "assignment" is taking place (the link basically assigns the name to the file descriptor in the /proc virtual filesystem, which is essentially a fake filesystem that lets you interact with the Linux kernel). If you really wanted to mess with someone, you could change these, although I don't really recommend it :-D. Sort of like doing "True = False" in a programming language...you should expect someone to dedicate their life to finding and physically harming you if you do this in production.
@jacobjacobucci40638 жыл бұрын
+tutoriaLinux Haha ok cool, that make a lot more sense. Thanks for the response. Also really enjoyed watching the linux basics course videos. They really helped me as a beginner and if you are going to make more videos I look forward to seeing them!
@kirangurung5964 жыл бұрын
Loved it. Thanks.
@tomzell36665 жыл бұрын
Thank you.. Spot on man. Very good
@SharatS8 жыл бұрын
OH MAH LAWD... Nice explanation. :D
@yunuspatel86638 жыл бұрын
Great videos but how do I find out how many videos are in this series. How do add them all to my playlist?
@tutoriaLinux8 жыл бұрын
There's a link in the description to the full playlist? kzbin.info/aero/PLtK75qxsQaMLZSo7KL-PmiRarU7hrpnwK
@yunuspatel86638 жыл бұрын
Thanks mate. I realised that afterwards. Your's is the exception. Many other series dont have such links.
@iamJoeTheThird6 жыл бұрын
Great examples
@Strategiusz9 жыл бұрын
What's that annoing black rect crawling on the terminal and covering letters? Edit: OK it is probably some bug with the cursor on the VM.
@tutoriaLinux9 жыл бұрын
+Strategiusz Exactly right -- sorry about that!
@tinosuteu64639 жыл бұрын
That less command is great. I've always got mad if I CAT a file and it was too long and couldn't scroll (even though you sort of can in terminal) then I had to use nano. but this is helpful.. Now I can just cat longtextfile.txt | less :)
@tutoriaLinux9 жыл бұрын
+Tino Suteu Now I'm paranoid that I did cat | less in the video...the 'cat' command is generally just for concatenating files (gluing several files together). If you just want to look through a single file, `less | filename` is enough. Although it's not like kittens will die if you do cat | less :-).
@beingarger2 жыл бұрын
Man, I love you
@n0lain4 жыл бұрын
What's the difference between ps aux | less and ps aux > less ?
@epochseven41973 жыл бұрын
The first paginates the output of ps aux (via less) while the second outputs the ps aux into a text file named "less".
@lawlessleopard26827 жыл бұрын
Yo... Less is more :D Awesome stuff very well explained thanks alot
@danielraj109310 жыл бұрын
Hey!...Can u pls tell me hw to redirect the output of "ls -l" into an excel with data in each field of excel...
@fossboss40509 жыл бұрын
I know this is an old comment but you cant do that bud, excel is ms.
@DudeSkinnyTall9 жыл бұрын
Linux User Hahah, that was a funny question to ask, but actually YOU CAN, not directly of course. If you turn ls -l output into a utf-8 comma-separated text, then you can later import that file into MS Office so that each comma-separated value is in a different field, just like he wanted. It's all my strictly theoretical thinking right now. But I still keep asking myself if maybe the guy was just trolling)))
@AbdulRahman-cb8rc6 жыл бұрын
I did not understand "pipe |", rest everything was perfect. Thanks!!
@silverzero95245 жыл бұрын
1st commands output is given as input to 2nd command
@beagleonvodka5 жыл бұрын
@@silverzero9524 I understand that but what is the significance of ps aux | less ????
@epochseven41973 жыл бұрын
@@beagleonvodka Did you see the difference between ps aux and ps aux | less ? You will notice that the second one allows you to scroll through the output of ps aux with your keyboard up/down arrows, for example.
@beagleonvodka3 жыл бұрын
@@epochseven4197 Thanks
@henkbaas58784 жыл бұрын
is it posible to remove that black box!! annoying!
@ahgiynq5 жыл бұрын
Thanks Dave
@corradosteve102110 жыл бұрын
You started going too fast there and my brain exploded.
@tutoriaLinux10 жыл бұрын
Sorry to hear it! Where did I lose you?
@slowfreak37186 жыл бұрын
Bookmark 11:06
@gerome23179 жыл бұрын
excellent thanks sir
@kylabutler98514 жыл бұрын
Thank you so much!!!!!!!
@wiseguy72245 жыл бұрын
It might be a good idea to mention, that this stuff is NOT specific to Linux. It works on all POSIX-compliant OSs.
@tutoriaLinux5 жыл бұрын
I used to spend a lot of time pointing out details like that but over time all the 'stop rambling' comments have conditioned me not to. Thanks for pointing it out, though :-D
@jasasul81643 жыл бұрын
the black square is driving me crazy
@akinleyeadebowale11972 жыл бұрын
whaooo...this is life made easy.....
@taowang28238 жыл бұрын
nice video
@nkushgaur10 ай бұрын
this is where it started getting a bit of above ....
@jamesbrewer30206 жыл бұрын
Thanks again
@youneschoukri11845 жыл бұрын
THANKS HOMIE
@thegrinch90597 жыл бұрын
6 Winblows users disliked this.
@joeycopperson8 жыл бұрын
Bwahahahah 3:31 typing course :D
@sergeybykov74386 жыл бұрын
Thanks!
@joepoor53275 жыл бұрын
thnk u
@kristiyanivanov74144 жыл бұрын
"this should be in a fail"
@IrfanA786110 жыл бұрын
I didn't understand :(
@ir46405 жыл бұрын
Anyone else seeing a random black square in every video
@ctobi7073 жыл бұрын
you sound a lot like jim halpert hahaha
@Shvmadogg5 жыл бұрын
dwm.suckless.org/ Not sure if you know about this Window Manager, but I think you should take a look :) It's less bloated than i3.