 Hey everybody, welcome back to the channel today. I'm going to be showing you a few Neat little commands in the command line that use the command curl now. These all do little things. They're Nothing spectacular, but they're all kind of neat. So I just thought I'd show them to you. I will link in the video description a GitHub repository that lists a whole bunch of really cool little programs that you can run using curl and other little things like that Because I'm not going to show them all to you, but I'm just going to show you a few So the first one I want to show you is something that will Shorten URLs for you. So you could probably bind this to a key command or put it in Roe fee or something But this one is just really simple. So if we go here Control shift V and this at the end row here We have to put the link that we want to put in so I'll go get a link delete this and Control V and then it will give me a link and I believe in order to do this I'd have to go through and copy everything I'm not sure if that prints percentage sign is supposed to be there or not I'm testing that right now All right. Yeah, you'd have to copy everything except for the percentage sign. I'm not sure why that's there Probably some kind of bug But anyways, it just gives you a short URL for you know Sharing it on social media or something really easy. There's also one for tiny URL if that's something that you'd rather use There's not one for bitly, which is weird, but you probably can create one if you really wanted to okay So this one here will get you the latest URL and title of a particular YouTube channel So I'm just gonna use your NPR because that's the example they give and I know it works So if I just hit enter on this, it'll actually tell you the title The name of the channel and the YouTube URL again, this has the weird percentage sign at the end I don't know why that's there that has something to I'm pretty sure that's gonna have something to do with curl Just to be honest with you. Okay. So this one here is a who is Look up. So if we do this here and do This will actually look up the who is information for Google.com tell you who The name servers which is interesting apparently that's public information. I didn't even know that a whole bunch of information about Google.com Surprisingly, there's quite a bit of information for for Google.com Can you imagine I mean this is totally off habit But can you imagine how much this registrar Charges Google to register Google.com. I bet you it's a pretty penny. Anyway, so let's clear out of this oops and Look at the next one So let's see here an interesting thing if you want, let's say you had a You a web page that had a whole bunch of links on it that you wanted to extract all those links from You could do that by using this one here and This one here uses MSN as an example I'm just gonna go ahead and use that but I don't know how long this will actually take Actually didn't take very long at all. This is these are all the links that are currently on MSN.com It was really quick You could you could obviously then go I mean this is fairly useless in the terminal itself But you could pipe that into a text document or something so that you hey, you know, however you want to use it Let's see here. Well, so this one here is cool So this one here will actually give you the weather. So I'm just gonna copy this and copy this in here And I'm just gonna put in a Tom that's near me I'm actually going to zoom out a little bit. So this actually looks proper But it shows you know the temperature and you know Forecast for the next three days and that which is really cool. And this is actually not It gave me Mason County, Illinois I'm not anywhere near Mason County, Illinois. That's supposed to be Mason, Michigan, but whatever it works Maybe if I put in Lansing Yeah, that one gave me Lansing, Michigan that works better All right, anyways, that one gives you the the the weather and stuff we'll go back to zoom in and clear this out that way you can See what we're doing here All right, so this next one will show you the current rates for various cryptocurrencies This this retube just did a video on this one quite extensively So again, this just shows you Bitcoin, Ethereum and all those things for those people who have money in order to actually you know Invest in things if you're one of those people Congratulations, so let's get rid of that so I can stop being you know jealous All right, this next one will show you current coronavirus stats So this is gonna be another one we're gonna have to zoom out of in order to actually see and You can just scroll up all the way and you can see then that Go USA. We're still number one in the world and even the worst things Go us so it started that and zoom back in so we can actually see again and Yeah, let's see here the next one that I want to cover is because of this one here will give you various Linux commands and cheat sheets and stuff So if we just do this one here is just curl cheat that's H and Again, I'm gonna just zoom out just a little bit Some of these things not sure what it will do so you'll just have to you know Experiment but it'll actually Like programming questions and stuff like that will show you some some cheat sheets Again, not quite sure everything it'll do but it looks cool, so we'll clear out of that. Okay, so here is A dictionary so if we do this and do Linux This will actually It does actually define Linux. It's not well formatted It probably should just clear out of this all this stuff, you know away, but an open source version of the Unix operating system Technically that's true Okay, so we'll clear out of that. We'll go to the next one Okay, so this one here will give you a random American name Rosalie Goldman hello Rosalie Goldman Nice nice to meet you this one here is going to give us a really corny joke. I almost guarantee it It's a dad joke. I've just written a song about a tortilla. Well, it's more of a rap really. Oh, okay. I Told you I did warn you that it was going to be a really cheesy joke because it says I can has dad joke calm fantastic Okay, then that so the next few are going to be in the entertainment and games category so Some of these I won't be able to show you because they're gonna be copyrighted infringement things So I'm just not going to do that, but we'll Do this one here this one here is something to do called with my end cat I don't even know what that is, but I Probably have to zoom out in order to see that properly. No Again, I don't know what use that would be but it's cool. I mean someone had to have gone through and coded that Seems like a interesting use of time. Let's see here next one I don't know what this one will actually do it says search and display GIFs in your terminal, but I don't Okay, so I'll actually tell you How to use it so let's zoom back in here so we can actually see Okay, so your search terms separated by an underscore. So let's just do this So they can move my microphone so you can actually hear me when I type this in go back here and do slash Cat let's just do Napping I'm guessing that this the reason why these last two didn't work is because the terminal I'm in it doesn't support them That's cool. Oh So it did kind of work, but It was really pixelated. So what are you gonna do? Alright, so There's a few more there that will go through and do interesting things like that The rest of these all look like they're pretty much SSH stuff But like I said, I will leave a link in the video description so you can check out the rest of these now You'll probably notice that something's a little bit different today I did not have a video of my face and that's because OBS is not treating me well for whatever reason Everything was out of sync That's just the way it apparently is for the way things are going for me today I don't know it took me like six tries to try to do this video. I tried some with the camera some without the camera It's just one of those days people So if you like this video give it a thumbs up if you didn't give it a thumbs down if you're if you know any other Really cool curl command uses leave them in the comments below You can also support us on patreon.patreon.com slash the Linux cast and on that note I would like to thank our patron our patron Devon see thank you for supporting us the first episode Exclusive episode of the Linux cast is now on patreon if you're interested in it that will actually come become public tomorrow So it's up exclusively right now for patrons. Thank you for watching. I'll see you next time