 I am clearly sacrificing all of my principles by merely doing such a video, but I am going to do a Reacts video to a video. That's less than a minute. I know it's a troll I know it's a joke, but I feel like I got to bring it up. I don't know why I'm doing this Yes, I know reacting is cringe zoomer tier. I know it's consumed product here I just feel like I got to do it. Okay, it's relevant. We'll make it a learning moment Okay, for those of you who are new to the channel This might be like I don't know Greek or something like that, but I feel like we need to talk about this I don't even remember why I looked up distro tube. This is another this is a channel. He does like Technology stuff. I mean, I've known him. We did a string together several years ago He actually was my first super chat way back in the day. Okay. In fact now his channel is almost as big as mine now Okay, so congratulations on success, but I just want to say I Know this is a joke. I know that I'm gonna watch this video What whatever we're just gonna look at it. Okay, we're just gonna look at it and well, you're gonna look at it I'm probably gonna have to hide my face. Okay. I just wanted to make one of these shorts videos about You guys that do shell scripting when you guys please stop using slash bin slash sh and the shebang of your shell scripts It makes no sense one thing sh is not a real show I think a lot of people think sh is actually a real show the real language That's not what slash bin slash sh is it's simply a similar to whatever your user's default shell is on the system And if it's a non-posits compliant shell, that's the default shell such as in my case fish It's not going to be able to run. There's lots to say about that So stop being a man sh virgin and start being a user been env bash Chad Okay Firstly now I'll go and say he's already gotten roasted by everyone in the comments Okay, and they all make good points, but setting your default shell I know this is gonna sound totally stupid for people who are new to this channel But setting your default shell to fish is so stupid. I can't even describe it It's like setting your default shell to Python I know that he doesn't do this because that would be incredibly stupid. He is he cannot be stupid I don't believe that okay So what's the deal with this what actually is been sh what he says is been sh Okay, as you know as you maybe you don't know when you write a script. Okay, let's actually pull up a script Okay, let's let's look at it doesn't actually matter. Let's just open some script When you put up here been sh that says run this program with the pro or run this script with the program been sh Okay, and if you look up what been sh is on your computer You might get different things actually in my case as I just ran it I get this program called dash on your computer. You might get bash someone else's computer They might have zsh. Okay, someone who's stupid. They might have fish. We'll talk about why that is stupid Now been sh. He's correct to say yes It is not one single program, but it is part of the POSIX operating so the UNIX operating system In the sense that there is a standard of what kind of programs can be been sh that is when you write a shell script Shell scripts, of course have a set syntax You're not gonna write Python in a file that you write you have been sh at the top okay, you're gonna write a shell script right and When you put been sh at the top that says this is a shell script. Okay, that's it. That's all that means Okay, now you can do things like he said you could I could actually replace that with this with user been in bash Or you could just say you been bash or whatever like that You could do that and what that would mean is run this program as bash bash Can run any kind of shell script bash any kind of shell script Whether you have your default shell is bash or anything else bash will be able to run it. Okay, that's that's how it works bash is a super set of the POSIX standard So you have the POSIX standard of all the things the shell is supposed to have the program I have dash it's it has it adds on a couple little things But it's still very minimal and actually very fast the reason I use it is it's a lot faster than bash If I have system scripts running with this And then bash is something much bigger It adds on even more features and some of them make it easier to use and write in the command line But it is a little bit slower But it still is compatible any script that I write for in shell script shell syntax bash can read Dash can read ZSH even bigger than bash. It still can read any kind of shell scripting whatsoever. Okay Any of that syntax is all like when you put been SH you just say I don't care what the program is I don't care if it's dash bash in a ZSH or some other kind of shell Just as long as it is a shell it will be able to run the script. So what what about this program? He mentions called fish Fish I've done a video on it I actually sort of regret doing a video on it because I think it brought more people to use it Fish is called the friendly interactive shell, but here's the deal. It is not a real shell at all It's not a real shell. I mean it's a shell in the sense that it's a user interface thingy But it is not compliant what you know while bash add stuff on fish add stuff on and it also takes things away So there are a lot of things in this script. I don't know exactly I don't keep up with fish syntax because it's actually always changing But there fish cannot run these scripts at all. Okay, now you might say I think I said a second ago Oh, well if you are under the illusion that it is supposed to or that you're supposed to set your been SH as fish You're gonna be in a lot of trouble. That is just as stupid as setting your been SH to Python or something dumb like that It is a different language. It does different things now the reason people use fish There you know, it's called friendly interactive is because fish adds these pretty features, you know, they have syntax highlighting I mean, I have syntax highlighting and stuff on my shell as you can see I I'm using ZSH. That is the interactive shell that I use And you can add anything fish has you can add the ZSH and it's ZSH is much more minimal Unless they're using oh my ZSH, which is another stupid. Maybe I should do that rant somewhere else But anyway What I'm trying to say is that fish and I know I know he's kidding. I know he has to be kidding actually I don't know this actually came up I had to look for these comments a million years ago someone said something I was complaining about snaps and flat packs and stuff like that and why I hate them and Someone posted on my channel district district who said if he would make a distro the district would be 100% app image based and I checked that video and in that video He also said so it was like what what would I do if I design my own? Linux distro and he said something like that and he also said that fish would be the default shell that is so I I know that he's kidding. So that's how I replied and I don't know I don't even know what's a real and fake. I don't know anymore But yeah fish is not a shell. Don't use it as a shell. Don't set it as your default shell if you want to use it I mean don't use ZSH and add in the if you want the you know Pretty syntax highlighting just added into ZSH, which is a real shell that can run all of this kind of stuff but fish is not It's not a shell. I mean it's it's not a POSIX compliant shell and for him to complain about it Hypothetically if he were not kidding, which I know that he is not not kidding But yeah, this is pretty much what everyone says Yeah Been SH should be a POSIX compliant shell. Yes. Duh, that's the point. Anyway, I Maybe someone has learned something from this video. I just felt like I needed to react to that. I don't know that I know It's I know it's a joke. I know it's a joke. That's why I keep telling myself that Yeah, that's it fish is stupid. Don't use it use ZSH if you want something pretty if you want to brag to people on the internet use Use dash as your shell in the background as your bin SH and your interactive shell use MK SH That's like the oh, I'm really elite, but yeah, I have dash I think I've mentioned before the reason I have dash. Oh, and if you're an arch Linux user, okay, you can look up What is it? Dash bin SH This is a little program you can install if your arch or artyx Linux user it reroutes bin SH to dash The reason this is a separate program is because of post install hooks that if you update bash it'll overwrite it anyway The reason I have this installed is just to make all my bin SH scripts run faster And if I were to do what he recommended and stupidly rewrite all of my POSIX compliant shell scripts with bash All of them would have to be run in bash on my computer Meaning that it would be running like four times as slow people always say that bash is four times as fast as bash Or dash is four times as fast as bad Videos over