Placeholder Image

Subtitles section Play video

  • please go to the line the computer guy dot com, in order to view schematics, code and Maur for the projects that you are learning about.

  • Welcome back.

  • So today's video I'm going to show you how to get help when you're using the U Bahn to server operating system while you're at the command line now, to be clear, to be clear in the modern world, the best place that you can go to in order to get help is Google.

  • That's right, if you if you are a stuck.

  • If you're trying to figure out what to do at the command line, the best place to go if you are able to g o is to go to google dot com and plug in whatever the hell your search query is, and then see what the hell the Internet has to say.

  • But it is important to understand that Lennox has built in tools that will try to help you actually use the operating system, because it is important to understand when you're using the Lenox Command line.

  • One of the reasons that Lennox is hard is simply because you have to type in the appropriate commands know where the the files and folders are No.

  • What?

  • The arguments are so on and so forth.

  • In order to do anything with the operating system, if you type in something a little bit incorrectly, nothing will happen.

  • It would just fail out, and people will get frustrated.

  • So there are some some some some built in tools and Lennox to try to help you out with using the operating system on.

  • I'm going to show you some of those tools today and some of the quirks with them because again, the user experience user experiences.

  • Oh, so Lennox Oh, eso Lennox.

  • So what I'm gonna be showing you how to use today is there's a There's a tab auto complete.

  • So if you start a command, let's say you're you want a list files or something, but you're not exactly sure what to say.

  • You could simply type in l.

  • So the commander list files is l s.

  • So let's say for some reason, you only remember the alley.

  • Don't remember the anything else you could simply type and l if you hit Tab, that actually doesn't sort of kind of semi auto complete.

  • Basically, what it does is it gives you all the command options that are available that start with l So, like I f config I have config is how you could get your i p address from the command line and Lenox.

  • So if for some reason you don't remember it, you could type I or you could type in i f you get hit tab, and then that will show you all the options that are available.

  • So that's something that will be useful for you.

  • Then there is something called me What is command?

  • So you you know, you sit there.

  • You see all these these commands that are available to you.

  • Oh, what is any of this one of things that schools you can type in, what is And whatever the command is, what is unless what is I have config.

  • What is grab or whatever else on Essentially, it will give you a one sentence one sentence synopsis on what the hell this this, uh, this command does on.

  • So that could be about valuable.

  • So you're sitting there, you're looking at all the commands.

  • You're like Well, this command do what I wanted to d'oh you type in what is space where the command is, and it will give you a sentence.

  • This is with the commandos to go.

  • Okay, Yeah, That's what I need or no, that's not what I need.

  • Then we're going to go into man pages.

  • Good old classic man pages.

  • Man pages have been around forever.

  • They're they're one of the the things that came out of the units world of escalate a record manual pages, man pages.

  • And the idea was that the manual for the UNIX operating system was built into the operating system itself.

  • Again.

  • One of the things you have to think about when you're dealing with Lennox world A very important thing to understand when you're doing with Lennox World is that so much of the operating system has things from a time a long time before the Internet.

  • Where is it?

  • It's a long time before Facebook a long time before Google a long time before Windows 95.

  • Ah, long time before that, Even the World Wide Web.

  • So what man pages were?

  • Four is imagine a time.

  • Imagine in the 19 seventies, when you don't have the Internet, you know you can't just go to Google.

  • You're trying to figure out how to use an operating system.

  • That what the man pages d'oh is a man.

  • Pages allowed you to be able to type in a command man and then whatever command is, and then it will go and it will actually give you a printout will give you a write up of what that command does with all the arguments and everything else, and is basically built in documentation into the Lexx operating system.

  • So that's useful.

  • And then I'm gonna finally show you help.

  • Because, of course, in the Lenox World, athletic through it, you can't.

  • You can't just find one way of doing something and then just do it.

  • You can't just be like, Hey, man, pages have the manual built into the operating system.

  • That'll make life easier because you're always you're always gonna have something you're always gonna have somebody say, Well, the way I think this should be done and that's where you get help.

  • See the type of command I even hired help, and then you get a different form of documentation.

  • That kind of sort of looks like man pages isn't quite man pages.

  • They have to do with you a couple of other things with it.

  • And so help is sort of like a man page.

  • Kind of, sort of.

  • And so maybe if you're sitting there, you're trying to figure out information you can't go to Google.

  • They don't want to go to Google for some reason.

  • You could type in the man you go to, man.

  • Paige.

  • Maybe that doesn't give you the information you want to go to help Paige.

  • Why are there man pages and help pages apparently comes from the canoe project.

  • Hey, you remember this canoe?

  • Beautiful people.

  • Yeah, apparently comes from that.

  • The idea.

  • So So man pages again.

  • The concept was from the sixties or seventies, and so the help pages of the info pages as they're called, uh, was supposed to be was from the nineties and again, even in the nineties, The Internet isn't what the Internet is today.

  • And so it was supposed to be like an updated version of man.

  • Page is supposed be a better way of doing man pages, but it's like a lot of things in technology where we have man pages, man pages, works, everyone knows what the hell Man pages is they come out with these info pages, you go use help and then the Internet comes out of the Google comes out, and so you really get in the modern world.

  • Did you get people using man pages and get people using Google?

  • And then you got this weird help stuff in the middle.

  • But I figured I would show you that because that does come up in a lot of documentation.

  • Honestly, with all of the use, I would use man pages and it would use Google The help.

  • I don't know.

  • I think I look at the hell pages.

  • I think they look like I think they look horrible.

  • I think they look like trash.

  • But that's the wonderful thing about that.

  • That's a wonderful thing about the Leonard sorrow.

  • It's not about what I think, whatever the hell you want to use.

  • So I was.

  • What's with that?

  • Let's go over the computer.

  • Well, boot up an instance of a bone to server, and then I'll show you how these commands actually work.

  • So here we are, at my computer.

  • I have ah, virtual box already open.

  • I have these three instances over here, and I'm just going to grab this.

  • Who?

  • Bunching server.

  • So this is a stock standard.

  • You bunty server That again?

  • Basically, I just installed 18.4 Lt s onto this instance, and that is that is what we have.

  • So it's just a stock standard, Sarah.

  • So it's booting it up.

  • It'll take a couple of seconds here just to show you, you know, it is going through the process.

  • And now with server log in for me, I have Bob.

  • And again, this is an important thing when you're when you're when you're learning how to do technology when you're learning how to do operating systems just come up with simple Loggins.

  • Simple Long and I know it sounds horrible.

  • I know.

  • And under some people out there that are horrified that I'm using a server log in Bob.

  • 123456 But the nice part about this is it means I always know what the what the user name and what the password is on.

  • All of my little testing computers, he was one of the biggest pains of the butts is when you get like, oh so cool and you're gonna try to make your testing computer secure, and then you forget what the hell?

  • The passwords, usernames and passwords are on those computers because you just get too smart for yourself.

  • Uh, that that gets back.

  • So just a simple user name and password makes life easy.

  • So, Bob, 123456 we enter and we go through on this is what we get So it gives us a little bit of information.

  • Now, one of the plans that I do want to show you.

  • I'm not going to a video on this.

  • Just because I'll be using this a lot of anyway during the classes is so when you have a screen like this, one of the problems in the Lenox world is everything gets printed out on the screen.

  • And then and then basically, what happens is your little command prompt gets gets farther and farther and farther down on the screen, and that could be a pain to look at.

  • So one of the commands you can use is clear if you use the command clear and hit, enter.

  • Basically, that clears the screen.

  • So that gives you a nice clear screen s.

  • So this is just one of those useful things again depends on what you want to do in life s.

  • So let's let's use the tab.

  • You can't really see me use the tab.

  • So if you know, you know what the tab key is, right?

  • You know what the tab key is?

  • All I'm gonna do is I'm just going to get l.

  • So l so again, one of the commands Lennox, is l s, unless something we'll be using a lot.

  • So let's just say for some reason, I don't remember what the command is.

  • Its eyes and l are, I don't know.

  • That's what I can do, is I can hit Tab and hit tab again.

  • And for this says, I only put in one letter.

  • It's saying you don't display all 101 possibilities, so I'll say yes.

  • And so now this gives me all the possibilities for hell.

  • There's actually a lot last let the whole market stuff, And then if you see over over there, I can't actually should put my mouse over it.

  • But if you see along this line over on the second column, you'll see l last.

  • Oh, Okay.

  • Well, there's a L s So that's the type of thing that you could do with a tab.

  • So, like with the i f.

  • Config so I can type in, Let's say I f like, Oh, is it can't fig Is it complete, Herb?

  • I don't know.

  • I hit Tab twice.

  • And then, as you can see, it's as I f and that's I f config.

  • So Okay, so it's I f config that that's what about a plug in.

  • So that's all the tab is.

  • You know, if you're trying to think about the file editors vim RV type in V, I tab twice, and then he gives us all the options.

  • Okay, v and I've got them, and then I can figure out what to do.

  • So, Tab Tab is what gives you this quote unquote auto complete auto complete in the Lenox world.

  • For whatever reason, I have to press tab twice to make this work.

  • So that's just what we got.

  • There s let me clear this out.

  • So get clear, and then that clears the screen.

  • Now, the next thing that I want to show you is what is s o.

  • You know, I just did that V and them and now you might be sitting there going What?

  • What?

  • It What What is the orb?

  • Them.

  • So you know, you guys talking about this?

  • Why would I use that?

  • So I simply type in what is space?

  • And then I do them.

  • I hit enter and so I can save M.

  • V.

  • Improved A programmer's text editor.

  • Oh, okay.

  • That's that's a program.

  • This text editor, huh?

  • I wonder what he is.

  • Then what is the ve improved?

  • A programmer's text editor.

  • Okay, so they're both programmers.

  • Text editor.

  • Okay, then that gives you a little bit of an idea of what's going on.

  • What is I f config again?

  • Just insists just in a sentence.

  • Configure a network interface.

  • What is l s lest directory contents.

  • And so this is a way, you know, if you hear commands or if you're looking at a big screen of commands and you're just simply trying to figure out what the hell it is that you're going to use, that's it.

  • Simply by using what is That's a way to be able to seek.

  • So with that, let's clear again.

  • Clear hit, enter and it clears everything out.

  • So now let's look at man pages.

  • So I was talking about, uh, less before, so we're gonna use a l s A lot.

  • Everybody uses that Les Allies is one of those things you're saying they're going.

  • I wonder what l s is.

  • So, man, So for man, Page space L s.

  • And now we get this is what it's called a man Paige.

  • And you sit here that says that last name L s list directory contents Sit ups, you know is option file.

  • This gives all the arguments.

  • And so, in order to scroll down and order a scroll down, you press return.

  • Now again, this is one of the things to be thinking about when you are learning how to use Lennox whether or not you want to.

  • Just use the plain old command line or whether you want to use your phone to desktop in the terminal.

  • Because if you use a bunch of desktop and you use a terminal to do this, then you can use the mammals to scroll up the scroll down to do a lot of those types of things.

  • If you're using that, just the basic nasty command line, you're not able to scroll up and scroll down.

  • You just have to hit in and enter.

  • So this is just one of those things again when you're learning how to do things.

  • This is one reason why you might want to go with a bunch of desktop run to these commands through the terminal versus doing on the command line because this could just be a pain in the ass to scroll.

  • So So it's like that, right?

  • So that's man pick, then you can see at the bottom, right?

  • So if you see down here, man Paige, is that last line 43 8 for help or cute Quit.

  • So that's one thing I always look for always look for where they're telling you how to do something.

  • So in order to get out of this, you get Q and now you're clear.

  • That's a man.

  • I have fig hit, enter and again, the same type of thing that now gives us all this information.

  • Scroll down in order.

  • Thio.

  • Yes, he was going on with you.

  • I have convicted man, when I see whatever I need to see if I could just simply hit Q Q and get out of it So that's really all there is to man pages.

  • Now, finally, let's go help!

  • Oh, help!

  • So let's let's just type in help for a second again, I'm gonna show you how horrible these air experience that Lennox could be.

  • So we're just going to do it.

  • L s s so it's whatever the commander's l s clear.

  • I suppose I have config space hyphen, Hyphen, Help!

  • This is gonna give you the info page, and then we're gonna hit enter, and then you can see it.

  • Scrolls all the way down to the bottom.

  • And again, remember, in command line, you can't scroll up.

  • You know arrows, arrows.

  • Just do this.

  • They just show you the old commands so you can't scroll up.

  • So basically, you're just sitting here looking at the bottom part of the help pay.

  • This isn't so bad.

  • The user experiences.

  • I cannot.

  • I cannot exaggerate.

  • How horrible to use your experience could be limits.

  • You definitely type help.

  • Everything goes flying by.

  • And then you're just looking at the asset.

  • So in order to actually see help in a way that's useful, what we can do is Ella Ella, me clear the screen clears right, So we do it.

  • L s space hyphen, Hyphen help!

  • Then we use this bar thing on, and then we do less.

  • So by doing that, that will then give us the option of what's gonna happen, is gonna fill up the page, and then we're going to be able to scroll through the info page that's created.

  • We're gonna hit in her.

  • And now now we're able to scroll through, so it's like, OK, usage.

  • L s option file mandatory argument here gives us some other stuff that I had inner than his inner, his inner.

  • And so, by hitting inner, I can scroll all the way through this document.

  • Now, here's an interesting, uh, Lennox Lennox.

  • User experience can't make this crap up.

  • Stu said here and you see end, you're like, OK, end hit, Enter.

  • We'll enter is not getting you out of there.

  • If you control See, that's not getting you out of there again.

  • This is one of things where you literally you literally have to know what the hell the press in order to be able to do something.

  • So if you do hyphen hyphen, help bar.

  • Unless you're here in order to get out of this.

  • You use plain old Q claim old lower case cues.

  • I might play it playing old, lower case cute.

  • And now that gets me out and back to the command.

  • Prompt.

  • So that's one of things, just to just to realize you can run into and again, that's one of the weird.

  • There were issues that you could end all this different stuff.

  • So that's just a basic overview of some of these commands that you can use to try to figure out.

  • You know what you need to be doing with your server operating system, and overall I say it's it's it's easy.

  • And that's what I want to show you is right when you know what the commands are looking.

  • Look at me.

  • I'm just I'm just tippy tap type.

  • Aren't I so cool?

  • I don't man and less.

  • I'm just typing all this stuff and that that's what really Lennox is about.

  • If you know what commands and what arguments to plug in, you literally just type it and the system does what you tell it to dio.

  • If you don't know what to tell you.

  • Well, it's gonna be a really, really long day.

  • So there you go.

  • That's all there is to Tab Auto complete what is man pages and info pages using help?

  • A CZ you can see in some ways, it's gonna be very useful and make your life a hell of a lot better.

  • And in other ways, they're just prime examples.

  • Prime examples of how you know the people, that code for Lennox just simply just don't care about Houston.

  • No, no, I don't even feel in many ways, I don't feel with Lennox that they're bad at use your experience so much as the literally do not care about Lennox are user experience and therefore you get what you get and I really want you understand?

  • I mean, I'm laughing about that sound a little snarky, but what I want you understand, is that is why being analytics administrator can be difficulty begin with.

  • You really have to understand for the Mac world and the Windows world, right?

  • You know those companies, Microsoft and Apple, they may make mistakes.

  • They may do something incredibly stupid things, but they're really trying to create user interfaces that are easy for the end user.

  • They're trying, you know, sometimes you come up with a paper clip, and they failed miserably.

  • But they're trying to make an interface.

  • They're trying to make an experience that's easy for the end user.

  • And so when you're learning how to him in a stir, you know whether it's Windows 10.

  • It's client operating systems or Windows Server or anything like that.

  • One, except that you have to understand, is is that they've created an environment that makes it relatively easy for you to learn how to use their system.

  • Now you may have to learn a lot of information, and you have to have learned a lot of configurations.

  • But but you have the ability to play around and tests and see what happens.

  • Why Lennox is so frustrated for so many people.

  • Is it just okay?

  • It's not so much that they create bad user experiences, as in they just is.

  • Don't think about you, too great speaking.

  • It's at all.

  • And so it really is.

  • You sit there and you typing commands or you do things and you're just like with the help that I think I just just for a moment, just think about the fact you type a knife a knife and help and let her, like the entire HelpAge, get his wisdom by and all you do is you get to see the ass end of helping, right?

  • You literally you literally don't know what to docu type help, and that is the result.

  • And then if you know how to be the whole less thing, then you can get something that you can step through.

  • Hey, that's a lot better when you just as in just says in and again how many new tech, how many new technicians una see that bold end and go, You know, You know, I think Lennox is telling me something.

  • I think maybe maybe its end and more than one way right, instead of sitting there trying to figure out what to do.

  • And again, it's simple.

  • It's so that's the thing.

  • Analytics world.

  • So samples as end and you press Q.

  • You go back to the command line.

  • Yeah, you know, don't rescue, huh?

  • Oh, Then you lose your mind and give up and decide to become a florist.

  • So anyways, these these air some basic commands that you can use to try to make your life a lot simpler to be clear, to be clear, honest.

  • If I was learning things and I was brand new learning things, I would not be using man pages or any of us.

  • I would use Google good old fashioned Google going to a normal Web browser.

  • Web page is gonna be a hell of a lot easier for you.

  • But to be clear, these actually have a value.

  • Yes, they are like, vestigial.

  • They come from the olden days.

  • But remember, you know, if you're sitting down on a server, especially, may be your server that you're you haven't used before and it's it's doing some specific task Simply being able to sit down.

  • You're sitting there like Oh, yeah, I want to type in this command.

  • But in order to do what I want to do I need a specific argument crap.

  • How does this command work?

  • Simply plugging it, man.

  • Page right, man.

  • Whatever it is, I go, I see.

  • And then you go down and you type in whatever the command is supposed to be, what the appropriate arguments and away you go.

  • So man pages and these tools again could be valuable again.

  • The tab, the auto complete right, you know.

  • So if I'm sitting there that I'm trying to figure out, You know what particular software is installed on the server plugging in the first couple of letters, Hitting tab, seeing what shows up and go.

  • Okay.

  • These are the things that are installed s Oh.

  • Now, now I know what I could do on the system.

  • Those types of things that can be very easy once you get much more comfortable in the Lenox world.

  • But honestly, in the beginning, Google use Google s user.

  • Use your fancy Mac or Windows Computing to go to Kugel, Mr Lex.

please go to the line the computer guy dot com, in order to view schematics, code and Maur for the projects that you are learning about.

Subtitles and vocabulary

Click the word to look it up Click the word to find further inforamtion about it