in today's.. I will give you guysa quick introduction to Linux andI'm gonna show you how to use somevery useful introductory Linuxcommands using a terminal windownow just to be clear this is a coursefor beginners who want to learn how touse command on a Linux terminal nowfor those of you guys who are notfamiliar with Linux at all let's giveyou a quick perspective Linux isnot Unix UNIX was created by a bunchof AT&T employees in 1969 Linux waswritten by a name AGGA by a guy namedLinus travolt who created the entirething by himself and released itaround 1991 now Linux is a powerfuloperating system but it is especiallydesigned for server systems and 90% ofthe world's fastest computers likesupercomputers run on some form ofLinux and this is because a rock-solidsystem okay so that was a quick historyon Linux that was just to give you aperspective now Linux and UNIX aredifferent just remember that now onemore thing before we dive in Linuxcomes in many different varietieswhich are called distros ordistributions in this tutorial wewill Use the popular Ubuntudistribution of Linux but there areothers out there as well such asFedora mint and Debian and more evenAndroid is a Linux distribution so thebasic commands we will rerun it we will be running and learning today can be generally used on almost all different Linux distributions alright so let me go ahead and launch Linux and I just wanna let you know I'm running Linux on my Windows so what you do is you install VirtualBox which is right here so let me launch that and inside a virtual box you can install any operating system possible so I have put Ubuntu Linux in side of VirtualBox on my Windows 7 machine ok so let me run this up and I just wanna let you know you can actually find a link in the description below which tells you how to install VirtualBox and Linux on your windows 7 . if you want to go ahead and do that but this is the Ubuntu Linux that is launching right now ok so here you're looking at bound to Linux and before we dive into the commands I'm going to show you something real quick what you're seeing here all these icons all this desktop all this nice graphical features this is called the GUI GUI this is called the graphical user interface now we're not worried about that today what we're worried about is the CLI which is called a command line interface so you have to launch a terminal to go into the command line interface and then once you are search for an app you can type in terminal which brings up the terminal right here and then you can actually click that and that is the terminal we will be working with all right so the first command we will be looking at today is the PWD command oops it's not typing okay p WD command PWD command stands for print working directory so when I press ENTER it actually tells me which directory I am currently located at so if I go to my own folder browser I am actually in home sake which is right here so I'm looking at all these guys on my command prompt. now the second command I want to show you guys is the LS command when you press LS it gives you a listing of everything which is in the current directory so the current directory is the sake directory which is my username and under home inside of home I've got all these guys so I've got the desktop downloads music public videos and if you come over here that's all the same stuff you're gonna see in a regular File Explorer so here's the desktop documents downloads music same stuff that you see here so that is the LS command it's it's it stands for list and when you list it lists whatever is inside of your current directory again PWD stands for print working directory so it tells you where you are currently located in now as you can see when you have a pretty graphical user interface you can see everything right in front of you but if you have a command line interface like this one a terminal you're not gonna be able to see anything so if I clear this that's all you see so you have no idea where you are okay so to see where you are PWD to see what you have at where you are you type in list now the next command I'm going to show you is called a CD command and CD command has a lot of variations CD is used for navigation so let's say I want to go to the Downloads folder. how do I go there I type in CD and I type in downloads the name of the folder and just remembereverything has to be exactly as it appears so the in in Linux everything is case-sensitive so this cannot be a small d it has to be capitalized just like it is here okay so if I type in CD downloads now I am in the downloads folder okay and how do I know I'm in downloads folder PWD it actually tells you right here so I'm in home slash sake / downloads okay and let's see what we have in downloads right now type in list and there's nothing in downloads so that's all launch this again go to downloads and as you can see download directory is actually empty okay so if it is empty you're not gonna see anything here now let's say I want to go back to my home directory my sake directory how do I go back so CD takes you into a folder and if you want to go out what you do is you type in CD space two dots and that takes you back to the previous directory that you were focused on now if you want to go to the root directory which is like in Windows it's like the C directory what you type is CD forward slash make sure you put the space okay so CD space forward slash press Enter and that's gonna take you to the root directory. let's type in LS and as you can see the root directory has much more than your user directory okay again but home and sake is inside of root root is at the top of everything so if you look around carefully you'll see the home directory sitting in the root directory and if you go in there CD home and you type in LS you will see your username okay and then CD sake then you type in LS and now you're back over here this and this match so remember this will take you to the root of your Linux operating system and inside of root you've got all kinds of fancy things that you don't want to worry about right now so let's do a quick recap let's go to the music folder CD music so I'm now in the music's folder or the directory I'm going to be using the the word folder and directory interchangeably interchangeably and they're gonna be mean B meaning the same exact thing okay so in here let's type in PWD so that means prank working directory and it tells you that you are in fact focused on the music folder again if you go over here here's the music folder if you go to home here's the music folder okay it's empty let's type in LS to see if it is really empty it is in fact empty so next I'm going to show you how to copy or move a file so let's go back CD space dot takes us back and do an LS and let's say I want to go into the Documents folder so I type in CD Documents and then type in LS and here what I have is I have a test file so this is one of the files what I want to do what I want to do is I want to copy this file and I'm gonna use the CP command for that that stands for a copy I'm gonna copy this test file and I'm going to paste it into the same folder with a different name so test copy and I'm going to press Enter okay just to give you make you understand exactly what happens so you use the copy command you pick the file that you're trying to copy and then you give it a brand new name to create the copy within the same folder okay so if I type in LS now you have the first file test and then you've got test copy now how do I remove this file you use the RM command okay so the RM command is usedto delete file in your current folder.so if you type in RM test copyand you type in LS as you can see testcopy is gone and we only have testleft over now what if I want to copytest file and I want to paste itinto the Downloads folder how do youdo that okay what you got to do is youhave type in CP and you take the testfile and then you have to tell thecomputer where do you want to put thecopy of the test file so remember ifyou go up here we're working underhome / sake okay so what you want todo is you want to do slash home slashsake slash downloads and you pressENTER and type in LS we still have thetest file right here nowlet's go back CD doc type in LSand let's navigate to the Downloadsfolder and if I type in LS here nowwe've got the file test sitting herewhich we copied over from theDocuments folder so let's go aheadand remove this file from theDownloads folder so our M is theremove command RM test and rememberbecause we are focused in two downloadswhen we do RM test its gonna dumpit's gonna delete the test file onlyfrom the Downloads folder becausethat is where we are focused on pressENTER type in list one more time LSand now there's nothing there leftso let's go back let's just type inPWD and we're back in a home sake okaynext the next style let's talk aboutmaking a new folder and deleting thenew folder so let me launch this righthere and I'm gonna minimize I'm gonnamake this a little thinner here okayso you can still see what's going onone second alright so that's betterso let's go to my arm My Documents overhere and let's go to CD documentsoops Dawkins okay so now we're in theDocuments folder and all we have inhere is the test file which you cansee right here let's make a newfolder so how you make a new folderyou use the command called MK dirpress ENTER and it's gonna say somekind of error because we were missingan operand okay so we were missing thenew directory we used the command whatwe did not specify the name of thedirectory so you type in MK dere dirand then you type in test folder I'mgonna use capital letters here okayand as you can see over here a testfolder was created instantly and Ican actually go into that test folderif I wanted to LS and there's nothingin there.so let's go back CD dot dotand let's delete the test folder sohow do you delete that what you do isyou using the commune's the commandrmdir so this one is make directorythis one is remove directory type intest folder and I'm not gonna pressENTER take a look over here and let'scome back here and press ENTER and thatdirectory disappears now if the directory had something inside it we cannot delete the directory that has stuff in it using our m dir okay so let's uh MK dir make another directory in the Documents folder and say test ok so it popped up right here and let's goinside here and let's just create a new document ok new doc now if I try to delete this using rmdir test folder let's go back here ok so now the test folder has a file in it it is the new doc okay if I try to delete this it's gonna say failed to remove test directory is not empty so how do you delete this you have to actually usetheRM command which is a removecommand for files but what you do isyou have to set a new option you haveto say - R and then you have to typein test ok so watch this there's stilla file in here but it's just gonnadisappear okay so everything in testhas been removed so this is how youdelete folders that have existing filesinside of them you use the RM commandyou put a space you put a minus R andthen you put a space and then you putthe name of the directory rightunderneath and right next to minus R okay so here it's got a really messy here so let's use the clear command to clear the screen real quick and I'm going to talk about a couple other commands and we're gonna end the tutorial here all right so the final command I want to go over is called a man command okay MA and now this stands for manualmanuals okay like like tutorials so whenyou don't know what you're doing and youwant to find out more about any command that you're using you can type in man space and let's just say the LS command which is the list command and you press ENTER it's gonna give you a whole lot of information regarding the LS command so you're gonna get the name of the commandwhich is LS it says list directory contents okay you get a quick setup synopsis you get a description of what the command exactly does and all that stuff and once you're done reading this whole thing you just type key Q to quit okay so let's do one more man and let's do the CP command which is the copy command press ENTER and it says here it copies files and directories okay and you have a description here and you can read through this whole thing and you can keep pressing enter to get more information so press ENTER to continue okay to go all the way but when you're done you can press Q and it just quits the manual so that's how you can get information on any command that you want in Linux alright and thanks for watching this video now there are going to be more Linux tutorials coming soon so go ahead and subscribe to my channel for more videos to come give me a thumbs up if you liked this video and you can also follow me on Facebook Google+ and Twitter okay so you have all these options all links to my social media websites and my actual website arefound in the description below alright thanks for watching again and I'll see you the next time
linux
windows 10 part 2
windows 10
if you want to along the far left of the Start menu is where you’ll find File Explorer which is where you can access Files and folders on your computer Settings and below that is power where You can restart shutdown or put your Computer to sleep more on settings later Just like iOS and Android Microsoft has its own App Store for Windows you can find it in the list by Selecting a letter jump to M and finding Microsoft Store in the list if you plan To go here often I’d recommend pinning it to your taskbar Currently it’s in my taskbar just to the Right of file explorer so I’ll open it Up on their home page you’ll find Featured items along the top you can Select categories that include apps Games movies and TV and books if you Know what you’re looking for you can do A search I’ll do a search for Kody and There it is to install any app select Get to the far right if you select the Menu icon You have the options to view downloads And updates store settings your library Along with other account information now Let’s go take a look at the various Settings for Windows 10 if you’ve used Older versions of Windows you should be Familiar with the control panel which You can still access by typing control Panel into the search bar or you could Say hey Cortana control panel alright Which control panel do you want to open Control panel or settings control panel Alright starting control panel here you Can still access many of the settings For your computer since Microsoft is Slowly phasing out the control panel Will focus on the primary Settings app For Windows 10 you could ask Cortana to Open settings or you could just go to The Start menu and select the Settings Icon with settings open I’ll move quickly through each of these Categories highlighting options that Might be of interest to you we’ll go Through these in order starting with System displays where you can rearrange And change settings for your monitors You can change the order of your Displays by selecting the number and Dragging it to the left or to the right A cool feature introduced last year is Nightlight which can reduce the blue Light on your screens at night which Studies claim can make you sleep better In notifications and actions you can add Or remove quick actions which show up When you select notifications that I Showed you earlier if you scroll down This page you can turn on or off which Apps are allowed to send you Notifications power and sleep is where You can set your power settings for more Options select additional power settings And select a plan that works best for You here you can see your storage Storage sense is something that I leave On to automatically free up space tablet Mode is useful for those of you that Have a Microsoft Surface or similar Device that can be used as a tablet and In multitasking There is no need to turn any of these Off now for devices most of these are Self-explanatory bluetooth and other Devices you can see what’s connected to Your system or add devices printers and Scanners will show you what’s connected To your system here’s where you can Change your mouse settings in typing I Would suggest leaving these turned on Especially if you’re a horrible sspelle And in USB make sure this one is checked So you can get notified if there are and Issues connecting to USB devices if you Select phone you can link an Android or iPhone to be able to work continuously between your PC and phone with compatible apps for some of you this is a feature that might be useful in network and Internet you can see your network status set up Wi-Fi and other options for those of you that thought dial-up was dead it’s not there are still many areas in the United States and around the world that don’t have broadband service yet personalization is where you can make changes to the overall look of Windows 10 I’ll spend a little bit more time in this category you can set the background to be a slideshow just a single picture or a solid color you can browse your computer for other pictures that you would prefer to have as your background you can set how often the picture gets cchange anywhere from one minute to one day if you put a checkmark here you can automatically have the system pick an accent color based on your background currently the accent color on my system is blue but you can change it to any of the colors listed and if you scroll down this page in previous videos many have asked how I got this dark background for the settings menu when you first launch Windows 10 light is the default for me It’s a little too bright so I prefer the Dark when you’re on your lockscreen
windows 10 part 1
windows 10
Mac OS X ios
Android
Ubuntu
introduction to os
Introduction to os
operating system so operating
system is a course that is very important as far as compute science is concerned and also electronic students you may have this subject in your course so it is equally important
and this subject it consists mainly of theory as well as problems so we will first see the theory and also we will be
solving the problems related to this subject and we will see what this subject means and what we can learn from this subject so first of all this is just an introduction to operating system and we will see what this operating system actually means and what are the functions of this operating system what are the types of operating systems that we have and we will just try to get a brief idea of this subject all right so let's get started so here it says that an operating system also abbreviated as OS is a program that manages the computer hardware and it also says it also provides a basis for application programs and acts as an intermediary between computer user and computer hardware so before we understand these two lines I will be explaining it to you with a diagram so before we go into this diagram here are some examples of some operating systems that we widely use these days first is your windows so you may be using Windows in your desktop or your laptops so it is one of the famous operating systems used by many people and also we have Linux and Ubuntu which are also two open-source operating systems that are widely used in your desktops laptops and other devices and then we have the Mac OS which is the operating system from Apple so in their laptops or in their mac books they used Mac OS X and then in iPhones we find iOS operating systems and then we have the very famous Android which you must be having in your phones so Android is one of the famous operating systems that is used for your mobile devices all right so now before we try to understand these two lines that we have written here let us take a diagram to understand the basic structure of computer system so that we can understand what is an operating system and what does an operating syste
actually do so here I have a diagram which represents the basic structure or the basic components of a computer system so first of all in the lowermost level we have the computer hardware and what are computer hardware computer hardware it consists of resources like CPU which is a central processing unit and then memory and then the i/o devices which means input/output devices so your resources like the processing units your CPU and also your memory memory consists of primary memory like your ramps and your secondary memory like your roams
these things also I will be explaining it in a detail way in another lecture so let's first know that our memory as well as the i/o devices IO devices means the input/output devices these are the devices that you use for either giving input to your system or for getting output out of your system so examples of input devices will include your devices like your keyboards mouse your microphones these are devices that you use for giving input into the system and then output devices would be that devices that you use for getting output out of your systems that would be your devices like monitors or speakers which gives you output or which shows you or makes you hear the output those are your output devices so all these things they fall under computer hardware so we generally refer them to as resources alright and then on top of this we have the operating system but for now let us just forget this operating system for a while just let's just assume that it is not there and then on top of this operating system we have the system or the application programs now there are two kinds of software's we have which is system software and application software and system software's are the software's that are used to directly modify or directly give some command to that computer hardware and operating system is also a kind of system software but let's not think about that and just not get confused hearing that butters mainly try to understand water application programs application programs are the programs or software's that are used to perform a specific task and that can be directly used by the user and these are some examples that we have here versus a word processor word processors are like your Microsoft Office Word which are software's used for making document files I have believed that we have all used Microsoft Word and then we have spreadsheets spreadsheets are like your Microsoft Excel ok that is used for making tabular data or for making some calculations in your table or data and then we have compilers so if you are a computer science student you may be knowing what compilers are so compilers are the software's that we use for writing our computer code like your codes like C++ C or Java these are written into your compilers and then we have the text editors text editors are editors useful modifying or writing text like your notepad WordPad etc and then we have web browsers web browsers are the software's that enable you to browse the web even as you are watching this video in YouTube you may be using some web browser to view this and examples of this are Google Chrome Mozilla Firefox Internet Explorer and so on so this is not the only application program that we have we have many many application programs and these are just few examples I took to make you understand so these are the application programs we have and on top of that we have the users that is like users like you and me who are trying to use this softwares for performing specific tasks so let us take a simple example that this user one he wants to use the word processor let's say it is Microsoft Office Word so we want to use Word for typing some documents and he wants to save it to his system so let's see how he does it so we imagine that there is no operating system over here we just have this user and the application programs and then the computer hardware so if you wants to write a document or if you want to type something into Microsoft Word then he have to tell the computer how where that he wants to do it now how can he do it since there is no operating system he have to explicitly tell the computer hardware what he wants to do in the form of code so he have to first open the Microsoft Word and he have to tell the computer hardware that I want to load Microsoft Word so please load it into the main memory and then after it is loaded he has to type something and when he typed something whatever he types it has to be displayed on the monitor he have to tell the computer hardware to do even that you have to tell please display the things that I am typing on the computer screen or on the monitor and then after doing all that he have to save it and even for saving it you have to tell the computer hardware that yeah I am done with all my typing and now please save this file with a particular file name to my hard disk so for each and every small on my new task you have to perform you have to explicitly tell the computer hardware what to do and how do you communicate to it in the form of codes you have to write source code you have to write codes for each and everything that you have to perform so we see that it is a very tedious task or it is a very difficult task to do this if there is no operating system you have to manually tell the computer hardware each and everything that you have to do so if it was like this then nobody would actually use a computer system or at least common people would not use the computer system because it is such a tedious thing and it is very difficult to perform even the simplest of tasks so in order to avoid this or to overcome this problem what we have is an operating system so the operating system resides between the computer hardware and the users so it is a intermediary that acts between the computer hardware and user so let us take our first example that we have taken suppose the user one wants to type something and save it into his Microsoft Word so what he does he just double click on the Microsoft Word and then the rest of the things the operating system takes care of it it just opens it for him and then it makes the screen read for him for typing and whatever he types it the operating system tells the hardware what to do so that it will be typed and displayed on the screen and everything that otherwise would have to be done manually by the user is now taken care of by the operating system and after typing it he has to save it when he saves it the operating system tells the computer Hardware where to save it and how to save it and how much memory to allocate or saving it and everything is done by the operating system so all those my new things which we otherwise had to do in the absence of operating system is now done by the operating system and it becomes very easy for the user to use the computer system so the user just opens the computer he just takes or opens what he wants to use it and he just uses it and all the underlying things that has to happen all the communication that has to happen between the computer hardware and the user is taken care of by the operating
system it does all for the user and does the computing or the usage of computer becomes very easy for the users because of the presence of the operating system so that is the main task of an operating system now if we look back at these two lines that we have written now it will make sense and now you would understand what it actually means so let's read it once again an operating system is a program that manages the computer hardware yes we saw that the computer hardware how with resources like CPU memory i/o devices everything is managed by the operating system now and then it also provides a basis for application programs and acts as intermediary between the computer user and the computer hardware so it provides a basis for the application programs so here we have our application programs and it is installed on the operating system it provides a base for the application programs and also it acts as an intermediary between the computer user and the computer hardware so here we have the users and here we have the hardware and in the operating system it acts like an intermediary between the user and the hardware thus making the process of computation and the usage of computers seamless and very easy for the users so that is the main fun of an operating system and I hope that made you understand what an operating system actually does now we will be seeing some of the types of operating systems that we have and also the functions of operating system and what are the goals that an operating system needs to achieve so here I have some types of operating system personas badge operating system then time-sharing operating system distributed operating system network operating system a real-time operating system multi programming multi processing and multitasking operating systems so it is not limited to just this but these are some main types of operating systems that we have and don't worry even if you don't understand them I will be doing another lecture where I will explain all the types of this operating system in a clear manner I am just introducing this to you so that you just get used to the terms that we have here so all this types of operating system they perform in a different way based on the need that we have so just remember that much and you can keep this few points in mind and then let's see what are the functions of OS so the main functions of OS are number one is it is an interface between the user and the hardware yes we just saw that right now we have users here and we have the hardware here and it acts like an interface between the user and hardware and then the second point is allocation of resources so I already told you what I mean by resources here what we mean by resources are the hardware that we have like the central processing unit the memory and the input/output devices so when I user or when different users wants to use the different resources so they have to be allocated our resources are not unlimited we have a limited resources that means we have limited hardware so how this resources should be allocated to users in such a way that everybody gets their share and it performs in an efficient manner all this is done by the operating system so it allocates resources to different users or different processes in a good manner that is the function of the operating system and then it does the management of memory secure etc so I told you even when we were typing this word processor we have to first load it into the main memory then after typing it it has to be saved into the secondary memory or the hard disk so don't worry if you don't understand what is main memory secondary memory and all this I will be explaining all this to you in a clearer way in the coming lectures so just want you to understand that how the memory is managed so how things are stored or where they are stored everything is managed by the operating system and how securely it is done that is also managed light operating systems so these are some of the main functions of operating system and now let us see what are the goals of an operating system so we have studied this much now we must be knowing just by studying all these functions of operating system and what it does we can just assume what its goals will be number one is convenience so I told you in that example if we were not having an operating system how tedious or how tough it would be to execute even the smallest of tasks by the user but having an operating system on top of our computer hardware makes it very easy for the user to communicate to the compter hardware so it becomes a very convenient thing for the user to have this operating system so the first goal of operating system is to provide convenience and then the second point is efficiency now what do we mean by efficiency if you were not having the operating system and let's say we have different users trying to access these resources and how would you efficiently manage the resources that you should get this much resources or the other users should get this much resources so if you do it manually it is going to be very tough and that is very less chance that you can efficiently manage it so operating system by taking care of all these allocations of resources and management of memory and everything it provides you an efficient usage of your system so the first point is a convenience and then the second point is efficiency so many operating systems are designed mainly for convenience some are design designed for efficiency but mostly most or we can say many of the operating system are designed for both for both convenience as well as efficiency so these are the goals of operating system which we achieve by the functions of this operating system so in this lecture we have seen that types of OS we have seen the functions of OS and we have seen what is the basic structure and the basic components we have in our computer system and we see what the operating system actually does in order to make computation very easy for us and we have also seen some examples of the operating systems that we widely use so I hope this was clear to you this was just an introduction to just get you started so that you can know what an operating system actually is and now you must be understanding.....
Data Types in C (part 2)
Data Types in C....... Today, we will continue our discussion on integer data type. Our outline for today...
-
Ethical Hacking💻 वैसे जिस तेजी से सायबर क्राईमस आजकल बढते जा रहे है . हर बिझनेस ऑर...
