Multi-Rag / data /transcript_e01GGTKmtpc.txt
VashuTheGreat2's picture
Upload folder using huggingface_hub
a76db1d verified
Raw History Blame Contribute Delete
211 kB
If in the same video How to setup are going to be Or Logical Volume Manager in What is he going to get in today's video? You will mostly have things that a deps to the engineer when he Boot loader, oh brother, so many things. Okay, let's start first. Let us understand brother how this internet works. It makes me able to talk to you How is this happening, then understand that this This is our world, okay, it has its own meaning. Okay, here's the full meaning. Your ok, now you might be sitting in Delhi. or in Gurgaon or Pune or Lucknow You might be sitting somewhere late, you are sitting here Yes, okay, and you are watching this video. This video is coming to you from youtube1 Now you will think that yes friend this is from Lets is in the USA This video is streamed to us from youtube0 Brother, this doesn't happen, why do you know this? The distance of the satellite from the USA is very There is more distance from the satellite to us The distance is too much, so many If the video is streamed at a distance, how much It will reach late, it would be better if we come from USA Take the sea route and reach here If you go, you will reach soon, friends. How the Internet Works How the Internet Works Does optical fibers or fiber Fiber Cables from OK Fiber Cables from Cables What happens to the water in our ocean? These cables are laid in the sea. that connect to the data center for Example, this is you, this is a data here. It's a center, brother, what is a data center? Data center means such a big location Where there are many, keep it with understanding, there are many Computers are kept and their cards are being used What is the work of storing data and the data which It is also stored, now transmit it How will it be transmitted or transferred? through cables through cables and this cables live in C and these cables on Many companies do this like AT&T And your Jio Jio lots of optical fiber If she turns on the cables then come here. from lats from Jio's Reliance1 laid the fiber cable, okay and that they take money from you okay they take money from you Whatever we get through the internet If you say recharge or data pack then Basically, if you need any data from the data center If you want data information then it can be done through cables. comes through through fiber cables and these Big companies monetize that thing. And this way the internet connects to your device. But brother, tell me this [music] Service provider like the one in Pune Broadband or broadband or airtelxtreme.in Devices You Know Identification Is it a server or what is a server, see the server No, it is a very simple thing, just understand it like this that there is a computer that has a specific job. What is its function? To serve information to you Please bring information of any type Bring information to serve now this If I say bring me this email, then that What will become my email server if I Should I tell him that brother, this is my file, this is your file Give it to me on your server and I'll have it whenever I need it. So give it back, then it will be the file server. OK, file server, now I'm saying that. I have my data and I will give you inside that database If I want to insert it, it will be database server okay now I have a server where The application is running like facebook.com youtube.com so that will be Application Server Now I have a server where I I am providing static data like images If ATML gets its pages then it will be What about my web server that provides web www.htp.gov.in Whose job is to serve whom? I will serve you brother, you will serve Client ok to serve client ok now The first question you will be asked in the interview The question asked is about server and client Tell me the difference between the work of the server It is to serve information to the client Work is done to Request for Information What are the servers and what are the clients? It could be your phone, it could be your client. Laptop with browser is a browser No, look at this now, this is a browser right here. If I write youtube.com, then you know what will happen. Yes, in this I show you how to use the internet. works so I wrote youtube.com Enter now youtube.com so this went first of all my ice But the ISP said, yes brother, you have it. If you have internet access, you can proceed further. Then there was youtube.com, which was youtube.com Tha y yti y beed co what is this know this is known as domain this is domain now this domain What would an application server be against? I told you there is an application, right? where the server youtube4 1 This must be some IP address How are domains and IP addresses linked? There is also a server for that work which Let's say DNS domain name server OK understood That's how the internet world works. So if you write facebook.com [music] I have a web server that has some of my images. Some files are static data is static Data that needs some more work If not, then where will that data be stored? It will be stored on a web server. Now I have a And there is a server where an application is running. where some computation needs to be done Calculations have to be done, logic has to be established Dynamic data is giving ok static If it is not dynamic then it will be an application Server so if someone asks you web server and What is the difference between an application server and Web servers generally serve static data. Applications generally use dynamic data services. Acts like your web server has been NUX So through Nx you pages are static pages Application Server Lets So this happened to you because of some war or Nut Jas's application is running on a server But if it becomes an application server then this In this way you can also know the difference web How many applications of the server are there now? There are types of applications, see friends. There are two types of applications, broadly If I tell you, stand alone and web Is the application a stand-alone application? It turns out he doesn't need the internet. Hoti ok stand alone application you ever Have you been there, like to some airport? Go to the airport. How was your feedback and Clicked and went away or sometimes It happens like this, put a coin and the work is done. Diya Bhaiya stand alone means he has the rest No database needed No server required Email server The cache file system doesn't need all this He doesn't need things, he walks alone The carefree man is alone and is happy standing alone Okay, at the same time, if you have a web Applications like web applications instagram.com or youtube.com now You are running a group of applications That is your web application. The application runs on the Internet and Supporting email servers Database servers are applications There are servers, there are a lot of things. that supports that web application And that's what a devops engineer needs to know What type of application should it work on? If he is doing it on a stand alone application He is working on databases and other things. There won't be much need for connections if If he is working on web app then database Connection with the front end Connection with the back Connection with the end Connection with the cloud Bhai Bhai Bhai this is going to be a very long series Take it easy, no problem, okay Now brother the question arises that what is Application Support and Maintenance What is it? It happens that I had come to study Deps and support. And coming out of a testing background, Debs Engineering came to enter and support you back What is this you are putting in me brother, it is so much Understand that whatever is in our phone or laptop There are applications, aren't they all the same? running on a particular operating system like nuke operating system windows operating system mac operating system so all these Applications running on the operating system They Are the applications running properly or not? Are those applications crashing? Kisi Type Ki You No Care Affection Love Whether support is needed or not Application Support and Application Maintenance If work is done on it then friends it is just The basics are where you need to know that if the application is running, at any time Issues can arise at any time, it can happen that It has a connection to an email server If the connection is off, your emails will not be sent. Being a DevOps Engineer So true and tell me that What is Linux, friends? If I should I take a survey okay if I take a survey I'll check if it's ok operating. System Are you working on this survey? If I give it to you, do you know what more than 90 people Speak Windows lets you know that What is an operating system? Operating The system is such a code, such a big program that runs all these applications for you helps it run on your computer It is fine and is used by maximum people. those are windows because you'll see When you go to college, you get a brand new laptop. Great to buy You bring Dell, what opens in it? If Windows opens, by default it is Windows only. It is sold but 90% of people use Windows. The reality is that 90 Q Applications do not work on Wiz, where do they work? The operating system which In 1991, a long time before I was born Linus Tor Valds created it even before He created an operating system that Basically, anyone who needs an antivirus No, you can do multitasking Security is top notch, it is open source people You can contribute to that Can improve the operating system And the best part Unlike Windows, it will not happen that your The meeting is in two minutes and Windows is Updating ha ha ha ha in your production Issue has come Windows is updating your marriage It's about to happen and your wonderful email to you I have to reply to Can't Windows This is updating so friends all these To solve problems, men Application security is the solution to this problem. To solve We use majority companies 90 More applications than It is a very prime example But if it is paid then one of it is free. version or the open source version is free free you are great open source you ever You can also use it, okay, so that's it. brother introduction to nax that brother this is a The operating system is fine, operating The system is where the application runs. You can create a folder and install the browser. You can write a lot of code. can do a lot of things Yes, now brother I already have a phone number, I am a user. And I run the show but like I Told more than 90% People are Windows users now they [music] What does Windows do? Windows operating system inside Install it and virtually [music] This is another way to install Linux The third method is AWS or Azure or else A virtual machine on GCP (any cloud) This is also a way to make it, so you have There are many ways, there is another way which they speak Grant is fine There's a company called Hash Corp. They have a A tool has been created that allows you to perform any operating You can run the system on it There are ways, but this is enough. Do any one, it is enough, so how to Install How to install operating system on laptop? So you need to buy the CD of Viz 10, Viz x, Viz 10 No, we used to buy CDs and bring them on that. There was a code, they used to put the code, a lot People may not know because it is pirated. It is a different matter that we used to use Windows. Again it's a commercial license All these things that I am saying are hidden. There are questions, there is also one interview question Don't skip even a single minute of the video. What are the differences now, brother? [music] You can also do coding In Phosho you will get anti virus when you are on laptop You should also buy an antivirus. Does matter of OS comes in Ubuntu Kali [music] Software Remote Location Server Tools Meaning If this is my I and here I am A remote VM or a server I want to connect to how do I do that There are many ways to do this There happens to be one RD P Remote Desktop Protocol that you Access any deck with the remote You can, the second one is SSH Secure. You can also access the shell like this I will tell you both of these things in the upcoming series. I will tell you how the introduction is going now. where I'm just telling you that How do you connect to a remote server? You can do it, there are other ways too, that too Does any desk remain and many such There are ways why do you know all this? Should be because as a devops engineer You can also manage the systems from the comfort of your home. No trouble shooting so you know I need all these things Okay, now brother, what is a kernel, a boot loader? what is a shell what is it let's go now I'll teach you in depth about Linux. okay so what happens Not every operating system will have a heart. A heart of the operating system that heart Let's say Colonel, okay, that heart is called Colonel. What is a Colonel? Colonel is basically the whole to run the operating system coding files that programs that processes It is required that the Colonel has it. is now What is his name? His name is also Naxal Colonel. It happens that its name is Linux kernel. Where does the name Linux come from? Its founder is Linus Linus To He named it X, so it's Linux. He went, is that the Colonel's name also the same? It's Linux itself, okay, now something about this kernel. The job is to run processes, this is what But the colonel is like this. Programming Objective C like C The kernel is now written in programming. You don't know how to sew, I don't know how to sew either, but We have to run this, how will we run it? I need a program that does this Talk to the Colonel, we should find something like this. Need a program that talks to this kernel And then your shell arrives What is a shell? A shell is basically a A platform is a terminal where You can talk to the Colonel through the Colonel's For example, I want Linux. Kernel Linux, the kernel, has a A program has been written to create a folder. It is written in C programming now I I don't know C but I want to create a folder. I'll tell Shell to create a Folders now have shell commands for them What are commands? Shell commands There are many such things like MKDIR All commands are in the upcoming videos I'll see, but we can use those commands. By doing this you can talk to the colonel and he Commands are called shell commands. Friends, if you Shell should be well understood and Shell What happens is the shell remains a gateway to your and the gateway between the colonel and you So if you Understand what a boot loader is when Your computer starts up fine too. When your computer starts up, the first what is the first thing you remember When my father was not there in my childhood, he brought me here. I brought the CPU a long time ago. Papa had brought a CPU and we used that CPU What I used to do was very simple. They would press a button on the CPU and that button What would happen to that CPU when it was pressed? Brother, the electricity would run when the power was on. The power was on and the hard disk I used to lose power, now that hard disk What is kept inside such a hard disk Inside, your operating system installed and what's inside it So the operating system which is the kernel has There are some processes, one of them process boo boot loader what is boot loader There is a boot loader Basically there is a process like this which is the files of your operating system which starts the operating system Those files are required to It runs, I understand that it is not a shell. Shell what happens between you and me Sorry, just an interface between you and the Colonel. What is a boot loader? There is a process that runs first and Wakes up the whole thing at home how Mummy is the first one to go and wake everyone up. Brother, wake up, a new day It has started, get to work as it boots The loader says get up, get up everyone Turn on the processes brother, our users have come If you have already run Nux then the boot loader is very It is important to know that You should know the full form of RUB I'll tell you G R U B to It means if I start this laptop If you have to do it, what will you do first? It will also work, okay, its full form also Something global happens, it always remains There is no no, there is something here friend No, maybe it's okay, there's no scene. But we can write that it is completely Form OK Grand Unified Boot Loader Saw grub is a boot load okay so gr r ybi is a boot loader so if you Ask in the interview, can you name any boot? Linux loader GR ybi ok simple hai much more in it inside it there are icons inside it there is a Open the terminal like the Start button You can do a lot of things like Now look at this, this is my Mac OS. Butt Linux system architecture This is what remains, your shell remains in the center Sorry, no shell, Colonel, to talk to Colonel. Your utilities in and outside the Vala shell applications or whatever you want to run Whatever hardware applications you run If you want it to have an architecture like this If you want to do this in detail then Linux System You can also see the architecture, you will find it interesting. You'll notice that you have a shell that's the thing does it with the colonel and then the colonel basically who also have hardware that runs the thing okay So if you rebuild it, your The Colonel who lives in Shell tells him that Brother Colonel, do this and what would the Colonel have done? He does it with let's folder create or free up some disk space So that hardware is I'll do that and run the shell What you need is something Requires applications such as terminals Done or Notepad or whatever So apps shell kernel hardware this is a flow You should have But it's not hardware its applications ok applications Shell, Colonel and Colonel will change what? to the hardware so if you need to Diagrammatic representation So this is the diagrammatic representation That center houses your hardware Became a printer, becamera, becamera Whatever happened to that camera, how did it come to me? is connected to the system through kernel but if I need to turn that camera off and on. So what I need is an application. will be the application shell will say that shell He would speak to the Colonel and the Colonel would drive the thing. OK, this is a simple system. Architecture resides in OK Information about the hardware lets From this you will get disk RAM CPU all these things If you need information about it, If there are some commands then the commands are as follows I had kept it for day two but you can do something. You can extract information about the hardware like if you whenever Okay, maybe I don't have it in me, but if you Free Han wrote in his Linux I think What happens for this remains free hine This is for Mac OS, this is my Mac, so this such a thing is happening Rum Usage Let's see what happens with the free half. There is something that remains, it doesn't matter If you don't know why No DF Fun A E for your hard disk no No, it's free, but for Mac. Anything else remains. It's completely fine free. And if you write such commands also No command ok the free command is a common utility of If it is a little different then something Commands change, not much, okay? If you need information about the hardware You need to know how much CPU is being used. You can write top if you want that How much is the hard disk being used? You can write DF Heine if you like rum If you want to see it, you can write it for free. ok now That Everything in Linux Starts from the root folder cd slush this Whatever remains, this root folder remains, okay root folder means if I go to that If I want to tell you diagrammatically, everything starts with a slash okay This is called the root folder, now inside it You have many folders like Home and us r then bin remains binaries remains then ETC remains then your variable live and many things live if If you want to know about all these things I'll give you a PDF where But you will get all these notes in today's session. All the things covered and all the notes will be given to you. We will meet wherever it is, what is home? what is usr what is bin ETC Ver Ye Jo cd sl cd is a command to change DirectoryEntry ETC bin volume system in folder files private usr temporary files y Everything is files and folders. Linux keeps everything sane If my logs come, I will put them in Ver So CD SL Ver See the SL logs here logs, whatever logs are generated Let's go here, what do I need? If I want to see my users, then CD Users now here there is a user named Shubham so This way Yucks on the other hand is a commercial where You have to pay for their services. You can see what's going on in the CPU. So what is the command, top, so put top and this If all the processes are completed then what is the total processes running on every computer to It depends on the computer, but this computer There are so many total processes in it, out of which two Processes Bus running Five processes running It is happening and the rest are sleeping, great processes What happens in the background? So that your system can run There should be help and the first process that happens Neither his PID is one, see this now Aayega P ID One P ID stands for Process ID So if any of your processes If the ID is one, then understand that the boot loader has First of all he launched the process that is Why its process ID is one Okay, that was it brother, now the status of the process From which seconds do they come, see here many You must have seen the states, look at the state sleeping Running OK so there are states that a If the process is running then it is running if she is asleep or not working If it is sleeping then it is sleeping. If that process is killed If it has happened then he is killed or terminated. If that process continues like crazy It is there but if you don't want to give it to me then That zombie process is so different There are types of processes and all of them The status of your processes is that if your If you know the process is started then just open it. Running will appear if your process is stopped If so, then it has stopped coming. will go Running Sleeping [music] terminated Zombies are like this for many of your OK States of Processes in Linux Are Father Hey brother, how long is this video? This is a 45 minute video where you can in the forest You have understood the basics, you have understood the basics in Day One. Yes friends, look at this video only The purpose was to make you aware that if you are someone like this What in the world is going on, Internet? It happens [music] F step so what happens in that Deps Engineer said in the first step AWS Account Setup for Recruiters And Hiring Manager Receive More What Happened This Okay, so what this is, you're a devops You're an engineer and you basically have an AW If you want to create an account on S then how to create an account Let's create it, okay, to create an AIDS account Why am I saying this because brother, this is the way Right, either you can use WSL Use Virtual Box on AWS Create an account and use the virtual machine. I am going to tell you about the virtual machine method. To create an AIDS account, go to AW S go on he should know you depps If you want to become an engineer, then do that. He should go to AWS and go to After this you will have to sign up for Visa Both credit and debit cards are accepted OK, you can create an account by giving an OTP. If you want this video, I will post the link. in the description and then create you account If you want to take it, I will show you by creating an account. So I did not create an account and then log in to my account. If I log in and show you this, it's mine. If you have an AWS account then my account I will go and after I go, maybe I You have to sign up and in sign up I What will I do? I signed up and It's asking me for the code because I made a little security If I have kept it then this code will come on my phone. It goes and comes okay what have I done Created an AWSP account and I rent a house in AWS You have to search for e e2 e2 stands for Elastic Compute The cloud where virtual servers reside I understood in the cloud, brother Cloud. What is it, I told you, data? There is a center where the systems are kept. and you can access this data center from here If you connect, then the cloud is the data. There is only a center and right now I am there. To create a system in that data center So on the latch instance I'm going to I'll go and Linux Let me create a system called for devops, okay? Now what I told you was operating Which operating system do I want? I want which character, why character No problem, you can also take Ubuntu. Free tier eligible means you have to pay for this thing. I won't have to pay any money, I curse you. The free tier is gone, if it remains like this then take Bantu Look, don't make the mistake of looking at this simple Windows. also than OK and after doing this instance type t2 micro take why because again Free tier eligible so you don't have to pay I'm telling you this and get a pair of Let's create a new pair. All these things are in this video, I just I'm going to tell you one way, okay? I am telling you how to create an instance. So that you can wait for the next video Be prepared, okay, that's it. Instance mine Ready OK, right now the instance is pending, so brother You were telling me how does the internet work and Directly at the end of the video you I ran AWS, it's way too high. I am down, I have understood the basics. I was a beginner, friends, all this I don't know why things come down to the basics. Because what you have come to read is Devops where you level up every day I have to go and learn something new every minute. and that's why How Does Internet Work When we started in the first minute and Now at the 50th minute, how an instance Makes you want to know all this stuff friends and that is why in the date that will be This is where we'll start that instance. Now I have gone from pending to running. I'll go here and click on connect. So look what this instance is is a server what is a server is a web server okay Where In the parquet, what do we call this thing? This web Server Ko un or nux is installed and I What will I do to this Nux, this Ubuntu? I will connect, I will connect and with this I know what the benefit will be from this. I will have to practice for Day Two. one for Got an Ubuntu system Got a Linux Are you watching this Are you watching Welcome to Bantu? I will tell you but today's video was on Basics so I covered the syllabus a little bit updated what did you do that [music] [music] To you It is a very smart device by the way. It means a lot and does a lot Computer but it does this only when we tell it to If instructions are given, a user When someone gives instructions to the computer The computer works accordingly if it If the computer is your nuke, then whatever There will be instructions, we call it Commands Okay, so if you want to get some particular work done is your To do this you need a shell did not create the instance if you are using virtual Box Pe Chal Rahe Ho Vegro Ho W Even if you are running on SL, all these commands It will remain the same for you no matter what wala okay so let's start so I go to my keeping away your [music] If you catch it, that is what the terminal is. This is the terminal from where we can shell If we catch it, it means here we People will enter shell commands like a simple C I will tell you the command if you know today's date If you want to see it, then write the date and then enter. Friday, December 15, 9:00 am It's 9:00, okay, that's the time in UTC. If you are telling then you told me this date, how did you tell me? The shell command date asked the colonel, "Brother!" what is date kernal ne hardware pe meaning Understand that the date has been displayed on this display. Now there are many such commands coming in Friends, the first command is LALS. means list everything that is in a DirectoryEntry DirectoryEntry [music] So make a directory entry Now I want to see what a guy named Depps is up to. DirectoryEntry The details tell us that this app is This user created it and it is his There is something Parmish, Parmish, we will see later. But let me list it in a little detail. Now what do I have to do DirectoryEntry Where you are present, where you work are you working DirectoryEntry If you are in a folder named Ubuntu inside Home Name Key Command to create directory entry and file Hey touch touch touch types touch ok touch new Tear It is in T, the color combination changes a little. And if you want to see it more clearly, this DirectoryEntry The first is D stands for DirectoryEntry IR cloud so whether it will be d next to it or not will remain will remain l s hine l that are watching There is a D in front of the cloud, which means it It is a directory, it gets denoted like that brother It's all so dirty, everything I have written that I do not have to clear it to everyone. If you want to do it then you can do it after clearing CLR. If you clean the terminal, friends, like this There are some commands like ls PWD M KD I R what is this CD CD DVD wala so The times are gone but what is a CD? A CD stand. for change directory so if I get the current Directly from someone else DirectoryEntry So he will tell me that Home Ubuntu Devs You are in it, which means you are in Deps right now. Now brother I didn't know how to enter the directory. How to exit the directory, give cd As you take a step forward, take two steps back. Dot dot and came back PWD did Look where you were inside Home Ubuntu Devops now Come home come to Ubuntu two steps back Now I have to go from Ubuntu to Home. and if I want to go back then cd dot dot now I Where have you come? You have come home after doing PWD. Look home I have to go further back CD dot Dot now where have I come root DirectoryEntry Late, I have to go to the bin folder. Binaries are kept in the CD bin and now I went inside the bin, look how cool If you are feeling like a hacker then do such things Now I have to go back to my camps. Where was it in the folder cd sl home Then it was in a folder named Ubuntu Then there was a folder named deps, I came here. You can see that you can open any folder from the CD. I can move whenever I want, go here and there You can do more work, okay, let's go now. Here is the next command which is delete. DirectoryEntry Des file.txt Now you must have understood, right? How to create a file, how to create a folder Yes, file.txt is done with this torn unit. what do I have to do to delete it so I I will remove RM, remove whom? I will remove the Fidti Acti I will go and try LS but I won't find it. It didn't even go in the recycling bin, it went okay. But brother, the question comes I found this cloud devs file in all three of these I want to remove the cloud folder from OK I would remove the RM Cloud folder. I am and it will be deleted. Enter, hey, this is it. He is not even saying he can't remove it. what it is View the directory using the rm command Files are removed from directory entry Alphabets are written and spoken Flag so I am doing remove recursively Everything Chch is inside cloud enter now Look, now the cloud will disappear, do you understand? How to remove and delete files How to remove folders How does another command remain -r md I R Deps so what does that do to you You can remove the folder directly. How does r mean rm mean remove a file r MDI R means RemoveDirectoryEntry [music] I may need to create files near So I want to create a file sorry I'm going to name it new file.txt ok New Fa I want to create another file demo Faith alone is touch demo file dti akti now by doing this I I will make a demo file but this file is MT Because I just made it up If there is nothing inside then if I have to file it If I want to see the stuff inside, what should I do? I will do cat this is not cat but cat demo file.txt Enter returned nothing because the file is empty. Now that happens whenever a developer or Then one goes into coding which is the most The first program I write is hello. World should be printed here too To print Hello World, we need We use echo echo and then double Whatever you do inside quotes but hello The world is created by those studious people, brother. We are friends so hello friends ok hello friends so look he Hello friends, I have printed it, now this is Hello friends, this text has been echoed. It's echoing but it's not on my screen I want to print it and put it in a file. So what will I do? What should I do to redirect Hello Friends? I will redirect this angle I will redirect it from brackets Whatever output came, put it in your demo File in Dati Ekti Now if I do cat demo file dti XT you will see hello friends so What cat does is read the contents of the file. Shows what Echo does on the screen Whatever you put in front of it, print it. will give and what it does is it gives the output Channelizes how much a file contains Isn't it cool? So if you want to write a file In which something like this is my file is written So echo this is my file and you can use it as new file Bhaiya, my file.txt does not exist at all. no problem it will make it it will make Try LS and see if my fat is formed then if If you don't want to use touch, you How much can you do this directly? It's cool, what a great thing this is, okay, so this is a The thing is done, brother, what is Jad Kat? Meaning if you have a zip file, it is a zip file means four files It has been compressed by compressing it I have created a large file, ok large file. Is it a compressed file or You must have done it in zip format, right? Unzip the files inside that zip file. To view the contents we have to cut the roots We use it and we use touch. To create a file Bhaiya then this head tail What is head tail friends, what happens like this Suppose I have a file called Inside which some lines are written like I wrote cat new file.txt now its There is nothing inside then cat ma file.txt Inside it is written 'This is my file'. This is my file, now this is total What is the number of lines if it is the same I like the top five or top 10 lines from the top. to print then I will write head my Tear t Now print the above lines I understand that if I had such If there were 10 lines, then the above Five prints are understandable and If this is what I do, tell my father to act The below line is printed now in this case How come there was only one line in me, then there was only one above. There is only one below, so in head and tail Same printed but what is the head If you have a file where a Doti Cha Pa 6 Sa 8 9 10 Aise Kuch To Line Hai So head will tell the first five and tail will tell the last five The head will tell you five and ask like that system its okay and what does tail high f Hey brother, if he does tell him then tell him What does f do so tell hine f new fidet akti or else let's say my file.txt He waits to see if any more lines are added. If it happens, he will show that file here. Keeps monitoring, for example, a real Let me tell you the life scenario, you are The devops engineer is checking the logs. Daily Daily Logs are coming to you again now You don't have to read from top to bottom. If you want to see the last line then what are you doing? Kar do tell hein aapki log f to jo naye naye Logs will keep coming from below and they will be visible here will stay okay they will keep looking here watching Yes, your terminal has not opened. Basically that file is opened if you press control c If you press it, it will turn off. tell hine f is also a very important command Friends Brother, what is lace and what is peacock? peacock mo okay so what is peacock less what It happens that you understand that I have a very large file. Very large file. 200 pages of 200 pages now in front of you. If they open, how will you read all the lines? What does Less New Fidelity do? XT takes you to one page then another then another Third page, then fourth page, tell page by page If he gives it to me then I have such a big file If not, then look, this is my file and So this page is telling you that you are looking at this file started and this ended so paginated way I will show you things more the same What does Peacock do to you and pages Displays and pages Shows the entire file I then what does less do to you small ones If he makes it in small pages then Less More Tail Head All this if you have a lot It is a big file, you need to select small files from it. things above or things below If you want to see paginated items then you can do this thing Do you use it friends, this was the basics of it? You should know this much, okay you should know this much I think some 20 videos have been made. I don't have to wait for a minute, let's go a little more dangerous ones commands okay fun Now we understand that it is coming This file is my new file. Home Direct No Where is PWD Yes, the home is in Ubuntu, here I have to give it a If you want to copy it to a particular folder What is a particular folder MKDIR Deps, so there is a folder named Deps in it. I want to copy the new Fidgety act So I have to copy CP copy Whose source? What does source mean? Source means what? I want to copy the source file to a new file. I have to copy it, see if the desk is an empty folder. It is empty now where do I have to copy it Have to copy inside the folder see slush come went inside the folder and by doing this I I will press enter, now you know what happened. The file has been copied, which means it is here as well. Show list is also inside this dev folder CD Des and Ls see new file copied So you can copy it now from the left. I have a Y here in the deps folder There is a file Touch Des Fidti Ekti Deps file.txt ok What should I do now that I am fat? XT is This will create a new folder here. KD IR Cloud Okay a new folder Made a cloud that's an empty CD If you try to cloud it, you will find it empty. So I have to stay in this folder, meaning home natu By staying in the file kept inside the devops Copy inside cloud file folder If you want to do it then cp is kept in the deps folder This is what happened to the file which is the devps file Yours Source How Folder Name File Name This Why did you do that because you are not in the folder If it is outside the folder then the path to the folder and copying it from there to the cloud Now if I do Enter, then CD or LS Cloud then you will be listed What are the things inside the cloud? How interesting is the CP command that you can You can copy the thing also brother question I get this cloud folder Copying the entire file to the devops What I told you if you If you want to copy some things inside then CP Hine R Recursively copy the cloud to two devops Enter inside now if you go to Deps You'll find the cloud folder there. Because I recursively saved the cloud folder Copied it into a folder named deps How cool is that, doesn't it mean you can do whatever you want? Okay, but now a question comes to me, brother. This file is new fati ekti this cloud I don't want to copy it inside What to do to move inside the cloud I have to move my CD cloud to this I have a deb file inside which is new and torn. The action is to move inside the cloud Do you know what the meaning of move is in the cup? Copy both in the source and in the destination The thing is created from the source in the move Moves from the source to the destination What will I do if it goes away? I will do CD Deps here which I will get new I have a file and I want to move it from here to the new one. Where is the file to be moved? How to go back two steps in a folder dot Dot a cloud in the folder behind it The folder is written and you have to move inside it. Enter now see your new file from here You disappeared, where are you now? Look, please clear this. Where did you reach, inside the cloud, in the cloud If you go, New Fati has reached there. Friends, this is how you can move but Brother, the move copy is done, how do I rename it? Let's rename me Depps I want to make a nose for devs, how do I do it? Don't think I have one thing and he has another. and get deleted in the source So from Deb So move devops ok move devops to linux For Deps Rename Now look Deps has been renamed How accurate is Linux for devops? The move command is very interesting. That's interesting, okay, now this ws command. What if he spoke in Tectin's language? So W S means welcome but linux.com file.txt It has a line There are four words, one, two, three. Four is a line, four is a word, and 16 is a byte. The file is of 16 bytes, bytes means storage is taking up so much storage then LS Han L. If you do, you'll see my The file is 16 bytes long Do you understand how much storage space it takes up? What is its size, it is 16 bytes, so W s What the Number of Lines Tells You The number of words and the number of bytes tells three things: Yes, you enjoyed WS Word Count now brother, all this is very basic. command when it comes to interviews You are asked what is a hard link? What is a soft link? Most asked questions The next question is what is a hard link? and what is a soft link Look at Windows when you have to play a game. You used to keep games on the NCD drive. Remember how you play games on Windows? Cricket 07 used to happen somewhere in that C drive. You are always lying there, little mother Computer C Drive Program Files EA Cricket 07 does not play what can you do You give me a shortcut on the desktop So what are links? Links are Shortcuts A hard link is a shortcut Where if your Jo Main Jo Main Wali Even if the file is deleted, the shortcut It remains alive, what is a soft link like? If your main file gets deleted then this The soft link shortcut will also be deleted. Let's see a practical example of this. Let's take Now that I have a Soft Link Hello friends this is soft link and I want to write this as a deps file I wrote okay in the dev file. So now if I do what does cat cat deps file do to me You will get it Hello friends this is soft link ok This is soft link PWD do this which The file is located under Home in Ubuntu. What should I do if I want to create a hard link? I will write hard link, hard link or No hard link files or any such syntax I'm just creating a hard link. Hardlink file and what can I do with it I will copy this path, this path copied it and inside it is my file what was that file So if I do this then what will happen? If this becomes a hard link to me, it is soft If you want to create a link, first create a hard link. Let's do this Enter a Fail to Access hardlinks Let's clear this up a second. First, okay, and if I need a soft If you want to create a link then s ok this is what I will do now I will do this here, I will give my basically path I will give you the path as I have to give you the path hey this wasn't path path what was it Who remembers what sl be Sluban 2 Sl en is the command to create a link h s is The Command to Create a Soft Link Soft Link means if the file placed in this path If file.txt is deleted then this soft link right, that too will be deleted enter soft The link is created, please see the soft link file. Blue blue color LA N was seen AT this shows more details so look at this Arrow showing view soft link file Showing means this is a link to this file location its simple means if I What if I CAT soft link file? I know it will be printed, hello friends, this is Soft Link: Now tell me what is the best part If I go CD What Was the Cloud and Then DevOps And yes, yes, this was it, no, no, no CD, yes, here And I will change this to this file was Change and my deps file I will change it and where is the original one? I have changed the location of the file. Let's see what shortcuts are in the shortcuts. This is the soft link, there are changes in it. If reflected or not, then CAT Soft link this file was changed if Something kept in your original location If yes then you can use the LA command and the link command. Shorten it into any one short link You can link it to a shortcut and that thing you can use Do you know what happens in a soft link? So if I did RM remove I'm in the Linux for Dev folder devops file from cloud folder I removed it Look at the soft link file given, it has turned red. What does it mean that the soft link file will be deleted? Softall soft link will delete if source is I understand what a deleted link would be. What is a shortcut, what is a soft link? If the main file is deleted then the soft link will also be deleted. Will the shortcut be deleted? Will the hard link be deleted? It happens even if the main file is deleted The hard file will remain and the hard link will remain visible. I am so Alan does one thing, it restores the file. If so, how will you make it Touch Daybed No No No How much has this touch become of this file now? Echo Hello friends where should I write this write to file I will write it in this file. I will do it if I do CAT Friends, it has come, now I am trying to make it hard. If I make a link then how do I make it LA Highness If you don't put it highness, it means soft link. Hi Alan now what is the path to Linux for deb a and put its file name link shortcut link I will give you the name, enter the hard link file Now if I do a soft link file what happened yes soft link file blue It happened, why do you know because on that link it When the file is returned, it looks like this: hardlink see hardlink is here now if I will cat hardlink file hello friends It is printing but if I remove it I will give you my original one RM I have removed this one now if I LS If you do this, the soft link file gets deleted again. hard link cat hardlink hello friends The source was deleted but the shortcut was not deleted. What happened was this thing is called a hard link and Soft Links I hope you like Hard Links and You must have understood the difference between soft links. And how to create hard link and soft link Let's do that, you must have understood, let's go now Cut brother, you should skip point 14. I will tell you, I will tell you, okay, cut cut, what? acts like you have Cat my fidty acty and inside it this is My file is four such words, let's say one The word is two bytes long, I need to pick up the first byte. if so Cut through a bite by a bite Cut a bite and give it to me from my Fa So he gave me a T from one Take it and cut it down to four bytes and give it to him. If you give me this, one, two, three, four bytes If he gave it, then I understand what the cut is. It extracts a small portion of the file If you want it, he will cut it and give it to you. You get that much work done now what t Hey TT, this is not a tea seller, it says tea I am Hitesh Choudhary, tea with code The channel that comes to mind is so perfect. You have grown it, right Hitesh sir, amazing work so tea is tea double e not tea and not tea so what does t whatever you command you will put echo from let's Hello and then you put it in the pipe. then that thing will also be printed on the screen And if you want to put it in a file, then that It will also be put in the file, show me now Echo Hello And this halo is called a haloed t ekti If you want to put it in a file then use pipe operator In t helod t ak t now see what will happen you know Which is Echo Hello and will also be printed and this Hello load t will also move to a new file Enter hello came here now you are seeing a Hello load t akti file has been created and if you Cut haloed t will do halo print inside it hoga to tee is a command which is used to Tech input and output and display the output on the Screen edge well edge file then you will get in the file The output will also be displayed on the screen. How right is that if you get something The thing also needs to be printed on the screen. I also have to put it in t use how much school so it happens to be the sort is the same as you If you have a file, you have written in it If A B root comes then what will it do to it? will sort alphabetically e.g. A B How can I tell you now, look at the roots Sorts alphabetically, that's all Works sort of fine, try it out. I will give it to you, so let's So now it's sorted so if I Sorted Hello to .txt.gz [music] me in the demo file or hardlink There is no difference between the file and the demo file. What will I do if I want to see diff diff in demo file and hardlink What is the difference in the file, if any difference There is no difference due to any region If not and if in hello dti acti If I want to see the difference, look at hello. Hello friends in AKT sorry demo in Fati Hello friends and in this hello is first Why was there no output in the because in the demo file also hello friends and in the hardlink file Hello friend was also there, so there was no difference But in the demo file there is hello friends and hello what is in hello is so if difference between . txt.gz He'll come hey def double F shit shit so dirty done so def hello dty act and kisam What was your demo in Fidget XT? want to see the difference so this is in this is in hello and this is hello Friends, if you have it then you have to click between two files. in or between three files if you find my If you want to see the difference between the files also Look what happened okay I th between three I don't, yes, that word in the middle of three The count goes on, the WC was three. If I walk then WC is one of those three will show everyone that there is a line in hello This is the word, there is one line in the demo, two words There is one line in my file with four words. WS works for multi-file files Diff runs between the differences of two files Is ok brother it's clear oh brother you Took 2025 more minutes and this section also You got it cleared for us but brother, you did this Did not tell about the editor VI Editor What is this, then who is the VI editor Isn't this an editor like yours? There is notepad and GEdit and so many more. There are editors, just like there are VI editors. Which I personally like a lot. so if I do well yes if you do this You are running VI Editor on your browser and You can zoom in to the browser's resolution. If it is VOOM then it is EM or Wei, he misbehaves a little, maal If the function is done then I will see you zoom demonstrates Yes, I have zoomed it to 200 now. I want to open an editor and I want to If you want to edit the demo file then Demo file activity enter view demo file open Now I will go to insert mode, press i I'll give it to you, I pressed the i here. Pressing 'i' on the keyboard will put you in insert mode. I'm gone now what am I going to do? This is hello friends, some toy mail function has been done This happens because I have made a resolution I changed this if I reset it. So look, he'll be right If this is what I did by resetting the VIM So look, it is showing correctly and it is showing correctly right now. Now he is not causing any problems This is from VIM and the EC2 in this browser If the issue is with the instance connecting then This editor is simple, just understand this much that Open the Vi editor on your terminal. Now if I open this file for you like e filename data activity whatever and open this file In this file you have to insert So if you press i then insert mode will be activated. If you need to exit insert mode So you press escape and you're out of insert mode. If you come out, just look, I will insert it now. I am on mode, what did I do to you There's this escape button in front, press the escape button. Look, it's out of insert mode now. What will you do if you get out of alert mode? colon double dot hota colon right w end Dump the quit button and press enter now. Let me zoom this back in because You won't see this is done now if you cat You will make your demo file, whatever edits you make and everything will appear here Look what happened Are you watching Jad Hello friends this is in front of you You can see how cool it is, right? I can see everything now, let me sort it out. I have to do it, see I have got this as well as the root Got it so sort hello no what was the demo Look how he sorted it out. All the spaces were put before it. And then you sorted it out, how cool isn't it? sort function then you can use vi editor or You can use both the vimters, both work the same. Does VIM stay a little advanced looks a little better Okay, now brother, let's come to the last section. is where the real fun begins This above Linux was basic. You will definitely be asked this in interviews. It is going to happen but the real fun is here that my pass this e2 or one I have exactly three lines in Mumbai. I don't remember but Western Line Harbour Line Central line is something like this so there There is a port near the Pe Harbour Line where Pe The ship comes and docks its ship in the port there. Park it just like a computer There are many ports nearby. There are ports where you can access things so if you Connect your computer to another computer If you need access to a port, you have SSA. So it becomes a port. 22 is the access to port number 22 on SSA. Generally, if you have a computer If you want to access it, then first of all its Access on port number 22 should be OK after that you think you are Rahul and you talk to Anjali. ok are you talking to anjali Rahul Now Anjali will talk to you only when Anjali's You must have the phone number, that's right Anjali You will talk to me only if you have my phone number If she does, Anjali's phone number is private. Bhaiya and Anjali do not give it to anyone. Anjali Anjali's phone number is private and If you don't give your phone number to anyone, To whom will Anjali give her private phone number? Rahul To whom will Anjali give her private phone number? She will give it to Rahul and Rahul, this name is a public name, isn't it? Rahul can be anyone's name these days. Anjali should know that Rahul is a public name. If you want, go to Anjali It should be with the public and with Rahul It should be private only then this Connection will be possible brother, do you understand anything? I don't know when you do the SSA. If yes, then that is through keys, if you remember. So when you latch the instance Here neither one nor the other pair is asked and we The last time people created one Which was called Nux for Depp's I Hope You will have that downloaded now. This key is created from which two parts There is one for the public and the other Stays private that of the public and that of the private It should be on the laptop or on that server The server you want to connect to, such as If Rahul wants to connect with Anjali then Anjali must have the Plick Key and if Rahul has to connect, that is, the server on which like if I want to connect with him then my Which private should be nearby? Private Connect Private Key near him It should be something you are local to If you are using it on server then go to local Private should have public which is the server so whenever you If you create a key, then in the background The command runs with the ssh key Generate SSH Key Generate two keys does public and private, then when You do this part, right? Create a new key. Pair then one command behind running ssh Ki Jan To Ki Pair Ka Naam Like if you pair the create key then the public key goes to the instance and the private key If it comes to you in downloads then Where do I check my downloads folder? Went So I am here, oh my god, here Yes, but you can see a lot of things. Was ok nq for dev i downloaded it which was for this instance now what should I do I want to do this nak for deps I want to do SSA using this machine So what will I do here, I will terminal shell I will, okay, I'll open my terminal. I will take it and what will I do, I will take it. I'll go to the screen here Instances Pay and [music] Try putting it here ssh, enter this command to see in your command prompt if If something comes up, it means you have an SSA client. You can pass a OK now locate your private key file now Where is your private file? Next dot pm found download folder I'm in the download folder Now what I will do is run this command if If necessary, then to assure your Key is not publicly viewable what would it be I will definitely tell you that, but you want this command. So go ahead or skip it if it If you run the command, you will get this command You will get to run it directly if you run this command If you don't run it, you will need to run a command called sudo. If I have to add it, I will tell you later. Go ahead and run this command for now. AOD 400 So what is the command ssh command hine i hine i means path to your private key file what is private key file nqfs key pm and your username is username ubuntu then What is the username Ubuntu? Rate your public DNS here to compute N Cloud Ye Ho Gaya Toh SSA Path To The Key File username: Username of the user you are logged in with You have to do and f and this is your itu address Enter Are You Sure You Want to Continue Connecting yes I am sure and like you yes You will see you soft link they were playing all those things they came I went here and understood how you From any computer to any computer You can connect provided and I will post the link to Putty. Try Butt SSA in the description SSA is a good thing, okay, you can log in. You can see the disk usage of the disk, so how does this happen? How much storage is on your system? How much storage is left and occupied is all that Things you can see from DF OK DF So he is saying disk file system so this This file system has so many blocks It is there and it is used so much, it is so available, meaning TempFS has been used for only 22 times. Temporary file system has so many blocks And not even a little bit has been used. If it is available then know about your storage like this If I tell you then what will happen if DF Han A He goes and tells it at a slightly higher level. gives that 7.6gb storage was 1.7gb It is used and 6GB is available, the same thing is shown So if you have any concerns about disk usage If I want to know then you can do another DF It happens that I don't use DU most of the time. It's like Disk Utility You need to know some particular Want to know about folders from Let's me dnv dot dot means of this current folder Want to know which quickc file If you ask where it is stored, he tells you that he has not come. what's left dot do yes then see DU.com means which section is in this directory There is a hidden folder called cache. Well, the hidden folders are generally dot So if you LS Han A If you do this, you will see all the hidden folders. Look, the cash has appeared, now whatever It's a cloud folder, that's just a few bytes. eating cash for debt eating so many bites The cloud inside Li De is so If you are eating bites then some information Shows the About folder Okay, now I want to see the processes, brother. What top processes have a PS name? PS tells you that you have Total Processes Which Second to Total Processors No, the total processes tells you the top. The top command shows the processes PIDB ID to P this is running all these Processes have system d kth read cc C RCU NET NS Too many processes running You can quit by pressing Q and P.S. Let me tell you that particular bash On which process ID is this command running? It's running fine, so some processes Commands live ps top done now f What is a user? F User in general so I don't use it but it is for a particular file This means that your home Ubuntu The file system process is running on this file system. system what happens if you are a network If it is in the file system, it says a nas What do you say, SSS means network attached? Storage Meaning if you are driving a two-wheeler, there is a lot of All file systems can be attached, so F The user tells about it. And if you want to kill any process If yes, then you can kill me with let's If there is any process then I have topped it up now If you want to kill a process from it, don't do it generally. To kill a process but if you want to kill If you have to do it then kill him and then whatever The process ID is something like 162 So I don't know if there will be some process I will kill. He was trying to do Operation Not If he says permitted then you don't have permission. It's basically okay to kill this thing. So kill any process if you want to kill it If so, the free command will be on your disk. space tells me free if I write I have a total of this much rum in it. So used to it, so free, that's what I need If you want to see it a little better, free here H so me 949 ab means around 1gb rum Received 174 ABs used 430 ABs are free So this tells you all these things. ok no hoop what is it brother noop generally Neither do we use devops in the application Do you have any application from Engineer Lets? The logs for that application are coming Logs lets you store those logs in a file. If you want to do anything, what can you do? command is like this is free han h its which I also have output that I need to store in a file. If you have to do it then Nope and then free Hine A free hine a then see what ign will do input and appending output to nohup d at So it will create a file, nope, put out this and This output will be put inside it. So cat noped out look put that output Now you know what the benefit is. If I drive no Whoopie a hi You know what the fun will be with the first one. The output was there, it will remain the same and its The new output below will appear, then cut The first output and then the second one output so your logs keep getting collected like this Now I want to see the first five lines. Remember head nope dot out so si before Sorry it says 10 lines and here You can write 10 You can write F If yes, then it shows five, sorry, where was the head? F A something remains here n5 or something yes hine a means number of lines to head number of lines five node dot out so means above five lines this is what if i did tell him n fnop dot out so five lines below He will tell you, are you looking at these five below? line or the top five lines then tell such work does head and tail do things that The last command is vm st which is virtual Your memory remains about him. If I had shown you everything then M So this is so much of your total memory. It is free, there is so much cash in this, that, if VM If you do this then the active and He is active and he shows all this. If he is telling you about your rum then as a The devops engineer will tell you this sas command somewhere. Otherwise it would have been used somewhere, friend, how many fathers We have covered the commands 10 10 10 I covered 30 commands, oh my god, how long did it take? In an hour, friends, I hope you A little bit of meaning in nux commands You must have gained confidence that right now, friend Linux commands have started to be written and Started with LS, learned to do SSA VM status is showing disk The usage is telling me that the rum is telling me so much I am doing all the things so I hope you like this You might have liked this video if If you have come then please tell me in the comments. Please give a like to this video I will find out if there are more videos like this. If you want to make me then I hope you Works very well for me I understand what new things need to be done. I don't have to do it as a devops engineer as a Cloud Engineer Developer So let's start the video. If you like the series then definitely give it a like. Sure, let's start the video. First of all, I will install it on my instance. I'll go and do the instance. Connect brother, what is this connect, what is SSA Hey friends, I have told you in day two that How do you access an instance of an SSA? If you can connect, please watch that video. If you haven't seen it, then here it is Let me copy the SSA command and paste it here. I am my terminal terminal means I am local to connect this Eat instance to I'm going to try it okay so this is a little I can enlarge it for your visibility. I will give it to you so that you can see everything clearly. Give ok, it has grown quite big, no, it is quite too much. I have grown up, let's do it, it's okay, someone said okay Done, let us first understand that I have already mentioned in the first part system level commands whenever a devops The engineer opens his system and The thing is basically that user and file You have to understand the management first. That is why we will use all these commands one by one. Let's see, first of all you have to understand that you Which platform to use? Ubuntu is like Darwin. If it is based on the platform then let's If I wrote Y N A Y name what would happen to it I find out who I am I am running this platform, so this is me If I write your name on this, then this will happen Darwin will go to Mac OS. MacBook or any Mac computer All of them are Darwin based, whereas those who Natu Scents Kali Let me tell you how long I've been walking now. Time so this system last a 1041 1041 means Well, it's 4:00 in the evening right now, but this UK time is in UTC If yes, it is happening in 1041, now it has been 9 minutes. Okay, it's been 9 minutes since this video, father. Hey ok load average is a little bit of load in this There is not much load on the pay and only one user is active. So if you have multiple users active If yes, then up time tells us how many How long have users been logged in? and all that Now the question arises that you name and up We have understood the time, what is the current date? People had also seen in the last session that if If you write the date, you get the date. It is very easy to consider a date as an interview. The question arises what is the difference between I and I AM? There is a difference so what does it do as soon as you If you write, he tells you which one When did the user log in? How many users? I am logged in to this system but I am I indicates that you are logged in to the current system. user what is his username so if I Only the user who is logged in to the system If you want to see his username then I am I will write it down if I get all the messages of that user. Activities to see when they logged in I will write down everything that was there and I will write down both of them. The command is kind of similar but who am I to There is only one user return from whom you A list is available of which user and when All of them were logged in Things now Chach ye jo wich command hai na ye The journey of devops engineers has been very The work comes to me from Lets pythonanywhere.com Take it to me python's installed is ok bash It is installed but which batch is bash If it is installed then I can write which bash like this If I give it to him, he will tell me the location of that bash. bin in your sl usr folder It's bash, that's the bash I'm using. Now you can say which A or anything CP is okay so CP It will tell the location of the command and similarly if You There is some fault in the system and that fault is from a particular version of Java now Your developer said that brother whatever you have The version is that is version 1.7 from lates and which That is what you need, at that point your first task. You know what will happen, you have to go into the system. And we have to understand which Java is in this now. If Java doesn't exist then it's not a location. If you tell me what to do, I will tell you. Which Java is installed on your system? There are small things in the system level that a devops engineer should know need it now ID is a very important thing. Friends, the user with whom you are logged in What is the ID of that user and his group? What is ID, I mean see what an address looks like. is this your system It is you, there will be another user like this There will be more users and you will be able to connect such similar users with You can also put it in a group and this user There is an ID called UID of this user also. Similarly, there is a UID and similarly this group It also has a GUI ID. Or there is a G ID or a group ID. If you want to see all this, you just have to I have to write my ID here. The UID of the Ubuntu user is 1000 and that is the group ID of Ubuntu. This is it and from which second do you have groups? There is a group in the system called Ubuntu. There is a group called ADM with a dial out name The group is CD floppy sudo audio dip There are so many video groups in your system. How many users are there in it, it is the same as Natu and And if you add a user, it will reflect here. If done then it will be in system level command Why am I telling you this because tomorrow if your Too many users have entered the system. How will you check that all the groups have arrived? You will check it like this, now I will give you a I want to tell you about Brahmastra. Brahmastra or a VVIP man or whatever it is sudo or sudo very It's a dangerous thing, it's a very important thing. So today we will understand what is sudo. Understand that you are in your home now. Look brother, this is the house, okay you go to your house I am here now brother you are here this is fine you are there Ubuntu okay you are Ubuntu what is Ubuntu Who am I Ubuntu user, okay Ubuntu one user now you have created another user ok Let's create another user whose You have named me Jethalal, okay Jethalal. Now this is also a user, you are also a user. You both live in the same house, how much longer can you You earn a package, what a good person you are. I have a car, a bungalow, and a bank balance. It doesn't matter whose house will be run, I know Ubuntu won't work, Jethalal won't. Whose will it work, will it work, Papa's Papa's, who knows? Brother, is there anyone above father? Can I say something, something above my father? If not, then understand that if your house is a user ok papa is root user root user He has all the permissions to do whatever he wants, whenever he wants. You can enter any room you want. Whether you can turn off his light or whomever You can do anything whenever you want. Can it be Papa, okay so this is Papa This is called super user, okay that Let's say Super User, now let's say this is Ubuntu. Is this Jethalal wanting to take a nap or else? Then delete any file of Jethalal or Then Jethalal basically has to do whatever he wants. If you want to adopt Ubuntu then I can't do it unless I get my father's permission. Yes, and if Ubuntu wants to do this, it He uses a Brahmastra that Papa karo ok sa do to sa do means super User Do If you need anything If you are not getting permission then you can use sudo If you use the command, what is sudo? Sudo is basically a group within which this System administrator or root user Added Show Show How ID wrote groups look now sudo name group of Got it, sudo is not user sudo is a group okay and in that group I have permission to do a crazy amount of Thing for example I have to do in this system If I want to see all the users then I what will i do cat sl etc What is slush, not GRP, one second One second, what do we do? Let's do CD. First go to a folder named ETC and there There is a list of users, so from this you will know that the list of users what do you say It is very easy, I suddenly forgot it. So here you can find all these things. Can Yes, I am not able to Recall probably speaks PA S SWD He sees something in his PASS daddy What P A Double SW D L M N O P Never mind, let's do our work. Etsy List Users I find a user named Ubuntu. Here, this is the Ubuntu user's path. Now there are some folders which You are not allowed to go inside like Root I rooted the CD, permission denied. Dude, permission denied, now what should I do to So it is not letting me enter the route. Do not go inside this root folder. This is what I am giving you in the ETC folder. I was going inside, CD etc., only he knows. I was giving it but why not let it go in the route He is in the route, that's why he is not letting me go. Because it is Papa's room, brother, it is Papa's Can't enter the room without permission ok so what do I have to do what will I have to do Do you have to use sudo or Then it will have to go into Papa's account, so this I can do both those things, so in the future when I I will tell the user group then I will do this thing I hope I will explain it well. I must have explained it well but when It will be better when the user parts come. If you understand then what is sudo basically Does sudo give you super user permissions? OK now shutdown if you have installed the system you have to shut down okay if you you If you want to shut down your system, type Two shut down butts You can't just shut down like that. Bhaiya Papa cannot bring you home for this. Will you shut it down and leave? What should you do if you need your father's permission? Get added to Sudo Papa's group and then shut down Na sudo shutdown done The system is going Down for power of eight Monday ho ho ho understanding coming in Is your system shutting down at this time? If you go, you will understand that you are trying to shutdown first The as a normal user fails to set fail You could shutdown it, but if you said, brother sudo shutdown Shutdown with permission from the father He said okay, the broadcast message has been done. Sir the system is going down for power of eight Ite ite date ko means when 10 53 UTC So do you know what 1053 UTC means? 1053 UTC in 1ST Indian Time How much is 4 by mit Monday means 4 If I think the system has been shut down then Look, all these commands have been completed, so you I didn't understand why I had to shut down. I tried it but it didn't work out for Papa but he took that sudo The shutdown is understood to have happened in such a way that sudo means super user do super user key You have done the work with permission, brother. I have shut down so I messed it up. By the way, we can turn on this instance again. Let's stop the system because Brother, Super User has closed it now. If the system needs to be restarted These are all the commands, generally you will see All these commands are covered in the rest of the tutorial. They don't tell because they think The system will blow up. System A will shut down. Editing will take time and the world Things happen to teachers and teachers but To tell you the truth, you need as many hands, legs and heads as possible. Kill them all, it should be like this It doesn't matter if there are problems like that. It's okay, I don't have any scene, okay now. If I connect this system, The system will be my connection because it I have turned it back on from shutdown. Yes, sometimes this thing happens to you. This is the IP address you will get to face No, this changes sometimes, so your The old SSA command may not work. What should you do in this case? Go to Dave. Go to Connect and check it out, this is the new one. Copy this and go here. sudo paste it ok It's gone, yes, now it's gone, why do you know? Because his IP address had changed. Because it is AWS, they change it. Let's live, okay, it's done, now we understand that What is the next command? The next command See our sudo shutdown reboot Do you know that shutdown means turning off the instance? Turn it off, reboot means restart the system So if I do sudo reboot good If I just reboot then no It's okay, I will fail, because Papa Father reboot the system is restarting now bro You have already taken up so much of our time. Even after shutting down and rebooting, the time is back again. I took it, no problem, let it go, time series It will take a long time for you to gain confidence. I want to be able to shut down the instance whenever I want. Down restart bugs whether Whatever I do, because you are learning, okay learn. There's a saying that comes to my mind Bleed More In Practice So That You Sweat Less in War Meaning when you are practicing more Work hard and do more insects here and there that when you go to interviews, go for the groom Then if you sweat less then come back with this Brother, let us connect our system. ok restarts that one hand give takes a minute gets his done restart ok now rebooted now this What is AT What is M What is DNF what is pacman what is potage You have only your one and only Not able to acquire lock permission denied Still asking are you root, are you dad? No, I'm a child, so what can I do? I will do sudo at install docker d come now see package docker come is not available ok package is not Why is it available? I know because AT Application Package Manager in your system This Come see now Joke ok what happened sa at get Installed has no installation candidate Now this simply means that whoever uses Docker Libraries that need to be installed No, those who need simple packages can get them from this system. It can also mean that I am not If your system is not up to date, you what can you do sudo clear first to the screen sudo at get update you can update your system You can hit update, okay, see the update now. It's happening, okay, it's happening here now. Everything will be installed which packages to which packages to install If it looks ok then let's install the package. Requires some security patches If yes, then all those things will be installed for you. Go to OK and after installing this you What will you do after installing it? You will install Docker, okay, which is your The old command was well I'm going back to the command Instead of writing, let me give you a hint. Control What does R control R do in reverse? Search means all the commands you have done till now If you have written it, can you search it back? Lets I learned some Docker related commands Look, the entire command has appeared and you just need to enter I want to press it, look at me, he got the docker right now. Gaya Dekho Following Additional Package Will Be The following new packages will be installed Installed Do You Want to Continue Now Got Docker now to install things If he found a way, it means whenever You are installing something new. Internet Than you have to use get and your system I want to keep it up to date okay so this is Docker will be installed Now the question arises, where is Bhaiya Docker? Tell me where it is installed, comment. Where am I then? Folders named Docker docker usr bin docker This is how you can install a devops Engineer Docker Kubernetes Junkie Terraform You can install anything and with it You can play, okay, so you understand AT. And if you need to remove Docker, run sudo AT remove ducker d aa ok so what happens with this will go 113 ab disc pace will be freed meaning Docker will be removed so if I do I want to uninstall Docker so I can do this I can uninstall it this way, okay? Done, if I uninstall it now, it's okay. Docker is not found because It has been installed, we are not getting used to it. I went to Windows and said, brother, program files Go to the control panel and that thing install uninstall it this is so cool Isn't it simple now brother? What is APTM, what is DNF, Pacman what is portage what is this joe m dnf Packam portage hai na yeh bhi application package Managers are just that, this application There are different types of package managers. probably remains of CentOS okay I got a Please confirm it in the comments and let me know, ma'am. CentOS's DNF remains Fedora ka ok and the pacman who lives that arch What is portage for? For order o it happens ok gotu Whatever Gentoo, Chintu, whatever Linux is, what is it for you at okay for you If you write Yam then there is no M either. On which platform will Yum run? Will it run on CentOS? If you had it in this place a red hat okay red hat so for that It probably happens RPM is fine if it is RPM then fifth But write that too on the 15th. Brother, okay, and whose potage was this? The name Gentoo is so cool, do you understand Gentoo? Application Package Manager is gone, so this is something There are system level commands which are DevOps Engineers should understand you now The Big Thing is Users and Files Management said, brother, well before that this Everything is clear to me, isn't it? Please tell me in the comments, it will not be clear I take doubt clearing sessions on Saturday and Sunday. I will make it clear, okay now let's understand the user End Group Management Dekho Users Too are important I show you what I mean I told you this is your house, right? This is your home inside it called Ubuntu There is a user and another user named Jethalal. If so, let's add me to Jethalal. in this house so if you drink W If you do PWD then this Ubuntu knows where it is, it's in the house. If you have another user in the same house If you want to add someone whose name is Jethalal then you What to do: User ID and make a DirectoryEntry Jetha Lal will become that but enter permission You are denied without Papa's permission. You will bring anyone into your home, strange love Have you seen this amazing story, but don't do this. How can you do it if you take permission from your father? sudo user d hine m jethalal jethalal Correct Firstborn L A L Yes Enter no permission error brother sudo Okay, now where did this user become where did the user become user made in house so if I cd dot dot If I go then now I have come home. Jethalal is also inside, Ubuntu is also there, so Meaning there is also Ubuntu inside the home. Jethalal is also there, okay, now it's time to add a user. It was so simple, now I want to This user also receives a password. OK. I also get the password because if I get the password from the user I need to log in and have my ID and password. It should be there, then I will use it, where did it go? P A Dal SWD so these are all the commands I think You have come Sudo user add has come who am I The password has arrived, PAD SDDD, okay? What I'll do is run pseudo PASS. wd sudo password for Jetha Lal Sudo Password for Jethalal Enter New Password How cool is the new password, now if this I will remove it, brother, what is this? Okay, let's enter the password. If I put Babita then BA, BIT, A, Babita Retype new password B A B I T A Babita ok hai pass updated successfully so You have created a user for that user. Password has also been entered Now if I want to change my password Hota PASSW D Jetha Lal's I can't do it why Permission denied bhaiya you may not have you may Cannot view or modify password information Why are you not my father and what do I need now? have to do Me I don't want to log in with Ubuntu user huh? I am Ubuntu. I am Ubuntu. Log in from Ubuntu. I don't want to log in with Jethalal. What I'll do is I'll switch I will make the user su switch user type switch I will switch to Jetha Lal Tell me the enter password, tell me Jethalal's. This live chat that she is writing in the comments Brother, put everyone's password in it. What was Jethalal's BABIT? Hey, this dollar has come, this dollar has come, what does it mean? hey brother this is dollar this dollar this dollar this Why not the next thing? I am showing it brother because when you instance from the Ubuntu user when I connected to connected and won to user your If the primary user was Show information like this Yes, but when that secondary user or someone If a different user is created then such complete information I will do Jethalal onut milega why Because I am in the home directory. CD Jethalal I will do it now, I am Kisam PWD Home sl jethalal like i up home sl ubuntu I was in me, now I am in Jethalal, do you understand? Didn't you go, tell me once in chat Bhaiya, I have understood how to add a user. How to change user password How do you log in with that user or Then how do you switch users, it is simple. Come on, now you know how to add a user. I should also know how to delete it, so if I have to do this Remove from the user who is my secondary user If I have to come to the primary user then what should I do? I will exit I will exit I will return I have come to Ubuntu. I am not from that. Who came first, Hu was here or Ho M was here? tha Jethalal tha ok Now I have to remove Jethalal, ok one more Do you remember the thing I said about cat sci? Spas SWD What does this do to you The list of all the users who have been added has come. It goes to the end, then see Jethalal ad. and what is the user ID? 101 IDs, did you remember them when you ID You write, look, this is the UID of Ubuntu. If I switch user to Jetha Lal then what happens Babita, what is Jethalal's password ID? I saw 101 and understood which one is Jethalal? Jethalal is in some other group It is not just in the group named Jethalal. Okay, just exit now and Jethalal So come out right now I hope you get ID You must have understood the concept, okay? I have also become a switch user, yes I am Jethalal I have to get it out of the house right now. I'm on Ubuntu. And Jethalal and I have had an argument. If you want to remove Jethalal from the house then user dial Jethalal Remove Jethalal, run away without such permission. I can't delete it, I can delete it using sudo. by doing sudo user del jethalal enter deleted Jethalal means if I switch users Jethalal Jethalal does not exist brother, this person is Ageist does not because Super User User deleted Jethalal wala, okay So you have deleted the user, do you understand? User management is a better thing than that. should I tell you as a dep's easy in a company appointments that I will give you that level of hard work Let me prepare you for that level. So you get added to G, ok in G Okay, yes, from G I remembered that brother G is deaf. The fest is being held at Def Fest OK Pune. And in that, you know who the speaker is, what do you think? Is there a list of who will be the speaker? Didi friend, is there a list of speakers here? Hey brother, speaker, can't you see anyone here? It seems something No, they haven't updated it yet. No problem, but your brother is a speaker. This is the speaker of Dese Punta 2012 2020 2023 I don't know if your brother is also in the speaker. Why haven't these people updated anything? don't talk Denge Coming Back To The If you want to go into the topic as a deputy Engineer now The second user added was named google2, who That the third user added was named Jethalal. Which was named Ayer, the fourth user was added who That another user named Tappu was added Tell me brother, tell me in the chat who is the crowd The name has been added, okay now it's Ayer Tappu And the crowd is these three are by nature testers When he was hired in Na G, this tester were tester okay and Ubuntu and Jethalal and both of them were deps Engineer Okay those two Deps Engineer now in c two devops engineer two Some of the tester-in-devops engineers Rolls There will be some permission These testers will also have roles and permission. You must be a Dev Engineer for all these. How to add How will you do all these particular roles? and give permission Can't give it to individual users google2 Hajj must be working a lot of people Dude, a lot of people work, all of them What will you do if you can't give a little? You will create a group named tester. You will create a group named Deps You will create a group and include Ubuntu in that group. You will add someone named Tester to Jethalal. You will make a group with Ayer and Tappu and You will add the crowd, let's make it quickly. So the sudo user D Jethalal OK sudo user d Air sudo user d tappu sudo user d Crowd so I have these four users added So these four users got added with Natu. I have a group now what do I have to do If I want to make something called Deps, what can I do? I will give you pseudo group d devps sudo group d devps enter now a A group named Deps has been formed, okay now. Brother, how do I check where the group is? Looks like I have created it for users. I told you, Cat Street Spa AASW D Okay just for user P A double SWD happens here for the group GPA will be double SWD enter lo Sorry, no sir, the RP of the group is fine. There is a short form called GRP. Enter It will be like this What, stop, let me remember, GRP Does anyone live there? What will we do? I know we will do the same thing that you did last time. Also did list instead of list users we'll do groups okay look at everyone's It happens together, okay, hey man, it's simple. The group was there, I was writing GRP a little more. If you had used your brain then this would have happened with GRP. I could have also written enter, the list has come, now see Whenever a user is added, his/her A group is formed, see a group named Ubuntu When Docker was installed, it also had a Docker A group is formed and Jethalal gets added to it. Ayyar's group became Tappu's group. A group was formed, a crowd was formed, but what we Originally created the group it was Deps okay Now what if I don't use sudo user? Yes RO UP Group D tester okay tester enter now this There is a tester group in that list over there. If it comes in the end then see CAT ETC group The tester looks Hey Tester Devs, these two groups are okay. You have learnt how to create a group, now let us understand what a group is. How to add people to Lets Who would like to add me to the group? It has come, it has come to you, oh it is not so good I added a good group, yes this is what I did. I want to add people to the group, okay? I have to add people, how will I do it? What will I do first? sudo gpas SWD GP Adl S Oh yes GPad What is SWD? Like you are a user Create and enter the user password You provide user ads and PDS by the way You can create a group by adding a group. Yes and users to add to that group To add G in place of PWD You can use P addl SWD, okay? Done, now you have to enter the username. Let's say I have to kiss Jethalal. If you want to put me in the deps then I will be Jethalal first. I will write because Jethalal is the user and Deps is the group and what I want to do Am I want to add this and click OK. I am GP Addl SWDD Jethalal Two apps enter adding users Jethalal to Group Deps, where was my Jethalal? Jethalal was gone, he has joined the Debs group. Now I am similarly my Ubuntu user I'll put that in as well, okay Ubuntu. I will also put the user in the devops group. Okay, so both Jethalal and Natu left. In both the devs in the devs, this is your thing The work was done, now you should have put Ayer in. And they would have put Tappu and the crowd in it. Yes, it's okay, but before that check that brother Whether you have been added to the group or not How do you do that, that was the command, see the control R search which command named group Thi so cat tc sl group enter look deps There is a group in which Jethalal is dead and Ubuntu He is dead, he looks so cool, isn't he? It is true that there is a group called Deps in it. Jethalal Ruban is too dead to be named Tester There is no one in the group named Chalo Tester Now let's add you to the group brother, if this happens If there are 25,000 employees, then the command will be given 25,000 times. I will not run it, don't do this, sudo ji p Edel Eddie Ji Pad SWD means you group to add to Who has multiple users? Multiple users were users from which second this one copy paste comma copy paste comma copy paste to mujhko ayar tappu bhidhi Which of these three should be added to the group? tester The guy entered but he did not write it down. adding user but if you use the old command If you go to the group, you will see that Ayer Tappu crowd all three ads in the tester group So friends, these ones with G are done Groups had to be created and people had to be added to them. You added that thing, I understand. How easy user management is It's so easy and I don't know why I should worry. Anyway, if you like all these users Learning Management So first you should know about the system. should be what is sudo switch What is a user and where are all these files? She keeps all that with you, what is ID? should know okay right now if I ID If I do the ID, what do you think of my lug? These users are Natu will he have deps in groups Yes Look UID Ubuntu Groups Ubuntu to Ye Where did this go? I can't see Deps. It's okay, maybe it hasn't been updated. But I should have come, let me just check it. Again Group cat sl atc sl It's a group, so be it, but let me know from this I want to delete the group, okay? What to do Give sudo group del as if user del was group del which group delete I will do the tester one, let's do the des It's important, okay, sudo group del Tester entered now if I group check Let's do it. Look, the missing group is missing but inside it Users sorry users but in that group No, because there is no group, right? All this has gone, Group Del has also been done now. Bhaiya ya jo user management and group Management did it and why did it do it? This was done because those users Proper permissions regarding files Proper permissions regarding folders This was the main reason users could get access Butt to manage Why does the file need permission? I need you very much brother, let's again you google2 user and Jethalal I want to access that file Is this Jethalal holding an important file? Will access Yes, will do if Ubuntu The user must have given Jethalal his permission So as it happens in that movie, permission Jethalal should take it anyway. Permission must be obtained to access that file. Because you can also keep sensitive data Yes, we have a lot of importance. It's okay to give permission to the files and that Today we will learn how to give it. The most common way to do this is to use the file permissions command. First, if I have a folder from Let's Who sa linux for dev ok cd L. S. Hein L. I will do it L. S. Hein L Enter, look now, look very carefully at this You can see all this D Aad X Aad X Aa Do you know what this is, I'll tell you. Can we copy this over here now? But paste it in big letters And so big, so big, okay, now understand this thing If you look carefully, I've told you I told you in the first session that this is D, isn't it? stands for if it is a DirectoryEntry so this tells you that If it's a directory and not okay now If you look at it, you can see the pattern a barrier XR something so X this middle a little bit It became dirty so I will redo it. I would like to have x r something and x ok Look, these are pairs of three people, so who The first pair is that stand for User T stands for User which is the second It is not called pair, it means triplet, any If something is in two, it is called a pair. If it is in three then it is called triplet, okay? So this is your odd one. Group is fine and user means your user who The user has created your user group meaning Collection of users and other users Other users Meaning those users who are not even in any group Yes, and that is not you either, as you are now. There were so many people nearby, Jethalal, let's go. Someone else would have come, what was his name? What was the name of Jethalal's grandfather and father? I don't know, he came from late, now he is in someone's If he is not part of the group then what is he? There are other users, okay now brother, what are these? What is W What is X What is R stands for Reed W Stands For Right and X stands for Execute so what is this thing do you know this This permission is nothing So what do your users need to know about this file? If you have permission, your user will have read access to this file. Right execute permission is there for other groups What permissions does it have, read, write? Execute permission is available to other users. Read what permissions users have It is not right, it is executed, I understand is that you go into a house okay said went to my father's house okay you are at a house You are leaving now, there are many doors in this house. Now Natu has made the door, so what about Natu? Done user, done now Ubuntu and Jethalal is in the same group, okay, and this This door should unite the group. If he gives then Ubuntu and Jethalal's group can go in but there is another user let's from my sister ok now this is another user He is not in any group, he even created it. If it is not there then it cannot go inside, right Can't do it so enter your permission ok user Group and other users or file permissions Brother, how will you write all this, Aad Ek Aad Ek I will tell you a simple technique for the next 10 stay with me for a minute very meditative look okay to hear from Now file permissions in Throw it away, throw it away, now we will understand this image what happened to the file permissions uploading yes let's understand this ok read write execute where did read write come from Where did the exec come from? Think what you do, it's the opposite. Wait, I'll bring another file. Yes, here it is. Copy image, this is upside down, remove it, okay? Understand this thing You know what to do, you know simple maths Right, write all the digits from zero to 7. Two T 3 4 5 6 7 Okay now when it becomes zero Then it means that there is no read or write. I don't even have to execute When there is forest, it means reeds too. No, not even right Butt Execute Brother, you will tell me something like this, right? I will not understand, I will explain it in an easy way Am You've heard of binary. Binary numbers. How are the numbers zero and one It is in the format, okay, what do you do? I tell you to understand this, understand this. What are these things written, so what are you do binary of zero binary of one binary off two binary of three binary of four 5 6 7 what did i say give me 10 minutes ok Now when you write zero like this, then You write it like this: DXDX Dash x d x Okay, this is the first one. There would have been a line in it 0 0 It comes like this, okay now the second line would have been Its pattern is See 00 and it happens now put the box here and now 0 Wow, am I teaching you binary? Now look at the third line. How does that happen? G0 is four times zero, then four times one so 0 0 0 0 RRR And now brother, this is the first thing that you have made. So why is it so amazing? Because this is what you have created and this is what That's the same thing, zero makes it black, stop it Go what is written in the row dash dash dash what is here It is written dash dash dash what is written in one dash dash x what is written here dash dash x two what is written in diddle a ddu ok What's in three, one dud, one dud, one in four what is r dd four what is r dd now I all In Ginwala you will find this You have to make Zero brother, let's change the color today. Let's change it to 0 1 2 3 4 5 6 7 now The first line is Alternate DXD x d x d Eks second line dd dd Dash Dash dubbed the third line Dash Dash Dash dash rrrrr done now jo seven The number means read, write, execute. The number which is six is ​​read write. Not execute the one with number five. means read no write only execute means what is this f Yes, it has got odd X meaning F O Odd X means tell me Odd X in chat Meaning Sen so its permissions permissions of this folder Is 775 And that was my 10 minutes now my You can distract yourself and take a little break. You can, okay, this is all that happens now brother. I need permission to use its cloud based on 7 I need to change it to a 7 and a 5 I have to change the permission to two odd one odd one odd A 777 to means read red execute to User read execute to group read red execute to other users so what am I I will do Command Look C AOD CHM OD change a modification something to remain brother I don't know C AOD 777 means read write execute for user read write execute for group read write execute for other Users Whose Cloud Key entered now look at L S High Funnel Odd X Odd X Odd X What was before R dus tha na, look at the change in the colour of the clouds now Done means it is open for All open for all, anyone can use it Rest I understand what file permissions are. Was Now the deps file.txt You will tell me the permission for this RWD RWDRRDD look at this in front of you chart what was rw copying copy it and put it here take two texts and put them here now its I will drink water only if you tell me your permission. I take Look, this first one is blank, I mean Is this directory is not a DirectoryEntry Permission is 6 64 meaning Users can read and write this file. I can do it, but I cannot execute it brother. What is this execution, read it and understand. I have come, open the file and see the rights also. I understood that I should write something inside the file. What is execute, what does execute mean As you execute the program Neither do you execute shell scripts If the one is exec then execute permission It happens okay Now what should I give by changing its permissions? what is it Give the user read, write, execute permissions But the group should not have any permission and other How will you do it if the users do not have any permission? Meaning users should have read write execution The rest of the group should not have any permission If users do not have any permissions, then see read write execute where is seven is seven Dash dash dash where is zero is zero dash Dust is zero if you write CHM Odi 700 files Sorry, the name was hidden in my photo. c aod 00 file name then your work will be done So C MO 700 this and your file name is dep file.txt Enter now look l a han l aad a dash dash Dash dash dash dash the permissions you needed You have given it and as soon as you have given it Granted executable permissions and see if the file is green. It's so cool, isn't it, as soon as it's executed Permission granted, file turned green, green means executable ok i understand File permissions seemed easy, a little bit in it Maths is Maths because it is There was one more thing, this 1 2 3 4 5 6 7 If it does not come to your mind quickly, then you Just a little something to remember him like this Yes, I can say that too. that memorize odd one 7 ok zero means dash dash dash I could tell that too but Who knows, you might lose your memory. If you don't remember what you will do, then you quickly You will make such a diagram and quickly Will you give me permission, let's move on to the next topic. go to Are OK LS high funnel kar diya c aod kar Diya Bhaiya, what is U mask? U mask What happens if [music] Mask 002 What new number have you brought now? Mass what happens is that whenever you add a file Do Or do you do any work by him? Shows what the default permissions should be You have to do this when you use your mask number. It happens, okay, if you have your mask number then whenever you Look, the U mask means user file creation mode. The mask has a four digit number. What does it mean when a new file is added? It will be created by default, what permission is required? Now there is a U-Mass number for giving it. By default, this mask number is It remains computer to computer dependent It does but Linux people give meaning AIDS wale 002 bhaiya what does 002 mean 002 means that the current user The group that has access to the file have access to and the rest of the users Understand that only read and execute access is required. I mean whenever I create a file touch nude txt.gz All other users can only read Look, all the users have permission. All the other users should know this and this like this Now let's understand what is the purpose of my computer? what is a mask so now I go to my If I type this here on the computer My mask will come 022 so what would have been 022 This is the group's read, write, and execute and read and execute like this and what is the y mask of this computer Mask 002 okay so basically by default permissions If you want to change it, then you Know how to do it CAT.BR.S Maybe it doesn't happen in this CD cut, data, RC, yes it is kept somewhere in it But you search for the mask, search for it. What is this bash rc, your command Prem is looking na bash about him The complete profile is available here. So you will get it, can't you find the mask? Depends on how to change it. This is that, but I hope you found a funda It will be that bye Default by default Which gives you whatever permissions you want on the file system If you need files, you can provide them. using this mask number ok let's go Seech aod ho gaya lus funnel ho gaya seed kya Now see what happens Like this file is Demo FIDTI XT What is its owner, L.S. Hine? I am a demo fiduciary and this is my owner and the group is Utu ok but now I am the owner of the demo file I want to make it and I want to make it What will I do to Jetha Lal? pseudo CHO double N change ownership Change Ownership Whose ownership of Jethalal should I give to whom? Fidelity Acti to Enter now Look L S. Hine Who has become the new owner of Demo File, Jethalal? It was done but which group was it, it was Ubuntu, okay? I have understood that if the demo file If you want to change the ownership then become Jethalal. Now I will switch users from Lets I don't know Jethalal's password. I had set it up, no problem, so basically You have understood right that if you Any user then ownership of any file If you want to change to a particular user then A command you can use is CGRP is the same thing that if you If you want to change the permission of any group Let's say AA Han l This was the demo file I was in the Ubuntu group earlier, now what am I doing? I want it to go to the Debs group. sudo seize your app to the devops group I make it the owner, meaning the demo The file is txt, that is deps instead of nutu I want me if I do it I will be able to do it. So here you will see Jethalal Owner and group deps understood that the rest All this stuff belongs to the Ubon To group and Neither it belongs to the user but whose ownership do we have? Jethalal was given a change for the demo file I had given it to you and joined the group for the demo file. I gave it to Depps, okay, I got it. Change Group Command is a very easy thing, this file permission User group management is very easy. So your user and file management is over. It's done, but brother, there's more to come. When will you finish everything? I will get it done right now. Video Stay tuned, okay, I'll finish it now. Is the video too long, one hour 10 It's been a minute since we've been making the video. Oh my god, no problem, everything in one shot If my I have a lot of things from Lets This cloud hardlink file So I'll use a utility called zip. Now he is saying that there is no zip at all. You will need to install the Zip utility. How to install sudo att install Zip, take this command, copy and paste Now you have a lot of files. If you want to send all the files to someone So it will take a lot of time to get all those files. Zip it up, make it a file, send it and Then unzip it, I'll tell you, okay now like I have this cloud, this is so many what do I do if things are Give Zip me up All the things that are stored in the cloud Meaning there is a folder named cloud in that cloud name or its name but if you are zipping the folder If yes then apply it then recursive zip will happen will enter and look at the ad Compressed them all and put them in LD Zip I put it in, it's so cool, now when I I can give this LFD dzip to anyone I want I will give it to him and he will use it inside him You will get all the files, show me this LFD dump. If you put it in a cloud folder, right? CD goes to the cloud folder instead What's inside? There are some files inside. So what I'll do is I'm a MK DI R I will put it in a cloud folder Unzip Files Just for Your Understanding that I create a folder unzipped named files and this one Where are the unzipped files in the cloud folder? In What are you entering? Why is there no such file or directory? is speaking This will have to be recursive am I doing something wrong I Are Aedes Zip files not copying? ok no problem just unzip it here If you see then You won't even have to unzip it, why don't you know? Because you have the unzip when you zip If you install it, it gets uninstalled. ok un zip el FD Dot Zip I can see LD Dup in front of me. Why is this happening LS Han L Permission Doesn't it have Yes, I can see it in front of me, but this Why can't you recognize me? am what is this unzip l fd dt zip dt zip to No, why are you doing this by doing LFD? Look, this is very strange, man. The copy is in front of you do it unzip lfd zip Oh why is it working now, why didn't it work earlier? remained Was o I read LFD to LLDF to LFD So what I thought was that If this video was edited, I would have I would have cut the stupidity immediately but this video It's not edited, and I won't even do it. You must be seeing all this, if you can laugh then Basically what I did was copy this I know that whatever we do will be copied. What were you trying to do before? were trying to copy were trying In which cloud wall is LDF DZIP Navigate to unzipped files in a folder I tried it, it was a spelling mistake. is cd cloud unzip files enter now what I will unzip whom to LDF dump I will unzip sh Done unzipped ls Did you know that the CD Linux is in front of you? For Devops Kia all the files in front of you with Permission is so cool isn't it and unzip so if You want to compress any file. You can compress the folder by zipping it. You can unzip it You can decompress the item by unzipping it. You can compress it, meaning it has been made smaller. Decompress means enlarged, ok similarly Your gun zip ji zip all these tools remain which The beans work, okay, a lot of waste. Which is better than collecting goods from here and there It is a particular use case, do only as much as you like What does zip do to compress? ok, you can use both zip and unzip. I will go but see what Gun Zip does. Take Gun zip ok same hota hai gunp command is use to Compress and Expand File in List of Files It's done, just that zip is it Look, he will make you log in now, leave it for later. There is a zip, it is called dot zip. extension hota hai gun zip me dodge j naam it happens because there is nothing else, okay yes There is one thing that is very important for you. That is tar, what is tar, tar also It only compresses, it is fine, tar is also less tar I will show you If it is okay with you then the tar command remains Let's take me to the clouds tar Heine x in z f Bhaiya, what have you written, what have you written This is what aqui z af means files jad means Zip V means verbose and you remember all this You don't have to keep it, be afraid, just write it down. Flags Linux and that tells it all right He will tell you everything that if you x If you want to write then x means to extract If you want to compress the files then X will not come, C will come, C means compress See C stands for Compressed Archive Bundling Together X means extract okay so If I were to compress the cloud I Brother, what does C write and what does it mean, see what it means has displayed the information Displaying visual verbose information gives What is the root, will the jeep use compression? Meaning, the file that will be created, its file name The extension will become tar OK, whatever file is created, it will be created. Let's make cv z a cloud OK Coverly Refusing to Create an Mt. Archive Cloud is MT What cloud and then I got cloud d tar.gz I will write this What are you entering? The star cloud that comes first The file name is preceded by and followed by Claude, yes, look what's happened now. You have Claude A compressed file named tar.gz has arrived which you have compressed using tar There is a utility to compress the files properly What is C? What is V? verbose what is the root of this front showing Using Gun Zip Compression Gunp Meaning and Why dot g g h okay f means see files what does A mean F means yes Specify the file name ok this file It's done, now if I do something then I will get cloud I will get it now what should I do If I want to extract the clout jeep then I what will I do tar Extract Extract Verbose Meaning Show Me While extracting, okay, not here. We will extract the cloud folder Will extract in Linux for Des Seep Cloud Does to Linux for Dev OK So now going to Linux for DevOps, I Cloud Folder Extractor h okay so tar actac ex verboso ok that's enough Yes, that's enough XSV JAAD means you just have to use gun zip This is enough Whom Cloud is not running dar dj jd if you like this If you want to put something in a folder, you You can also use file enter You have to use the file name OK Enter Yes Look, it's done, the extract is done. LS hey man it came in the folder of the same name So if you go to CD Cloud, you will deps and unzip file new file all got If so, did you understand? I know, it's a big session. It's been so long, one and a half hours, oh my god. what tar does is either Zip or unzip it for you will mean either you compress will do or extract If you want to zip or compress it If so, whatever command you have, it will become yours. Tar will be formed because you can compress it. If you need to unzip or extract If you want to do it, then tar ha one x Extract Now if you see the screen in front If you want to show things then we are verbose if you have a gun. Zip, this gun zip, use this zip. If you want to do it then it is okay if you have to file If the name is given then it is FF, do you understand? It has come, okay tar has also been done, meaning atar This is Attar, now I don't need any file from local. If there is a panchani on the server then how from Panchanga Let's This is my server okay This is my server This is here PWD this home natu this my server is and this is my local local Brother, it looks a bit small, please enlarge it a bit. two okay this is my local now in I create a folder in Documents. am kdir SCP Secure Let me create a folder called copy test So CD Secure Copy Test now this is my [music] There is a secret text written inside it. is a secret Text from train with Shubham ok this I wrote the secret text, okay now. This file is a secret file in my local I want to put it on the server here. How does the PWD want to put it here or there? how to insert copy command Demo Fidget Action Linux for Demo I can copy it with the copy command. I can copy from one system to another. butt two different systems into each other How can I copy it, tell me what I will do. Simple, this is my system. This is your remote system. Is or else remote and it is local this is remote this is local what do I care To send a file from local to remote Okay, how do I do that? I'll copy the command. I will use it, I will just use secure copy Secure Copy What Secure Copy does SSA, you know that you can go from local to local Using pem file on any computer You can go but if you need any local Use SCP to copy the file. and you will have to give the location of the pem file. If needed, how to find the location of the pem file Brother, where was my PM file, look, look. I'll tell you what to do, connect. To go to the instance, the y ssa command is Na SSA, this is the command, copy it Do it, copy this command, okay. copied Now paste that SSA command here. OK write scp and ssa commands Paste it, okay, that's it, what do you need? Have to do SSA Don't have to do it ok SSA If you don't want to do SS then you have already done it. Yes, you need to SCP I want to SCP using this file map For Debs, now this CD into the Downloads folder then PWD I will get its location by using user Shubham downloads and here I'm going to throw that thing Enter then Meaning copy the server placed in this path Use the pem file and my file which was what is my file name The secret is Copy file.txt to any Camel machine The address of this Ubuntu machine is given in the colon Whatever location you want to copy it to Let's say I'm PWD Home in Ubuntu What should I do if I want to copy it? Where did I go, yes this is my Ubuntu here In this instance, give a colon. No, no, this is wrong, this is wrong here your sl home2 will come okay so this Copy it and go and paste it here. I'll tell this thing back okay copy What, come here brother, come here and see this thing I'll explain back I've grown too big Medium yes, look, now read this a little better Oh my god, he has grown so big! Father, okay, now let's understand this thing. so this is your command okay what is this This is your command okay this is your command what is this This is the private key. This is the path to the private key. What is a secret file? Source file is source Meaning the thing to be copied and this is Ubuntu what is this thing this is your destination So what am I saying scp copy Command Copy the server using this private key Because you need authentication. This item will need to be delivered to this destination. Copy this command Enter he's saying something so yes and no ha do You want to connect, yes I want to connect Yes, now see what happens in the secret file. CopyWB The correct file has been copied exactly word to word. Anything copied, drop it anywhere If it hasn't happened then it's so cool to me now. This is the Linux for Debians folder. have to bring it from server to local How to move deps folder from server to local I will use the simple sc p command hein i same same thing same same thing okay Same same thing scp han i copy this whole thing Copy it completely. Okay, I copied it. I did it, oh my god, what has happened? It's something like this, okay, you get it. Not the SCP command to copy it after I After this you have to give the path of your pem file You can find that path in your system. I will be in and what do I have to copy I am placed at this location Linux for I have to copy the deps folder, which I mean You have to copy what it is It should be a folder that needs to be copied recursively. So the hein r seems to be copied recursively Where from this server to this server location What is the location named Home Ubuntu Folder In the folder named Linux for DevOps Where is that thing I have to copy? In this directory, I will write dot Read to copy it to this directory back relax read ok scp copy Command hine i ye kya hai path to private that is, I copy the file recursively. I am because the folder is there, that's fine What is the source is the Ubuntu machine and this folder what is the destination dot enter now Look, go ahead, a lot of people are watching. And waiting to go home What's done, first download the zip file Gone is 100% Download Cloud Tar Also 100% Done Demo If the file is also 100% downloaded then If I do LS R Sync comes here and changes the whole story. What happens if you have sync than I have added I am in the remote You have to do SSA first, so this I'll show you the SSA You are syncing with SSA is fine, yes if it has to be done like this It is simple, it doesn't cost you much. You have to install RSS first. R Sir, I will write it and I have it in me, come on If it is right then what should I do Yes, RC yes ha ha what do i do This is my source okay and this is my destination okay Now I have to use SSA in between. If it happens then I will just pick up the SSA one. where are you going to be It's gone friend, you won't get it like this, stop. We do it fun, okay so what should I do wants I want to Bhaiya I want to write or sink Command Which Uses SSA A pem file what was dot pay, what was it about nak phar deps hine e means execute a command SSA Wali do this AV JD or what AV JD What does A stand for Archive V Verbose and Compress OK, compress it. to the local folder and to the server ok let's go Let's see by doing So R sink what to do mujhko han e SSA has to be done Whom I pass to file where I path to What was the file? I copied it here. I did write my path somewhere, yes this If so, this is my path This was the path I needed, okay, I did it did a Dude ok r sync ssa done I said yes and sink this then what to do with myself have to do What is AV and Root AV Root AB Root Basically what you do is create an archive. I mean, compress it and show me what you You are compressing it and send it after zipping it. Send the item to your local folder So what is the name of the local folder, hey friend, you So take this Now look how cool it looks. Use Sync R Sync SSA file and Linux for deb which is in my folder local and which is kept in my remote sync it Enter, see what he does now. Hey dun dun dun, so it means it has synced here too. If I do this here LS did not come what should have come yes it came right Look, didn't it come? Yes, this is the folder. The CD has arrived Can you sync from both sides? Maybe some files are missing from your remote There is more in the local area, just get it synced. Change the source and destination to your local I have more in remote and less in sync Get it done, change the source and destination. I think this might be a bit heavy for you but Really remember one thing if you practice If you do it then brother what is SCP or sync What is this, you will understand it all. Look at it. Things that are not asked in the interview If you practice well then SCP and R Brother, you have got all the sinks done for day three. The video is made sturdy which will help your system All commands are covered at the user end Group management is covered at all levels File permissions are all covered, compression is all covered Brother is covered in X for Deps A Simple About Networking Commands I will tell you a scenario, like you be a devops engineer ok now a devops What does an engineer do in day to day life? This simple question remains with you, isn't it? What DevOps Engineers Do in Day to Day Life So what is their job generally? Systems Pay Applications Deployment lets you run that application If it hasn't been there, then you know, first of all, a deps what does an engineer do like this from lts He's a devs engineer, this is his laptop, okay? So do you know what he does at home? Sit down and run the application that is running. If he pins it, what will I do here? Let's see, is anyone running this application, okay? Is any application running from let's ok Here and this application for some region stop If he has gone then what will he do, that eat server or Whatever server it is, it will pin it and see that Is the application running properly or not? Bhaiya, what is ping? Ping is a command. It keeps telling you that brother, this Data is being transferred to a particular object Whether end data is being received or not From that, basically if you want to check whether someone Is the thing working or not? Is the internet working properly? Whether the network reached there or not If you are getting it or not, then you can use it for that. If you can, how do you ping it? The command remains Bhaiya ping lets se navi on shubham's e2 instance and do this Let's take SSA, okay, hey SSA is already there. It has happened because I am taking this class A little testing before we start If I was doing it then SSA is already there but Bhaiya, what did I have to do? I had to pin. That Pinton v. Shubham's And I wrote here that Navi Shubham's Close it, okay, now look at 18 packets. What does the transmit pin command do? The internet also sends OK and means data It sends and also receives data, so 18 Packet transmitted means back again Go to the diagram when I pinned from here Kiya Ye Jahan Pe Navi Shubham's Inside which data is filled, ok data filled If so, we who are viewing this website You can hear my voice, right? It is reaching you through packets only, okay So they're saying that 18 packets of send and 18 packets received means the connection is working what fine, absolutely great connection, going well Ok, this is a simple pink command, this work Verifies that your connection is working properly Or else he will tell you everything, okay then. Net St is Net St means network Statistics about your network Tell me all the things that I have If it gives then net state ok enter now net Statto went or a trace route happened or Then NS lookup done Telnet done IP It's all a particular thing, isn't it? It comes under the tool kit which is called Net tools so first of all you have Net The tools should be this, so copy it. This is the suggestion that it should be Net Tools If you want, we will install it brother. Installed it, now you have it Yes, okay, he says he's got a new colonel. Hey, chill, there is no scene in this, okay? Basically what this is saying is that .NET tools You have to download the package named Then you can run all these commands. like net st ok net st now net st very import command friends too much Why is it important to know if you pay attention? Look what NetSt did top p look top This is a very long list, he topped it. But you will see active internet connections Active internet connection means your system But the number of active internet connections He shows it all like it's mine now. This is the system, I did a nutu p h on it. If it has happened then the internet transfer that is taking place No, it is happening through my WiFi. My Wi-Fi is going through WiFi Which is the WiFi with Craze Technology? I have one from Pune and one from Wakad. The craze is for technology WiFi. What does TCP mean? Transmission control protocol, so whatever data It is being transferred and all the movies I I see, I use the internet, it's all TCP If it comes under the protocol then the protocol Which is the TCP receiver? No one, sender, this local address means My WiFi connection is local. Address Foreign Address NS and Craze technology and its port and then tells State Establish means everything is fine now. The second connection is this, now I have made it late If you have turned on your mobile's hotspot And if I moved it beyond that then this thing was not different It will happen, wait, let's try it today. You might find that you learn something new. So I turned on my mobile's hotspot. I will give it to you, ok yes, turn on the mobile hotspot. It's done, now I do it like that sometimes It happens you know it refreshes very quickly If not, I'm just taking the bet. You can try it from your side and see Yes, I bought this mobile one. The connection is fine now with the mobile connection. It has been activated, let's clear it. Well, yes, that's how it happens sometimes. Now my internet connection is broken. So if this connection also breaks then I What can I do here again? I'll try connecting, okay, so I'll go here. I'm running Linux for Dev on my instance sudo ok now I can reconnect I'll see and I'll run the net st command again. I'll run it, okay, let's make it a little bigger. Now Watch Net St Saw this TCP Established But Foreign Address 10666 28 which one is this brother this is my phone Is there any WiFi, this is a hotspot, check it immediately. He told me that his internet address had changed. The old one was NS1 technology. He has also kept it active, okay, that too. It is kept active in the cache because My previous instance was this one It was a little disconnected, so in that case I am he was showing that brother The WiFi one is also working and this is mine. Now I gave the phone through hotspot, so this You understand Net St, then you can use it. You will do it to see if on any server Which seconds are the active connections from? what are the protocols now that you If you use EC2 then many na Sockets are sockets, understand the meaning of sockets like this that if I have to connect one system to another system Or any other type of interface If I want to connect to it, I will need sockets Socket programming is simply like this: socket is done or Then what happened to the Chroni socket? System D Done, all these sockets are there, so its So there are many connections to this Leave it, but what is important is TCP. connections, which are internet connections It's very important, we'll come back now. Not on your good WiFi, okay? It's not bad for me either, WiFi will work. Ours is when the other one who is ours comes on the net Started is the second if Confine Fig what kind of name is that if Confine Fig I mean Internet a sorry interface okay interface now when I do If Conferral comes, look, I know Docker 0 A0 A0 okay now what is this brother I don't know anything I don't understand if you remember this. Instance pay day two or day three we People had Docker installed, so Docker What he does is he creates his own network. Okay, so whatever network interfaces there are They will appear here if Confine interface Well now Docker itself has one The interface brings the network interface so He has shown what is Ethernet. Just think of it as if you have an EC2 instance taken okay you have an S2 instance Now that instance, the internet is All it takes is an Ethernet cable If you have it, put in an Ethernet cable, not a cable, but a wire. Come on something, yes the WiFi is here, okay, something So it takes an Ethernet cable now this There is an Ethernet cable, what is it made of? It will be connected, it will be connected friends NIC means Network Interface Chip or cable or something still remains Let us see the full form of NEC. OK yes network interface card sorry OK is the network interface card now this This is basically a network interface card. If it is used to connect the network When you run this command if A Any number of Confinite Work Interface Cards A complete detail of what is connected comes up. So A0 means a network interface that has Private IP address is IP v6. So this is how your work is done with Docker's private The IP address is this and the broadcast IP This is the address, now brother, understand the Docker one. I came across that Docker when you install one If you do, it creates its own network. A0 also understood that ec2 has a NIC Or a network interface card is attached If it is there then it tells an interface that this AO what is AO means loop back means your jo system so let's say this is your server ok This is your server Now let's do this NC NC something on that server Not connected is a stand alone server Still you can find that server You can use it as an internal server like You have your laptop, in that laptop you Created an application using ReactJS or Node. Any application made using JS If you create it, you can access it locally. Cheese knows what the local host says ok local what kind of spelling have you written local host so what is a local host a local Server which is a loop back server It remains OK and the IP of the local server We all know the address. 127.0 So today you must have understood that this Where did 12701 come from? It's an interface that The loop back interface is running internally on your server so friends this was your conferencing This is information, it is not like this, how it would be I know you send the request first. OK with your Internet Service Provider It is on a server somewhere. sends the request to either DNS or The domain name server resolves that request. Bhaiya says that you have written youtube.com Okay, this is the IP address of youtube.com. And the server then goes to that location and like this Hopping means from one server to another Server hop from second server to third server While doing your request If you use the command named youtube2 then let's Let's drive me Trace have to route youtube.com's okay youtube.com's To trace route, enter trace route. You didn't even install the tool, brother? If you are doing this then you will also get the same error. That's why I don't know all these things before I am installing it so that you can also That error comes and you also solve that thing in the same way. then do sudo att install traceroute do this Okay, after doing this you will get this new The Colonel is giving you nothing else. Maybe it won't even come If this happens then you will get the other one also. do it okay this one why because this The version is a little newer, so that one too do it okay Where did it go and copy this one. Here it is, it is pasted, now run it once So what you have to do is you have to type the same command If you want to take it back, tell me one simple thing. You will do this up arrow, this up arrow would have been Here's the up arrow tap on the old commands. If you come then tre r youtube.com Hey brother, what has happened? I did not understand, I will tell you. First, what does the trace route do? youtube.com then trace route to youtube.com Who visited this IP address first? Tha this IP address to us to means your Went to this address from the system then went here Then it went here, then it went here, let's see this. The one that went here is this, so this 10066 or this Let's see where the IP is located address finder okay let's see He does it a little bit like CID. What do you say, I don't know, if you do something here Pay enter IP address and get IP Details of where this IP is from Where are you from, oh brother, I am not from anywhere, no I didn't see any, I'm looking for another IP. Let's take this 241 one and see where it is from. Look, I am sitting in Pune. So if I am from Pune where is the IP address? I am locating it, they see, oh this is it No one is detecting it, no one is. If you see the last one, then youtube-dl has a data center which It is kept in California, I understand the meaning Hey, please ignore this prisoner. Concentrate on your studies, yes, okay, so IP The address we found last is here. This was If it comes in response then who tells it This trace shows the route, so if you If asked in the interview, brother, tell me that If I have a source and a destination I need to go all the way between the source and the destination. How many times internet or where IP If you want to know where the hop occurred, then trace the route. Answer: But brother, I don't like the IP. I was saying show me the path and it will be better It would seem okay so Trace instead of Trace Ruth Path Kar Lo For youtube.com Bhaiya youtube.com is not very far away How far is it taking you? what should I show you ok brother train with shum what have you done, yes, a little space Put not vi shubham's First of all localhost this is my own There was a server, then the IP went from there to here. I went here and then took some time. Reply means packet loss and some time It takes time to connect, that happened, then this Went to the IP address and then took some time Brother took this to connect because This is happening because brother I have a mobile I am on the hotspot galaxy's p this is what if I use my 5g wifi But if it was there then it would be taking so long. Reply No reply means packet loss for you I am the one who does not spin the wheel like this Show me a visual representation of this. I'm here. Gaya train vi shavam written, the wheel did not turn Because he was in cash, in his incognito state. Let's run it boys, don't get excited today But in the section, okay, I went to v.com, look, hey Dude, the wheel is not even turning in this but Basically the wheel which rotates these things It means that it takes some time Taking it to process and generally what happens Your output is here now, isn't it? No, he will reply no 30 times, always 30. He will reply no no 30 more times. After that he will give up, see now 27 It will be 28, it will be 29, it will be 30, then say that He will give too many hopes, it is not like that, say something. will give look like this two many hops and this you It's not you with Shubham on the train. If you do google.com also, it will do the same and that is fine. Where is the second location from your IP first? I was connecting to the internet and then tried again. After connecting for a while, he can now see its IP address. will go to where the DNS of c will be yes it Look, let's find it now and see what it is. Let's find out what this IP is. IP address lookup You see what is this IP address? Yes, in the United States, I understand I came here and there, wandering around and then He serves all his data so the story The essence of this is that if you are a Okay, now he will do the same thing 30 times. He will drive it and say too many hops, it is like this Okay, so this is basically the command that you Must know Trace Route and Trace Path Okay brother, see what MTR is. I have used the MTR command like this I learned what the pin command is and what trace is. The path command lets you ping and trace paths if If you want to run them together, you don't have to run them separately. If you run MTR, how do you do it? MTR Let's Sen Vishumangal It will also tell you to enter, see the ping done and the path also. I told you to look, the data ping is also sending packets. is also sending and giving you IP addresses He is also telling the path, look it is done, it is done. Only nine hops and the trace stopped. For commands with paths, it does this 30 times. I understood what would be best, MTR MTR Stand For My Trace Route ok my trace route or trace route Whatever you say, MTR is very cool, isn't it? MTR is a very simple command. Similarly, if you want to see if a domain No domains are running properly or are active. If not, you can also do an NS lookup. Okay, close this and NS look up. Train with Shubham call up train.com to woh will tell you that it was your server and you Train vs Shubham pinned whose IP This is the address and this is the name address okay So this brother, then how is this 3.33 different? It happened and how it became different, understand it like this that when Also you can look up train with Shubham Co 80 If you are giving port number 80 then you Particularly good no port number in this How did you give yes I Think like this, no no, port number NS lookup for port number fails telnet is there for it, okay so telnet ones But I will tell you the port number, so basically What happens is that on every port number I have a NS lookup if the domain is mapped You understood that, right? Which IP address is on a particular website? It shows whether it is active or not. What does telnet do? It does the same thing. You can also add a port number with telnet. You can put ok telnet 80 now see trite connect to 3.33 1552 147 Connected Tooton v. Shubham's [music] So it won't connect, okay? Let's say I did 443, so look, 443 address. what is the difference between 443 and 80 If it is different then you will be able to understand this thing. 443 vs 80 will be of great help 443 is a secured network. If it happens through then understand it like this HTT P is 8. TTPS is 443 so What have I done that I have kept It is a secured one, it has been given this IP. And the one with 80 is public, that is this IP It is given so that you get such answers Same if you will gossip NL up google.com you will find something similar to this that which The number is 80, that's an IPv4, something like that. It is an IP but its port number is 443. An IP is v6, it is a v6 address. Okay, so this is how you can use anus lookup. Yes, this is a very interesting concept. This is a very interesting command, similarly you You can use Telnet like Telnet I told you about the port number. Host name helps in connecting Let me tell you that for example, if I Enter the host name and this computer will tell you what is the host name of then this IP address The host name is Train V Shubham's So this is what remains, this is the IP address and Its host name is 127.0 1 This is the IP address of its host. What is the name of local host, so you can do it like this You can run any of your applications with Lets. If it is on port number 80 then you can go here you can put 127.0 Colon 80 and its application name can give train.com and you write internally Uncles from Shubham's server room live here. If there are Sir people living there then they have IP If you want to show the address then show the IP address You do this and get the complete IP address He will show you everything, brother. I have it in the loop back address This is my address eth eth 01 or whatever My Ethernet cable is this and his is this If he shows all the details like this then Crazy command, this one is also ip ok Hey Ed Kong, what is Ed Kong? There are also wireless connections, you see. What all did you get? You got the IP. got and id got IP means internet Protocol I Interface and Id Internet of Wireless kind of network okay so if I will eed config so me good if you wireless If you want to do this, you need wireless tools You will have to install it, you are watching today's How deep is the session going? Tell me about net internet networking If I wanted to know, I had to install Net Tools. Had to know about route trace I had to install TraceRoute. I wanted to know about wireless. How much if you have to install wireless? If something remains then it is an idol Confinet is attached to this server and shows it Dega No Wireless Extension No Wireless Access No wireless, so no one is wireless but You will say brother, you ran this on WiFi. Why are you telling this wireless, why? There is no wireless, brother, two instances are far away. If I do the same on my system Will I work in the system or not? Coffee Gudda Install IW The tool that Confido always has with me No, I have it, I'll do it later. I will keep updating my brew, basically I was trying to show you that it came If you run it in W conferral then in local Is there any WiFi connected or anything? If it is connected then it will show, I will tell you this okay let's go now SS What is this net, isn't it? St Network Statistics is a part of the same The version is also SS, so if you write SS Even if you give it, you will get the same work. Net St gives the same as Net St gives If it is there then why did you write it separately brother? I was enjoying it because brother you were being asked. Could it be that what the commands differ from You can fill in the commands used in networking. You can write net stop ping mtr trace out trace path ss remembered from dig dig If you want to know the IP address of any domain I have to dig out the complete information Digging by doing that for example this is Shubham Bhaiya Hey brother from Deps, he made his own Website No shubham's Now brother, this will reveal that my Where is the website hosted? Enter so I'm basically running an Ubuntu server. V shub.in vs. shub.in vs shubham's Who is it, for example you put hu is train With Shubham who is it and Shubham come enter Brother, who is it, it is not installed, come on Let's install Who Is now from this Tell me what will be the benefit? shub.in With Shubham Enter so see what is there so domain name Hai Nam Co Registry Domain This is Hu e Server means from where I got it Gad Eddie When did you take it Brother, I took it in 2021, friend, when did 12 come this month Oh brother Sir, happy anniversary, okay, from god.com I had taken this, this was it, oh my god All the details are there, come and think about it. Big guys like google.com now train.com So it's growing now google.com that google.com has changed its domain Let's see where you got it from, google.com got his domain from mark.com brother this What is mark.com Brother, please teach me networking, what is this here? You are doing things like that brother, knowledge is everywhere. You should get it from me, collect as much as you want Keep collecting it, okay, this is Mark. Monitor, something is wrong brother, your internet is slow It's going on, let's change something. No, okay, so what is a Mark Monitor? First of all, this is not a spin video. Mark Monitor works with big brands does Registered his domain with Mark Monitor brother added No, two and a half lakh dollars, that would be a lot of money. Brother, I don't have that much money, go to someone else. Come to the command that if you know who If it's gone then what is NC net cut oh this I did not see NC NC Ton with Shubham missing number ok ok nc come tell you again nc I I generally don't even use net cut ARP. yes address routing protocol or something remains A RP protocol remains OK that Address resolution is very crazy Meaning, look at the address of your device. This is how your device's address works So this is what is called MAC address. The host requests a MAC address from a router. And that router assigns a MAC address to that thing. This is the type of internet tool that you You can know it by rp command, which is a rp If the command is, then my address is this And the Ethernet cable that is attached Hardware address is this so if you have any If you want to find the MAC address of something, you can You can find it very easily with RP. Well done, ARP is great, isn't it? It is simple, whatever Ethernet you have written ARP The MAC address of the thing was in front of you. OK A0's Etch Zero has arrived to you. If the MAC address is available then all this networking There are commands that will be useful to you as an RP. Gone it's done if plug status that happens No, it is the same if I mean the interface I would have shown you all the interfaces you have. If the plug status is OK, hey, take this again. You will have to install it in today's session. We can install half the things. So friends, networking by These servers do not have tools by default. You need to install extras Okay, so if plug status then link B Detected Link B Detected unplugged so I uninstalled docker So docker uninstall if I write But the interface of Docker was There is no butt plug left, which means it won't work. running an Ethernet cable loop back that If that is also running then everything is running then if Plug status indicates whether your interface is running. Whether it is working or not, that's all the work is going on. It remains ok now brother these are the commands The reason I wrote this separately is because it This is a command that you generally don't use. What do you do? Let's start from the bottom. Curls from below vs. get curls that It is like curl, which is the curl command. What is your URL command? To call API endpoints Brother, understand what API is like this that you Yes, this is your server where you have some data. So you don't talk directly to the server. Yes, you don't talk directly to the server. Yes, that's the way you are and this is a The restaurant is Let's Say McDonald's Now you can directly buy McDonald's Don't you enter the kitchen of McDonald's The man who stands at the counter outside You tell him that one vegetarian Maharaja is fine. He goes in and for you and Maharaja The man in the middle brings it Understand it like this that it is AP, okay it is API So you will not tell the server directly. You will tell the API that brother, take this server. The server will also tell the API that Okay, take this and give it to your client. Two, so this is what the client requests. The server that responds does Why do we use curl to get the Response from a server to any API call If we use curl to do this, what do we do? Let's take a sample API for testing Let's take a simple API. Let's take it for testing, where did it go, take this. Let's take the dummy test, so this There is a table for employees which is for employees. What will I do if it fetches data? h x gate gate means if I take any data ana hai curl han x get and ye api ka end Point enter and see, the entire data has been brought. The employee data that was available here There was some API data available here. He brought it here too, but brother, how much is this? I brought this dirty thing, look how dirty it looks. How do I feel, what do I do? I am a plugin named Jay Ky, add it to it So if you need any curls What should you do to make the output beautiful? Put the pipe in front of that curl and put Jay Ky two okay and that thing becomes beautiful will go oh brother he is saying that JQ Not found, I did not install JQ. What you do now is sudo att install JQ Tax Brother, write in the chat if we have today's session People install the tool only you know You are going, but this is important because you How do I know who all these tools are? So why do you have to install more from JQ is a tool where you enter data. This one will give you something beautiful outside The old command was colon j q enter aa ha Yes, how beautiful it is, successfully all records Have you been fed so clean diya na See how true it is in today's session. JQ wasn't even covered, yours was just Curl covered tha curl with I did J Q I also told you so that you can do better If you bring me cute, beautiful, lovely Get as much as possible from this series. More data information related to After the call, I understood what W Gate is. Understand this way that if you get help from the internet If you want to download something, you can go to WGate. You can use me as an example sample I want to download a sample file. What should I do if I want to download it? I want to download any sample file. Where I want to download this document Why am I getting Bumble ads? So I want to download a document I want to, so what will you do? If you want to download something, find its link somewhere. So what did I do when I brought it from there? I was a fresher so I didn't like anything. I want to download it, I used to go beyond that. Right click and copy link address I used to do it and copy the link address as soon as I did Nana what I used to do here W Get Well Before That Try LS Doon a ok m kd i r downloads ok Is A spelling brother, I am downloading this correcting the spelling I'll be fine CD downloads now this I need to download that file in the download folder. If you want to do it then double gate, now this is the link of the file Copy the address and paste it. Press Enter. See ATTP Request Send Awaiting Response 200 OK saving to file and you If you do ls your file is done Download it if you have it on the internet Anything that is public and downloadable You can download it from WGate. ok so what does curl and w get mean Understanding Curl API Calls in General Downloading W Get Things To do this, you can interchange both the OK keys. You can, but for their purpose only. use it okay trace route hey i told The trace route given to you remains the same IP hops through the Internet Neither does it remain the same. What are IP tables? This is very important so IP tables Completely identical to your VPC. I read the chapter when you were not Vishumangal Made 11 days ago by AWS VPC And VPC peering in that I have explained the concept I told you about route tables, so route Tables what remains that if your y server You have given internet access to this If so, what is his address? Protocol is everything that has routes It shows the same in a table format. The thing is IP Tables Ltd IP Tables are not good IP tables, those tables Is Maybe IP No Tables No IP Tables look good IP Tables Help Let's see what happens with IP Tables In the IP tables here up to chain insert This is a list of all the rules printed in the chain. Rules IP Tables Highin Heine List Looking at the rules have could not fetch rule permission denied you Must Be Root o sudo ip Tables List rules Oh, so this one with IP tables You cannot run without root permissions. So these are all brother tables for Docker. Oh my god, this is quite a crazy thing. The more you go into depth, the more you Crazy crazy things will get these W Gate we had it covered Well, what is a watch, friends, watch which There is a command, right? Watch. This is if you have to run any command and I have to watch its output again and again. If you want to see the output every two seconds from You can do it from watchlets if you have the command drive Is MTR ok my trace route did I Now it will keep checking every two seconds. But what is MTR for, train with For Shubham What are my routes for this domain? So keep on talking about that thing and he will keep on telling you. Yes, now this thing is being replayed every two seconds. He'll keep doing this every two seconds. Keep stirring this thing every two seconds Keep running, keep running this thing every two seconds so this is what he does okay so Watch top, this is what I generally do, so every two Seconds later a top top top thing keeps playing That's all that remains Yes, okay, so you can change that watch also. Can you watch n = 5 Top to every second will run you then you Whatever you want to loop, now watch five seconds later and it will restart That five yes look updated This thing is M top okay so every 5 seconds Later, if you want to run something repeatedly, If you want to run it then you can do this thing when It comes in handy when you need to update the status of something. If you have to check again and again then it works fine What is Watch N Map? What is Watch N Map basically? Network Map Lives N Map Network Map Remains to install this thing again If it falls, what remains of the N map is complete A network map shows where the network is located. Kind of like the route where it's going from The route table remains the same If the situation remains the same then the networking There are commands, they are endless, there are many of them. Commands are important, know what they are What is important is that you understand We should know that we use all these commands. Why are they doing it, how are they doing it? I will tell you why you are using it. Because as a dev engineer you have a lot You will have to ping a server once. The IP address of the server will have to be understood as the packet Whether there are any losses or not, how much latency is there You will have to understand all these things, that is why use it. We are making this a map. Let's see let's map navi navi means verbose Show a little train with shubham's I also did the DNS resolution then After scanning one, it is telling that brother, yes it is there. Its port number 80 is open and please tell me. A map, what are you doing, that's all I have kept port number 80 open because If I don't maintain a website, how will you guys maintain it? You will see how you will see that neither Shubham's 0 is kept open and all this Things You Can Learn With the N Map Command How cool is that, it comes in handy when You want to scan a website. If a port is accidentally left open, then Attack further but don't do this generally people Like a map hein And whom should I let go of? Someone takes a website from someone someone's So someone please take it, friend, yes my Check out interview.in Yes, it is not, this is not there, this is an interview No, okay then do it Adami. Try visiting google.com Ok [Appreciation] google3 80 brother, very good google's edit your routes change I have to do this system with let's If you want to add public IP then route Yes, oh yes, it shows the entire gateway. Route table containing routes which I IP table What he was saying was basically If the explanation was about the route, then the route table Now I will show it in this when When you go to VPC, there is a route in it. There is a table that tells you where the internet is located. Routing is happening from the subnet which is Where is that routing happening so route One thing happens by doing tables, see the whole thing. The route table shows this or that route. table yes look at this this is what happens 0.0.0 This is for internet access If it is Internet Gateway then look at the Col IP Routing Table Destination This Gateway This Then This is what's going on through the Internet gateway. ith zero interface okay ya i face meaning The interface is ok, it is great, isn't it, everything you Go to linux.com for free and here View all and go here and you will understand. Aayega Free Train with Shubham Computer A master class in networking right now So it's already done but whenever you want it You can start and watch for free. Yes, okay, you don't have to do anything for free. and whatever in end to end networking I must have told you everything in it That's how the internet works, bro. How is the TraceRoute OSI Layer OAI What is the model? What is the TCP IP model? I have everything covered This ARP is also covered in this. Some covered files are district and doubt clearing. Real time doubt clearing is everything in it Okay, everything related to was covered. Networking, so you must also see how We use commands like ock sed grep If you can master it then first understand it. Understand what oak is, understand this. If you want to become a pro at something, You have a little bit Programming Programming Pro You should know programming, okay, a little bit. It is not that it comes in large quantities or completely Learn how to code as a devops engineer It should come brother, this question remains, right? You should at least know a little bit about that count. Take out the for loop and run all these things you should come How do you program in Linux now? Shell scripting is used for that. Shell scripting but bhaiya shell script You don't have to write the commands in full. If you want to play the game then how to do it then for ock AW so AW There is a tool called a command that itself There is a programming in it, okay, so what do you mean? If you have a file in that file You need particular The line has to be drawn to the range of lines Do you want to take it out, tell the count or anything? Programming has to be done for that particular data So you can use ock with so today I Showing you a real-life demo of Oak So let's go to our instance. Do you know what I am going to show you, why use it? For example, you have a file Okay, you have a file called log. File logs and system logs come here, right? logs something is there okay something something Logs have come x y root xy root The logs have come, now from these logs you I want to extract some data from LETS. The data stored on line number two is You just have to act and how You will do this and this is the 2000 line log file. So this log file is 2000 lines long out of it How do you extract line number two? Or how to extract line number 50 If you do it, it will help to do all these things. If it does, then today I will tell you in actual I'm going to show you how to create a log file. Devops meets the engineer and inside it By using this command ock sed grep He shows magic, let's show him magic again Connect to your running instance. Let's take it through SSA, this is my system. sudo ssa do it I hope by now All our learners are train with Shubham But reading them all is SSA Linux Creating an instance will have everything ready. Come on, let's learn KOAK as well, so MK DIR Let's create a folder called a day file. In which we will discuss all the important things of today. will do cd de f ok what will i do now I'll bring a log file, then we'll go brother. A sample log file currently in incognito. ok example log file a sample log Let's pick up the file, okay, this is a log file. It looks good, it looks good, let's go for it Let's pick it up, I took it I took this small part, so much more Let me take it and accept it. Let's take this much, let's take a little more Let's take a little and let's take a little Let's take more, let's take this much, take this And what will I do with this one in DE F I will create a log file or Then pdlog ok creates a log file What is a log file? Generally, log files Whatever happens can end with a dot log It may or may not happen but good Practice is to have dot log ok enter And whatever log file I have inside it I had copied it, I will throw it away, okay throw it away. Now look at it, there are many things. Some are time stamps, some are info, some are logs. There is something, brother, there are many things. There are so many logs, okay, escape colon. I've got a log file. What I need to do is find this line in the log file If I want to remove number two, I will do it simply I can Head Hine End To application dial then see two lines come out It has come brother, it was so easy, where did you come from? You are in trouble, but if I Should I say that I don't need time, I need a date, okay? I want a date, I want time and only a date. I need more time now, how come Take me out now, what will you do with me, just this much All you need is the date and time, everything else. If you don't want it, what will you do, friend? If you do programming, you will use ock now. I will teach you how to use oak. Let me see, it's very simple now, Deps You are studying everything from Bhale Bhaiya, right? I will teach you by simplifying it, so write ok ock likhe diya single code open single code Close it, now you have to write the name of the file. If you want to pay then the application is locked now. Whatever code you want to write, whatever program You have to write it within these two single codes I have to write to the dialog file from let's If I want to get it printed then I will use curly break I'll write print inside braces and this Entered the file and it was printed. How right, what did I do? written single quote open single code close file Write the name of the print inside curly brackets Now what I want is the first column. If it is printed then print what the first column means Dollar One first column dollar one enter look only The first column has been printed, brother, now I am enjoying it. I want the first column and the second column If printed, the first column is $1,000. To print the first column and the second column Is the first column and the second column printed? Is it the right thing? Is it the right thing? Hey, what do I have to do now I want the first column to be the second column It should be printed and the fourth one should also be done If it is not the third, it may be the fourth, see So you can play with oak like this, okay? You can play with the oak, take the third one also. Friend, it's okay, I don't want the fourth, I want the fifth. You should see how cool it is now. Let's get the date from this and get the time. Gaya this trace is some kind of log error that This is a trace, this is an info, this is an event. There are three types: trace, info and event. I only like those lines from this. I want one in which information comes, so what should I do? I will run the same command as I did earlier. I will run it, I will run it, simple just print it I'll add a filter to the columns. I will filter anything that is I should get the info and things printed. Enter then only and only what was printed How cool that only info was printed. Isn't it true that from Let's I only get information If I have to send someone, what will I do? This command was mine ock info print 1 2 3 45 lalg let se me isko What do I do if I want to write to a new file? Give This command greater than means redirect the Output to new file means only if dty Ekti and only if dlog ok what now I know I only have information. If you go then CAT only info only and only info You got it, it's so right, whatever you mean You want a small one from a big log file, right? If you need data or have any expected data, You can remove it brother, just like you logged in. What did I tell you, sorry, what did I tell you about info, we are doing the same. People wrote the trace or event in it Can they take it out? Yes, they can take out anything. If you write 'ho event' then events will appear. Well, it is not there in this file. Printed to yourself not inside the file To print is to show yourself on the screen Okay, look, all the events have come and this has given us Also, it is known that events are always processed. Something must be visible in its log file. Look how much it has been simplified to the point where But your file looks like this How did you show him I showed it like this just because of cock but Brother, tell me this Total number of times info has appeared Total Info how often So what will I do? I will do the same. Simple whether it is open or close now what should I do I will do it, I will have to do what I want to do Info has to be done and count of info has to be known have to do count okay info count address and if I enter this something Nothing will happen, I know why I haven't printed the count. What I will do is take a count of the info This is my first query which is the first one There is code, I will end it, so end now I should I print it in the second query? Count has appeared 16 times Info is so cool No, if I want to see that the whole A particular file in the entire file How many times is the word coming, it is coming 16 times why how what is the code info or whatever Also your keyword is its counter count plus Plus means every time this information comes, a Increase the count every time the count comes Increase it and after increasing it, that count Print it out and you can also write this You can also write something like this: print double in quotes The Count of Info is comma count the count of info is 16 so You can program things like this How much fun you are having reading this I picked up a demo file from here. Where is this from? Pick up a demo file from here. You are experimenting just like a dep Engineers also do the same thing with log files. I'm digging deep into the log file. Well, the problem with this particular IP address If I had an IP address from Let's If you want to find any of these, let's go here. Do you have an IP address? Look, you got it. I got it, I got something, I got something Look 9.60 there is something there is something like this let's How many times have I received this IP address from If I want to see that, I'll just count this thing off. I will write the IP. Instead of addresses and info, I just put the number I will write down the IP address that was there. Enter the count. of IP is 13 so this IP address total 13 Now you have learned how to use the ock command. After doing this, he told me this thing with so much love. It's cool isn't it, but brother, the real fun will come then. When you tell me what this file is Log The log in this is 8:53 I started from and am up to 854 meters I want the logs to be the same as 853 mit pe generated I understand that particular incident or Particular issue came at 8:30 or 853 I only need the logs from 853 hrs now. How will I do it? It is simple, you have to understand that this Which column does 853 come in? Ok, first make this, make this simply. Okay, now you have to understand which column. So this dollar to pay has come column to pay If it has come then dollar two has come now this is good If you want to print something, you Dollar sorry print inside curly brackets If you have to do it then you will have to print dollar to I got time, okay, I got this time 853 From to 854, what should I do? I know it is 83 sorry, whatever is less than 854 If you want to print Understand that I will put this condition here that If My dollars u i greater than equal should you copy that 8 Whatever you need, get it from us with 853 should that Started from 853 And my dollar to Joe is dollar two what is that that is column is end Dollar to Lesson Equals Two What is Lesson Equ Whatever you need late You want 853 59, which means 8:53 and 59 seconds, if that's all it takes, then that thing Tell us what type of event you want. Tell me, I will explain, look I have just arrived. So let me explain it to you, okay? explains I am a dollar to earn a dollar, I am a dollar to earn a dollar F ok now look at the command, understand it carefully dollar To what is dollar to that is the column where But if you have a time stamp, I can compare it. what am I doing, I am comparing I'm saying my dollar to if greater than Equal to means who is bigger than 8 o'clock 53 If the minute is greater than 00 seconds, end Meaning and and meaning and more and dollars The two columns are from this time stamp. It's small so whatever column it is sorry whatever There are columns, print it, then enter you will see 853 2022 These 54 people did not come, how true is it? Not if the 54 ones do not come then you will have to range If you want it then you can give that too, so what do you mean? How cool is it, man, how cool is it and like It happens in the head and not in the first five should like head a If you haven't entered anything then you can log it in. The first 10 come in, okay, the first 10. The line came but the line came to me from another line What should I do if I want till the 10th line? You know, simple, I'll use oak, so oak Again, I will write this entire format. If my number of rows is greater than equal Two Lets to Two and number of rows is less equal to 10 So what do you do? Two so print it okay enter see first Tell me how this came about and what I want. Print the number of rows also in the print So n Come see, the number of rows is also printed 2 3 4 5 6 How cool is this, friend, this is so true Oak basically what oak is Provides access to programming languages that you can calculate you conditions you can put you can run loops you can do a lot You can do everything, you can print it. If you can print the column then just press OK. There is a requirement from you in the interview also It is asked which is the better choice between oak and sed What is the difference, there is a requirement ok The data I need is your formatted one. Data is required, meaning it should be comma separated. CSV is an address file containing CSV values. Isn't CSV comma separated values ​​or so It should be CSV or tab separated. Values ​​T SV Ho Mean If you want formatted data then OK works but What to do if you don't have formatted data? What to do, brother, after reading Oak, you should Read what is Sed brother, see Sed also It is a tool similar to ock, the only difference is sed. ka full form hai stream editor so whatever Your data is coming and is displayed on the terminal. or streaming data is coming from that You can also edit things in real time. Yes, it's so cool, I mean, I'll show you. Let's understand how sed works. I have come, you must have understood it brother. Hit like because ock generally generally gets You don't actually have to work There are two see oak people in the industry I am an example in all these industries. I am coming back having learnt things and I am teaching here. So friends, I am reading a lot of sad things. It is very simple, what you have to do is like You had read oak, right, how to write oak in oak given single quote open single quote close and Then I wrote the name of the file as it was. Write what instead of ', write sed, that's the only difference So much so that in ock you have curly brackets I had to write things inside here You have to give expressions with lets I want to print the info, what do I do? I will write Info but what do I have to do with Info Print If you want to do it, I will give you a pattern but If I run this thing, then hit enter. I will give it to you brother, the information came but the trace also came. It means something went wrong with your command. So correct this thing whenever you use said You do it and give any pattern to it Limit to match the pattern exactly To do high A has to give Han A I entered it, now see how much information you have. that was filtered out okay just And just how much info is now filtered out Isn't it cool that I get information from ock? I wrote ok and here Info and here p dot log and just info I had to get it out of the shed, I had to get it out of the shed Kia Sem Kia was written instead of Au Said and here the f written hein N and P after Info so that the pattern It matches and I get the same output. But brother, then what is the difference between oak and sed? If the same is working then what is the difference The first difference is syntactical. There is a syntactical difference, the second is Works on Oak Records which is very It's structured like I said. CSV TSVS and TSVS Line by line works Structure two Give unstructured data in two lines Byline works fine for me now. Know what to do line by line Wherever information is written, If you want to replace it with log then say brother Sir, please do one such work for me wherever Info is written on it too, replace it When you do this thing with two logs, then that thing If you make it global then write ji and this one thing It's a string and all of this is replaceable. Replace means one of a large string If sub is replacing the string then sub In which file do you want to replace it brother? You will love Dialog enter dekho jahan-jahan pe Wherever I had my info, that log I have been converted, how cool is that? that wherever in the entire file the information He showed it to him and converted it. Brother, such a level in the log. Programming happens that if from let's You get the day data in production by mistake Gone but you don't have to show it to the client Replace it quickly, don't do such things but I was just telling you a use case, what else? what is its use case its use case so It's very strong, like you get from the lats. lines to print info which line If it appears on Sed Info On which line do I appear? If you get the line If you want to print it, then you put equal to This thing is an expression whenever you If you use the expression then you have to and the string has to be converted to a Using a hein to keep within range It does and what can you do about it? Give the name of the file and enter, then whichever line But he has told me the information that had come. Stand for Showing the Number Line Number But Bhaiya tell me your line number Along with that row, the line number has to be printed. So you showed me that this is how I will get it. What should I do if I want to print it too? I will write here Hein e one more expression another expression where i Info What should I do to print normal print? If I enter it, the line number will also come up. I also got his info and line number I also got his information, I understood it. How cool he is, how cool he is, but brother, I What do I want? No, it is very cool, yes and We have also liked the video a lot. That's right, but I have a use case where Line number one to 10 which stood now cut alg json now trace line number one Trace Trace Info Trace Info Trace Info So much, even as much as in the first 10 lines The info is written, it should be replaced with the log. Only for the first 10 lines, for the rest If not, what are you, brother? If you do, let's code now, I will say I colonized the P. This is my I made Now whatever I have to do, where will I find it? I have to do whatever I have to do, that line number From one to 10, from no to 10 what do i have to do string Info to replace It is globally okay to log in, just do this Done, done, enter, now what did I do? Look, the info is visible here but line Numbers 1 to 10 should not be visible It seems from line number one to 10 It is visible here also, info is visible here why did y info come because y One or two must have gone above line number 10 Teen Char Pach Sa Aan 10 Ke Upar Gaya Mujhko If I want to change this too, I will just increase the range. I will give more than 10, I will give 15 If I give it, he will also become the one above, okay? Look how cool it is, isn't it? I can give her as many lines as I want. And those things will be on that line, see? This was the first change, this was the second change, this too If the change happens then friends it will be amazing. It is a very amazing thing, but brother I don't want to print all the lines. You have to print only these lines, okay you Running the command is fine Give him the semicalculus and pause it, okay? The first command is done, then what do you have to do? Print lines 1 through 10 I want to get it done and what to do on the loss, quit Have to do is stop Need a small subset Enter, look, a small subset has come from here I only brought it till here, I didn't get much. however many lines there were, 15 lines or however many There were also 15 lines, only those 15 lines He quit after giving So Sed Same Works Same As Oc Just That The difference is just this much, I will explain it to you. What is the difference between structured data? Works in column by column sed Structured Semi-Structured Unstructured works on anyone Line by line, then brother, the third command comes. grep but before moving on to the third command Many of my learners told me that Brother, you are teaching so much about all these things. You are teaching me in the same way as Jenki too. Who thinks we have to read it? I also want to read Docker in this way, I comment I read, don't everyone want me to read like I did? I have studied Linux and I have also studied Docker. I should also read Jenkins, I should read Kuber Nitties I'll also read Terraform, I'll also read Embel If I also teach you graphana, then friends, this I have brought the solution to this problem on the train. Vi Shubh am.com yes ok yes website It has changed a bit, a new website has been created. What does Grape do if it is If you understand the full form then it is Global regular expression pattern meaning if You need to select from a file or the entire system. some regular expression or something If you want to find it by matching the pattern then you If you use grapes, brother, then it is great. Interesting thing, I mean, like you in sed Just like you were extracting information from If I write info in the grep command And if I give my file name then all the information will come It will go, yes it will come, enter, see all the info will come Gaya Bhaiya, Ogg is also doing the same work, Sed is also doing the same. grep is working also What is the benefit of all the use cases friends? They are different from lets inform me I have to find and I have put info in capital I did not write it, I wrote such grape I A Ao and looking in the application logs I did not get it but grep which command He has a power which is called are case in sensitive hine hine i meaning Case in sensitive you If you want to write in small capitals, write in small If you want to write, write in any case, you write it. And enter, he will find it and bring it and the best Tell me the part, there is more in it, so many If the grep is not finished You mean hein i in case sensitive I found the info in the application log and found this info Do you want to see the count of how many times it came? So this same thing has appeared 16 times in Heinz C What will you do if you go with Oak? tell me what you have to do what about info You will have to count plus plus and then what This query has to be ended And then you have to print the count. For whom to file and you will get the answer You will get 16 for doing all this. I had to write this many lines and in grep it was enough If this is enough then use grep. The case is different, the use case of ock is different, files The structure data is different for sed. Line by line I hope you feel Clarity must have been achieved that oak said grape this All three are very next level ls There are next level commands but their use The case is different, let's start one process. I wrote PS AY x PS AY All the processes have been completed, everything is fine. I have come to know all the processes. We need those processes from this which are our What do I do if the Ubuntu user is running PSYX I will grep through all the processes Enter Ubuntu, now only and only Ubuntu The process has come, it is so interesting. This also happens in real life, you are someone You write a command in the output of that command. You don't want to miss some things from grep It works quickly, it works quickly Let's give me just more of this I only want this column, what should I do? I do this by ok what Print Dollars Only that thing got printed brother Sir, if you don't like the video yet If you are after this content then what can you do brother? what are you doing Everything What is LVM EBS What is Dynamic Storage Management? What is a physical and logical volume? groups, all these things Let's start the video first understand Looks like storage blocks for you Brother, what are blocks? Blocks are the same. There is a thing which you can also call hard disk. If you say it or even say disc The disk or block is also the same. For example, your laptop has C in it. Drive D drive is such drives and That drive is basically a hard drive. That's what your volume is called now. Understand what external volumes are If this happens, you will get an AW2 instance. lets create server in the same way as AW SEBS or Elastic Block Store Lets you create volumes from lettuce today In the tutorial we have three volumes will create volume one volume two and volume Three Volume One Bol Ke Mujhko Honey Singh Ki I remembered but I did not get lost anywhere. Create a volume, one volume will be 10GB There will be one volume of 12GB and one volume It will remain 14GB. Okay, now these volumes You attach to an AWSE e2 instance Ho, you attach it like you do in these volumes Basically your storage Right, basically your storage should increase If there is any shortage somewhere, bye late The default aids give 8GB and If you fall short of 8GB, you can use this extra You can also add volume, this is basically it. The entire fund remains You can, but if there is no EBS in Azore then This is the complete tutorial on ec2. Let me create an instance here. I create mostly things I am going to explain the theory practically. If I am not going to do that work then its name Somebody put on TWA volume You can name the instance anything, it's yours. And here I will select Ubuntu. I will take you on a Uban to machine I'm going to demo the volumes in full. Sikhi wala hu wa ok instance type t2 Why do we take the micro because it is free? Tier is mu will read for free a pair of We create it and write its name. TWA Volume Volumes Alright TWA Volumes key and create it by pairing it Look, the pair has been downloaded now. We are going to do SSA using payer. Network settings to SSA Allowing you SSA traffic in You just have to do this much to stay at TPS. Give it this time, now confill storage, now brother What is storage? Storage means disk. space which is also your volume so when By default, you create an instance when If you create an instance, the minimum AW He gives 8GB and that is your root. If there is volume then you should take minimum 8GB. You can take less than this, you cannot take seven. If you take it then it will give error, you can take minimum You can do maximum eight, you can do as many as you want. okay that's enough now let's do this After you launch the instance, that's it. Do this much, what have you done with this Created an instance of an AW Which has 8GB storage i.e. disk size How much is 8GB, which is also called the root volume? So what is the root volume, it is 8GB. Just understand that okay, now this is your instance. Launch done means in your instance you You can store up to 8GB of data on it. Select Connect and go to SSA Client Select Open N SSA Client In my case I have Shubham MBP this is my It's local, okay, this is my local here. I installed an SSA in the download folder. client is open okay now this is my Terminal is basically the same as SSA Client speaking, locate your private key I downloaded the file tod vy key.pem I will look in the folder ls td volume key It has been located, now I have permission to do so. If you do not want to keep it publicly viewable then use this command I'll drive it to Seach AOD 400, so this It won't be publicly viewable, okay? This is also gone, now what will I do, SSA tax I will give you on my instance so that I can give you If I can teach you all about volumes Let's do SSA quickly and I Great, let's click on Connect Yes. and it will connect okay Interesting Now what has opened up here? Interesting now here I am going to put one of my My AWS instance is open. Now understand that there are two commands which you should pay close attention to. One of them is LS of LSBL. BL means List the Blocks List the Blocks means from which second, disk or You have attached volumes of that If it displays then I will have X VDI The 8GB disk is attached brother. What is Equi, Ex Vadi means your The root volume is named Aqui de isko you in the extended version when If you write then Sl Dave S X If you also write vadi, it means device xvda1 xvda1 14 15 16 these are all its partitions It is well partitioned and now it is I will tell you the second in command of Gaya LSBAA I am going to tell you that he is Dae Han h means your How much disk space is free then Joe Dave Root Hai dev root means your root volume Out of that total that is 6.8 gb.com that's mount slash pe bhaiya mount I'll tell you what happens, it's yours. [music] Once you mount this thing you will get a You have to provide the mount point like a slash what is the slash where is your linux from Whatever you do, it starts with the CD. slash now your complete Linux from here If it is started then it is mounted at this location is your file system so that's why mount means Binder with one location for your volumes Give it, it is called mounting and your Attaching a volume to an instance He is told that attaching is okay, so if You attached a volume to your instance If it is there, it does not mean that it is a mount. At some location you have to pay extra I have to mount it, okay, so this is me I will show you first so that you understand I have come here, two commands which are the most It is important that LSBL gives you will show all the blocks and DF Han which will give you All mount points and your storage will show simple now let me create and volumes so I can do my I will go to AW instances and Elastic block in the side bar in the side bar store what is this it is a store lives where there are a lot of volumes If I find it, I click on Volumes Now here I will click on Create Volume I'll click and I'm a general purpose I will create an SSD. SSD means your volume. Hard disk is basically an external drive I'll put it in size 10GB, okay? I will explain it to you diagrammatically. What am I going to do, where is my place here? My diagram is gone, yes this is going to be my diagram. that on my AW e2 instance I I am going to make three volumes, Volume One Volume to and Volume three, let's make it So, one will be of 10GB and one of 12GB. 14gb now what is io ops in it The size has been changed to 10GB ibus means input How fast should the output operations be? So much throughput so much okay now Availability Zone Whichever Availability Zone I swear right now the availability zone is inside I am in the US way to and the availability You can access your instance in the zone you are in. Create your own volume snap7 ID don't create volume from snap7 snap7 What happens brother if you have a volume have you backed it up is called a snapshot now can you Do you want to create a volume from the backup? No, I If you want to create fresh volume, don't Create a volume from snapshot now this After doing Create Volume I did So you can see the volume is 10GB. This volume is created as soon as You get created here. It will appear in such a state as if you If you refresh, that state becomes available. This means your volume is now available. To be attached, I will give two more volumes. If I create it, I will do it once. Create volume of 12GB, everything else will remain the same And one more I will make the rest of the 14gb Create volume will remain the same, okay so now I have sorting according to size If I give you 8GB, 10GB, 12GB and 14GB, these four Volumes have been created, which one is 8GB? By default it is associated with that instance. I have four volumes of 10GB, 12GB and 14GB. Made just now and all three are available These three volumes that I created are available Now see what I will do, understand this like this I made all three volumes, okay, like this. I have just made it on eBay now. I have to attach it, so let me attach it. I'll teach you what to do, so what do you have to do? Let's go to this 10 GB one and Select it, selected it, go to sh And click on Attach Volume as soon as You clicked Attach Volume. instance you will have to see which If I want to attach it to the instance then my The instance name is TWA Volume This is the instance that I just created. Now select the real game here If it starts then what is the name of the device It should be that which you b1 Eddie CDs are all generally root volumes. The names remain but if you need data volumes If you want, the name remains in his name SD F SD H I J K L A A O P So you who The naming should start with f There's a small catch, let me show you. What happens if you take b, e.g. I took the b and I added the attached volume I went to do it, now you will get an error that sdb For Yax Device Attachment Point Is Already In use, this is your already used Why because it is the root volume, so For this you will have to take SDF and whenever you SDF will take that His name became X-Vadi, so whenever we I will create ADF and its name will be XD F will become like this, okay, so ADF is installed. I have attached the volume now which is our 10GB What will be the volume in use? It will be done means it has been attached Similarly, yes, as soon as it becomes in use So try it here with LS BL. block list and see that look at this Aqui df1 If he brings the GB1 and GB14 ones as well What will I do? I will go to the one with 12GB. And I will go to actions and attach volume. And in the instance I'm going to put the volume here. Device name I will attach the instance to There is a 'ji' after 'f', I will put that in. I have attached the volume now that my third I picked up the one with the remaining available volume. I will take action and attach the volume and run my own in the instance I will take away whatever was mine and If the device name contains G followed by H I will put it in SDM brother, you have three Why did the volumes even come together in one volume? So you could have taught me the entire tutorial, brother. Very interesting tutorial right now I'm going to make a lot of things in it. I'm going to, so I need three volumes. So Bhaiya's videos are explosive. Anyways Anyways We see that those two new Attached volumes, can you see them here? So we will try LS and BL and Equi df2 Butt is attached to your instance If it is not mounted then I will also mount it. I will teach you, stay tuned, let's move on to the next point. I hope you have a great time You must have received an introduction So understand this that when you have these volumes made okay these volumes made these To make volumes usable, it Must be converted to physical volume Brother, what is physical volume? It's like you made Volume One This made Volume Two and this Volume Three This volume one that was made was yours This volume two was 10GB and yours is 12GB. volume tha tha your 14gb ok now i What can I do, combine all of these? Combining all these, I am a volume I can create a group which we will call I have a volume group and I can use it as a volume group. I can create a group, what will happen with this? 10gb and 12gb how much it became 22gb 22gb and 14gb became 23 and this 36gb The total volume group of will become mine How interesting and this volume group I can take out small slices from of logical volumes Logical volumes are the siblings of logical volumes. What are volumes? Logical volumes There are partitions whose sizes you can choose. You can reduce it, you can increase it. Can you according to your usage meaning I have three volumes from Let's The total volume of the group is so many times What is the size of 36GB, I took 10GB out of it I can remove a logical volume of I named it C Drive. I'm saying drive because We used Wiz sometime in our childhood. It must have had C drive and D drive in it. So don't think that this is your complete The computer is 500GB, you have half of it. I gave half to someone and gave that to someone else. It is that out of 36GB, 10GB was given to it. Created a second logical volume of 10GB And whenever needed, I increased it by 2GB. Reduced 5GB and so on, this is what happens Your physical volume is your volume group and this is your logical Volume manages it all LVM LVM means logical. Volume Manager or Logical Volume Manager so let's start learning LVM If you give it, it goes away quickly. Write LVM. Wrote warning running as a non-route User functionality may be unavailable when also you have to run LVM or whatever You have to do things related to volume. You have to run it as a root user or every Put sudo before the command, which is very boring. If yes, then do sudo scu and become the root user. Now you have become the root user, so go to AV A now. You need LVM which means Logical Volume Manager. Who I am all these things, these discs or volumes or blocks If there is no physical volume then right now I If you have to create physical volume then let's let's create and what then I will go How to create a physical volume I will go to LV M and now I will create PV. Meaning physical volume created is PV. I will now create a physical volume. For whom will I create S Dave Sl Aqui D A XD F what is this my First device means first volume then sl dave sl exsvi d h e fg yes Yes, so XSV DG and what is the third day sl xsv d a okay so what is this Bhaiya, this is my first volume, honey. Sing Volume One this Volume Two and this Volume Three These three were my blocks what am I going to make with those blocks I'm going to create the physical volume of the box So as soon as I press enter, physical VolumeCreatedDrawerNavigator It is of 10GB, 10GB is free, this is of 12GB It has 12GB free and so on great bun Now I have gone, these two are equal df2 I'm gonna name it TWA Volume Group Tied Volume Group Name I'm going to create a volume group. in which I run xvfb-run The volume group named Waji has been created How much will the total space be? How much total storage? I will show v to a volume group List it in the Teads Volume Group. Two physical volumes and one logical volume No volume and its total size 21.99 GB means this size is almost 22 GB. How much of it is free, completely? You are free now, how did I teach you physical You create a volume group from a volume. and create a logical volume from the volume group If you can, what will I do here? LV CREATE LV CREATE means logical Create Volume I Create Volume A logical volume with a size of I will give 10gb so I create a volume of 10gb I'm going to name the one I'm going to give I said a LV means logical volume and this I will create a logical volume. From Volume Group to Brother Volume Group What is the name Teed AVG is so cool, haven't you already? Physical volumes created Created a volume group from those volumes from the group You created a logical volume, but brother. The question arises whether you have this third one Why did you leave the third one alone? I left it alone because I I'm going to make some more, some more mounting. I will do it, you will know it in the end but In one place I have given you the information about LVM Physical Volume Volume Group and Logical If you have been told to create a volume LVM has finished its work. Yes, there is another thing in LVM called PV. Display So when you display PV So the entirety of your physical volume All the information is visible here. So if I displayed PV then PV The name of the volume group of this PV This PV's size looks so complete. It goes well and similarly you will You can also display and volume groups You can put all the things about Similarly, lv displays logical volumes. How much LVM can you display? It's easy, just exit. LVM, yours is awesome. You got the introduction right. So I hope you have understood that What are physical volumes and what are logical volumes? What are volumes and volume groups? What are ticks in Linux now? Brother, please teach me how to mount also because If we are doing LSBL then I can see that XSV DF is Disk is one of the XSV DG LVM This one is out and Aqui Da is now It's just a disc, you haven't even touched it. But when we are doing DF half A in There is no sign of people. aqui dá aqui dez aqui dá these people ko So, I can't see anything here, that's why It is not visible because it is not mounted. Let's mount it than mount it First a question will come that brother aqui df2 then eqvi df2 okay now let's go to me If the volume is a logical volume, then the LV S This is my logical volume TW SLV I want to mount this B Mount what does it mean look this is your phone Now this is your device, you can put USB in it If you take it and attach it, then now you have When you have attached this to your instance This USB actually gives you files in it. You will have to copy it and run it. You will have to mount it or Then I will have to unmount it and I will do that. First, I will teach you a DirectoryEntry LV mount means logical volume which is my I will mount it here and press enter. What will I do now? First of all, my LV is created which is a logical volume I will format it, how will I do it brother? I show the format AKA Ed ext4 now your path is sl dave steed s Volume group from it A logical volume, this is the path you need to You will have to format it first with this command. You format it and see it's done. Creating a file system to format it This means creating a file system. In which it will remain blank, now this format will be Now that it is done, how do you mount it? Will you do it brother Mount Aoy NT Mount now this which Your location is: Consider this as a source. You will write it and where you want to mount it. Ho let's say I want to mount the sl M AT TID'S LV MOUNT PE YAHAN PE I This is my mount location so my logical volume I want a mount or a binder for it Enter with this location mounted now The second command I told you about was ls. These blocks of yours would have been visible from BLK. The second such command mentioned was df Hein H now look df han a in finaly Dave Sl Mapper TWA Waji means among the Volume Group This is a logical volume of 99.8 GB. She is mounted on MNT TWA LV Mount now this place is Riu Jabal You understood how you were before When you attach a volume, its logical Create a volume and then mount it. Now let me show you something really cool, CD. Sl M AT Sl whatever your TWA LV mount was Now I'm in this MKD I R Deps whatever I want I can because this storage It has become my extra storage Extra USB storage for me The instance has never exhausted its storage. Why would it be because I know it How to attach and mount a volume It's so cool, I found it interesting and liked it. Let me now do the two videos and I will do the CD deps. I will give you and here is a VIM, hello friends. I will make a D t act, why am I making this? This is cool, I'm making it cool But that's not everything I do. Yes, the video makes some sense. So let's get out of here, now if I I will do it Sl M NT TW S LV Mount Deps and inside which is hello friends now I I can read that file from anywhere. Can you see that I have that which is my mount If the location was there then it has been made useful then if If someone asks you what is the difference Between Volume Attach and Volume Mount Attach lets you add a block to your disk. You give it to me but you can put that block on the mount. You make a jab, you make a jab like this If you need to make the block a ub then mount Now let me show you one thing if I Should I mount or unmount someone? NT TW S LV Mount Co I If I unmount it, it is unmounted now. If I want to access my file Effort I will no such file r DirectoryEntry Simple Thi Mount Had its source and destination then Mount The source and destination are mounted. Now you are back. Run the cat command and access it. Never use, reuse, or reuse your volumes. Then you can use and throw anything, how much If it's cool then brother, this is your second. point which was mounting volumes in I am telling the truth, I have not taken it anywhere. You will find this video where you Let's now teach LVM in depth. AWSEBS and Eat Instances In How do you mount both of them, brother? Here we were taught LVM. In LVM, physical and then groups and then Logical then by doing that you read Mount But directly if someone is made of EBS How to mount a volume That's why I did the last in LSLK. I had kept this last one open for you. Gonna say that's what I've got in volume The group is not created, even the logical volume I haven't made it, how do you mount it? So I have the same method, just a little command It's here and there, I'll show you, look at me If you have to create a mount location again M KD I R SL M AT Sl a tw s disc mount disk mount means cd smnt I have two types of mounts, one The logical volume is mounted and a disk I have to teach you both. Brother, what should I do first now? My slash dave sl acqui d a is what rah went to aqui da as a third one to this I will format it but now this is a disk. Formatting a logical volume that is not The method is a little different, even a lot No, it's just a little different, mkfs.xfs With ext4 you can directly create and use logical volumes. You can use enter for this so what do you say Dev XD Contains LVM Two Member If you remember to run the file system, we Did you create a physical volume for X Vadi? So that's what you still have to mount it. If you want to do yes, then it's done. Once the formatting is done, I will show you both the cases. I told you one with logical and this one let's go I'll tell you the second one, then come out. If we go, its file system is created, meaning This XSV DH has been formatted, now it I will mount then mount sl dave s Ekdi A this is my source turned destination what will I put in sl m nt steed s Disk mount is interesting and enter Nice brother, try DF Hyn H. Your AVD is mapped. MNT With the disk mount and Dave Mapper Ted a Joe It is a logical volume that is mapped MNT TWA LV Mount Co Drop A Boom in the chat if you have understood how mount logical volumes and How directly physical volumes or your blocks or volumes I mount you brother, I am telling you the truth, no You can find a tutorial if you want. But do subscribe to that It is important, come on brother, we have done everything. People have given AWSEBS to ETU How do they manage with instances? You also told me that I understood LVM also. Given that Logical Volume Manager is Look, let me tell you one more thing that happens when We run LVM so one of the LVMs When the promotion opens, LV S this The command displays the logical volume Get the LV display done, this is the command. It runs inside LVM but it is a bean You can also run the command outside of LVM. So LV If you can run this display outside too, brother? What is the difference between the two, there is no difference. Earlier, LVM was just a tool that Canonical created it. Who is Canonical? The people who created Ubuntu He gave the same commands to the tool and If you give the same command in your shell then Both of you can do whatever you want but Interest comes when you are dynamic Brother, do you do storage management now? Let me explain what dynamic storage is. So look, you should understand that you have understood both of these. A volume using physical volumes Let's create a group of new diagrams Makes nice balls So this was physical volume one and this physical Volume two was, using this you had a great experience. Created a volume group. This volume group Correct your logical volume from One of your logical files from this volume group The volume turned out to be great, nice and logical. The volume has been exhausted from this, now if You might remember this was 10 GB, this was 12 GB. GB so the total volume group that was created It was 22 GB, out of which we used 10 GB. one of Logical volume named TWA LV What was its name when it was made? TWS Waji and this is your physical volume one and Physical Volume Two, these two were now to me. What should I do with this WLV of mine? Let's install it on it The software is quite large and now I have 10GB free. It's going to happen brother, what can I do about it? I can extend it by 5GB more, oh that's a lot You told me the right thing, how can I do it? I'll show you, look, right now, DA HINE H DO M NTTS TWA LV Mount Key How much storage is there, it is 99.3 GB, now look at me I'll go into LVM and I'll go outside of LVM. I can also go into LVM and I I will write LV Extend LV Extend means logical Extend the volume a little bit hein l 5gb aur add kar do pa gb aur add kar Give it to me brother, add it to which one, add it to that one Two named TWS LV and which group to get 5GB are from the TWS Volume Group I want to take 5GB, please enter and specify. Logical Volume Path o So now you have a If I want to give the logical volume path then my What is a logical volume path and what is a dav Sl Dave Stead SVs and then Steed LV this is my Logical Volume Path is Enter Physical Volume TW SVG Not Found In Volume Group TW SVG So My Y The command is a bit confusing. Oh I'm so messed up I'm doing it to you like this You don't have to write directly to your LV Enter this in Extend 5g and see now Why did I do this? Why did I do this? I did not put it because the TD LV is is already associated with a volume group So if the volume group has extra If it is 5GB then it will be allocated, that is why What I did was lv extend a 5gb path What did Dave say in the Tead Volume Group? in twd lv lv means logical volume now Size of logical volume change from 10gb Two 15GB logical volumes successfully reset Now exit and do df5 and you can c Good to TWA this mount volume so That much is visible but L.S.B.L. If you do, what is not visible in the first tree Wasn't it x I couldn't see it in the tree anymore. I can see how the beans appear You get more storage on the mounted volume is over and if you do df5 then you You will be seen adjusting somewhere else But you will see him adjusting right now. It will be reflected but if it is not there If it is happening then you can see it in LS BL. that a little bit of 5gb from aqui df he Picked up and 10GB of Aqui DG He picked it up, it's so interesting. If you are looking for As a Dev Engineer As a You must have liked the video, all these commands There were use cases that I actually I use it in the industry and I mean So it was fun making this video. Because Oak Seed Grape, these three were such things that you He used to ask me again and again that brother, on this Get a video on this, get a video on this now I'll tell you the video is here. The demo file was taken from the internet. Pick up the command practice link na pe us Post something, tag me, and let me know. did you make a video of me If you practiced that thing, So post it quickly and tag me. Do this to be in the video Thank you, keep watching Train with Shubham channel thanks for watching
If in the same video
How to setup
are going to be
Or Logical Volume Manager in
What is he going to get in today's video?
You will mostly have things that a deps
to the engineer when he
Boot loader, oh brother, so many things.
Okay, let's start first.
Let us understand brother how this internet works.
It makes me able to talk to you
How is this happening, then understand that this
This is our world, okay, it has its own meaning.
Okay, here's the full meaning.
Your ok, now you might be sitting in Delhi.
or in Gurgaon or Pune or Lucknow
You might be sitting somewhere late, you are sitting here
Yes, okay, and you are watching this video.
This video is coming to you from youtube1
Now you will think that yes friend this is from Lets
is in the USA
This video is streamed to us from youtube0
Brother, this doesn't happen, why do you know this?
The distance of the satellite from the USA is very
There is more distance from the satellite to us
The distance is too much, so many
If the video is streamed at a distance, how much
It will reach late, it would be better if we come from USA
Take the sea route and reach here
If you go, you will reach soon, friends.
How the Internet Works How the Internet Works
Does optical fibers or fiber
Fiber Cables from OK Fiber Cables from Cables
What happens to the water in our ocean?
These cables are laid in the sea.
that connect to the data center for
Example, this is you, this is a data here.
It's a center, brother, what is a data center?
Data center means such a big location
Where there are many, keep it with understanding, there are many
Computers are kept and their cards are being used
What is the work of storing data and the data which
It is also stored, now transmit it
How will it be transmitted or transferred?
through cables through cables and this
cables live in C and these cables on
Many companies do this like AT&T
And your Jio Jio lots of optical fiber
If she turns on the cables then come here.
from lats
from Jio's
Reliance1 laid the fiber cable, okay and that
they take money from you okay they take money from you
Whatever we get through the internet
If you say recharge or data pack then
Basically, if you need any data from the data center
If you want data information then it can be done through cables.
comes through through fiber cables and these
Big companies monetize that thing.
And this way the internet connects to your device.
But brother, tell me this
[music]
Service provider like the one in Pune
Broadband or broadband or
airtelxtreme.in
Devices You Know Identification
Is it a server or what is a server, see the server
No, it is a very simple thing, just understand it like this
that there is a computer that has a specific job.
What is its function? To serve information to you
Please bring information of any type
Bring information to serve now this
If I say bring me this email, then that
What will become my email server if I
Should I tell him that brother, this is my file, this is your file
Give it to me on your server and I'll have it whenever I need it.
So give it back, then it will be the file server.
OK, file server, now I'm saying that.
I have my data and I will give you inside that database
If I want to insert it, it will be
database
server okay now I have a server where
The application is running like
facebook.com youtube.com so that will be
Application
Server Now I have a server where I
I am providing static data like images
If ATML gets its pages then it will be
What about my web server that provides web
www.htp.gov.in
Whose job is to serve whom?
I will serve you brother, you will serve
Client ok to serve client ok now
The first question you will be asked in the interview
The question asked is about server and client
Tell me the difference between the work of the server
It is to serve information to the client
Work is done to
Request for Information
What are the servers and what are the clients?