Placeholder Image

字幕列表 影片播放

  • Hey, guys, what's up?

  • Welcome to express Tech.

  • My name is beneath and in today's video will do a quick introduction to the lane.

  • Next operating system will see its directory structure and the basic amount.

  • The reason for this video is that I've seen many new users find it very difficult and intimidating toe work in Lennox.

  • This is because we all have work with the familiar Windows environment.

  • We are used to its interface, but when we shift to Lennox, we suddenly don't know waited, what to do and where to begin.

  • Even the installation part requires us to read books or search online.

  • But thankfully, over the years the installation has improved, and now the Lenox installation is as simple as any other operating system in the world.

  • But working in it is still a big hurdle, which eventually make people to give up and go back to the previous operating system.

  • This video will be your quick start guide for Lennox and its command, so let's begin today's video.

  • Let's first understand the basic directory structure off Lennox.

  • At the top of the hierarchy, we have the rude directory denoted by backslash.

  • It contains all the files and folders that are there in the computer, similar to the C drive that you find in Windows Environment Under Rule Director, you have several subdirectories.

  • Let's quickly go through each of them.

  • First up is the root subdirectory.

  • Now.

  • Route is like the administrator ended windows.

  • It has all the privileges that can read, write any files or execute any program now under roots sub director, you have root accounts Home directory.

  • Next up is the S Been and Bin Directory or Bind.

  • Rio Static boundary Directly been contains essential command by Henry's.

  • Vera's has been contains essential system binaries.

  • Next is the etc directory the which contains configuration files, especially password and shadow files that contains your account information and pass or hashes.

  • Next is the Home Directory, which contains any user's home directly.

  • Next up is the libraries of directly, which contains common libraries.

  • Used bad system.

  • Next is the Mount Directory.

  • Know any temporary fire systems that are attached.

  • Like you see Rome use.

  • Betrayed comes under the moments of director.

  • So it is like your secondary storage devices, then is the Procedure Directory, which contains your virtual file system and stores.

  • Colonel in four next is the temporary directory, which contains temporary data and items are the data in this subdirectory gets raised when you reboot your computer.

  • Next is the user directory contains user programs and user data.

  • And then last you have the variable data directory, which is files and folders where the system rights during an operation such as yours, system logs and everything that is under the variable deter directory.

  • So this is all about the directory structure off Lennox.

  • Okay, Now let's go through the basic command that I use in the next operating system.

  • Firstly, we look into the account related commands.

  • No the hash or D dollars ing.

  • Now, when you open up a terminal after your account him, if you see the dollar sign are hashing the dollar saying indicates that you're logged in as a normal user.

  • The hash indicates that you're you're logged in as a route used.

  • Next up is the S.

  • You are super user command to use super use command.

  • All you need to do is type in s you and give a log in name and percent.

  • It will prompt you toe enter password after you into the password off that particular logging.

  • It will take you to that account alternately leave.

  • What you can do is you can just type s u and presento now to prompt you tow and a root password.

  • Now, when you enter the wood password, it will take you to that.

  • Dudek.

  • Now, who am I?

  • Is the command that you can type in tow, Jack, if your route user or which to user you longer in as password is the command to change the pants right off, log in.

  • If you want to change the password, often account.

  • You can just type in a password and forward by space and give the accompany press center It will prompt you to enter a new password.

  • You can type in the new password, and that will change the password for that account.

  • Alternatively, you can just type in a password and press enter.

  • It will prompt you to change the password off the route account.

  • So that way you can do to change the password off the route.

  • Tickle ideas.

  • The command that will show you your user id You are you ladies zero, as we all know, is the ideal for root account and for against account off or the other That won't deter other user eighties.

  • All right, so now let's quickly go to the U Bahn to machine on the next operating system and try these commands out.

  • All right, so now let me log into my Cuban to machine and open up the terminal.

  • So as you can see, I have the dollar sign here.

  • That means I'm not a rude account.

  • So to go to my robot account, I just have to type in S u That is super user and type in.

  • Dude, it will prompt me for the password.

  • Let me type in here.

  • Now, as you can see, I have the hash.

  • That means I'm so tickled to check that all I can do is I can type who might account.

  • Well, Mike, come on.

  • And it shows that I am Groot all right, To log in back to the experts, take I just have to type in s u x p s tech and no, I am X p s.

  • I'm in my experience technical to change the password.

  • All you have to do is type B, s s w d.

  • And I've been expedience tech it is asking for the current password.

  • Typing it in here now.

  • New boss word conformity.

  • Now the password has been successfully objected.

  • The unique A mine.

  • You tell me, your fam what you ready?

  • I have used already.

  • It says 1000 No for Let me check.

  • Let us check for the Rubicon for the do they count.

  • The idea is, is you Wait.

  • So these were their country.

  • Good morning.

  • Let's go back to a presentation.

  • Okay, That was the command related to the account.

  • No.

  • Let's go through the file system.

  • Religion commands Now First up is the change Directory Command or CD command, which is similar to the video CD Command Change Directory will move you to that particular directory.

  • The CD.

  • If you type in Serie and give it till Dickie, it will move you directly to the true director.

  • No.

  • PWD command is theater command that will print the current favorite working directly that you're currently in locate.

  • Command will search the entire files and folders that are there new computer for a particle finally.

  • So if you type in, locate and give a filing, it will search through the entire computer and see and show you where that little girl finally is toward Ellis is the list command which lists all the files and folders that are there in the directory to similar to their desire command directly, Commander to have in windows unless, along with dash l will show you the permission associated with each fight.

  • That is, if that file is readable, executable or right a ball and by whom?

  • By route or bio user.

  • And let's dash e will show you hidden files that are there in that particular folder Mount CD Rome and Mount Reject will mount the sooty drive or eject the Seaview Drive.

  • No Miggy are are mig directory m k d a r.

  • Autumn is for removed.

  • Remove a director Remove file.

  • The C B is the copy command node.

  • If you type in C P along with a source and the destination, it will copy that particular file from that source to the destination.

  • Okay, Next up is the G addict command G et it, along with the filing, will open a text editor for youto addict that particular file in a text editor Similarly character along with the file language display the content show the content off that file onto your terminal itself.

  • So it Lord, open a separate program, less command less along with finally, no less commanders used when a file is pretty large and cannot for doing that stream.

  • So by using a less command, you can go through the file one line, entertain line bowling.

  • No piping.

  • No, no.

  • Whenever you type in a command and give a pipe, the result off that particular command will go through whatever comes after the pipe.

  • All right, so that I'll show you that we'll get clear one street goto the demo which we're going to do right now.

  • Let's go toe are even to machine let us list files and folders are present unless shows us all the files and folders that represent in the directory.

  • No, If I type in unless dash L it's really sure what permissions that particular that directly or finds have.

  • All right, Ellis Dash e Well, show us the hidden files Better presents.

  • These files that have dark in the beginning are there who didn't files.

  • So if I wonder Goto the downloads rectory I could do a city and diapering downloads.

  • No, I'm in downloads directory um, now, if I wanted to locate apart the profile, for example, I want to look here very is G addict.

  • I can type in, locate and jaded and press enter.

  • As you can see it.

  • It shows me a bunch of results that does not fit in the industry.

  • If I want to go through that one by one, all I can do is locate last year it and give a pipe.

  • So the desert and then type, unless not the reserve off located jaded, will go through the pipe.

  • The pipers less so unimpressed.

  • Endo.

  • As you can see, I can go through it line by line.

  • So Dante is the less common.

  • No, I'm Katya is to make a directory.

  • That is pretty selfish.

  • So now if I object, I haven't been directed.

  • That is there.

  • All right, so Okay, five, If you wantto addict about bigger file a single back here, uh, we go back to documents, So here I have a filing.

  • Get sure.

  • All right.

  • As you can see, I have a good ship.

  • I can what I can do that can carry and type in the file in get you.

  • It prints the contents off that particular files onto the terminal.

  • If I wantto open, I can open texture letters by using the genetic come on.

  • So as you can see, it has opened.

  • The same current turned on the texture.

  • So these were the basic file system limited commands.

  • All right, let's go back to a presentation, all right.

  • No, finally, let's go through the commands that I used to run the program.

  • Now, before we go to the command's first of all, a very important thing to note here is the dollar bath on this particular variable contains the list of folders that the system uses on the system checks.

  • Whenever you type in a command, for example, the command that we have just know used, like a less common or CD command all these commands how the system knows it *** in the folders and contains in our part and see if that program exists.

  • That problem exists.

  • It executed.

  • If that problem does not exit exist, it say's that cannot locate that particular program.

  • The photo For those program you can run it alternatively, by using the dart slash program name.

  • This is the alternate way off running a program.

  • Then P s space ox will give you on the processor that processes that are currently running in your computer.

  • No control.

  • See, whenever you are better than ever, Program is running President Control.

  • See that field dominated program.

  • Alternatively, if you type Press controlled said that will stop the program or pause the program.

  • That means the program shifts through the background.

  • No, you can check those programs by typing BG for the bag on programs.

  • Type in jobs to see what what all programs are currently running in the background.

  • And if you want to bring a background program to full forward and you can type in F G, followed by the job number, that will bring the program duty for them.

  • All right, so let's go ahead and try these commands out.

  • First of all, I would like you to see the part that we have here I go daughter part.

  • These are the directories that the system looks into when away, we type in a coma, for example, echo, and that is a command because that particular script or somewhere in these parts no.

  • For example, if I go toe to my downloads folder unsure you us beat them.

  • No USB dump is not in my part.

  • If a type and you'll be done plane USB them.

  • Use it.

  • See it says, Come on north phone.

  • But if I type and darts slash use, be dumb, it's execute stack.

  • But to come on, this is an older new fee off running a program.

  • If that particular program does not exist in your part, No, that meat makes my this b s space ox virtually on the running processes.

  • If you want to see it, line by line.

  • What?

  • Elena Damon type in three years.

  • Space smokes and gift E.

  • Bye, miss.

  • No, As you can see, we can go through it.

  • Line Berlin No.

  • Do dominate this program.

  • We can press control, See?

  • But I am gonna press controls there.

  • So it has stormed the Buddha.

  • Let me check if it is in the background type in B G center.

  • As you can see, it says here, socks less one.

  • That was a program that we were there in England.

  • Impressed, Controlled said, No object.

  • The jobs running it says program has been stopped.

  • If I want to bring that forward and all I can do is type in F g for my job.

  • No, man.

  • Discredit is one percenter.

  • No, you can see I am again.

  • Andy in that current or tickle.

  • Come on.

  • All right, so So That was also today.

  • I hope you find this video useful.

  • Kindly present, like, but And if you do or type in your comments association.

  • So thank you guys for watching this video and see you next time.

Hey, guys, what's up?

字幕與單字

單字即點即查 點擊單字可以查詢單字解釋

B1 中級

22個基本的Linux命令(su, PATH, PIPING, cat, ps, bg, jobs...) (22 Essential Linux Commands (su, PATH, PIPING, cat, ps, bg, jobs..))

  • 7 0
    林宜悉 發佈於 2021 年 01 月 14 日
影片單字