Introduction to Linux Operating System

  




Introduction to Linux Operating System


Welcome to the tutorials on Linux. [this] is first of the 18 part video series Helping you become a linux pro. So let's get started. [so] [what] is an operating system? Every time you switch on your computer you see a screen where you can perform different Activities like write browse the internet or watch a video What is it that makes a computer hardware work like that? How does the processor on your computer know that you are asking it to run an MP3 file? Well, it is the operating system or the Kernel which does this work a Kernel is the program at the heart of any operating system that takes care of fundamental stuff like letting hardware communicate with software So to work on your [computer] you need an operating system in fact. We are using one as you read this on your computer now You may have used popular operating systems like windows Apple os x but here we will learn what linux is and what benefits it offers over other os choices So what is linux and who created it? Linux is an operating system or a kernel which Germinated as an idea in the mind of young and bright [cleanest] or valves and [he] was a computer science student Used to work on the Unix operating system And thought that it needed Improvements however When his suggestions were rejected by the designers of Unix he thought of launching an os which will be receptive to the changes modifications Suggested by its users Selina's divides the colonel named Linux in 1991 though he would need programs like file manager document editors [Audio-video] programs to run on it Something as you have a cone, but no ice cream on the [top] as time passed by he collaborated with other programmers in places like mit and applications for Linux started to appear So around 1991 a working linux operating system with some applications was officially launched And this was the start of one of the most left and open source os options available today the earlier versions of Linux were not so user-friendly as they were in use by computer programmers and Leanest or [valves] never had it in mind to commercialize his product.




 [it] is definitely curved Linux is popularity as other commercially oriented operating system windows got famous Nonetheless the open Source aspect of the Linux operating system made it more robust But now linux has got its new attention The main Advantage of Linux was that programmers were able [to] use the Linux Kernel in order to design their [own] custom operating systems This has now made linux one of the most popular and widely used Kernel and it is the Backbone of popular operating systems like Debian ubuntu and Fedora the list doesn't end here as there are thousands of operating systems based on Linux which offer a variety of functions to [the] users, so [what] are the benefits of using Linux? Linux now enjoys popularity at its prime, and it's famous among programmers as well as regular computer users around the world Its main benefit is that it offers a free operating system? You do not have to shell hundreds of dollars to get the operating system like windows But the benefits are being [open-source] anyone with programming knowledge can modify it The Linux operating systems now offer millions of programs and applications to choose from most of them free Once you have linux installed you no longer need an anti-virus Linux is a highly secure system more so there is a global development community constantly looking at ways to enhance its Security with each upgrade the operating system becomes more secure and robust linux is the operating [system] of choice for server? environments user stability and reliability [mega] companies like Amazon Facebook and Google use linux for their servers a linux based server could run non-stop Without a reboot for years on end So is it for you? users who are new to Linux usually shun it by falsely considering it as a difficult and technical operating system to operate But to state the truth in the last few years the next operating systems have become a lot more [user-friendly] Than their counterparts [bank] [windows] so trying them is the best way to know whether linux suits you or not [I'm] asked to learn Unix and why Linux Unix is the mother of the operating systems which laid out the foundation to Linux? 





Unix is designed mainly for mainframes and used in enterprises and Universities while Linux is fast becoming a household name for computer users Developers and server environment you may have to pay for a Unix kernel while in Linux it is free But the commands used on both the operating systems are usually the same there is not much difference between Unix and Linux Though they might seem different at core They are essentially the same since linux is a clone of Unix so learning [1] is same as [learning] another This was a short introduction to Linux. Thank you for watching I will [see] you the next tutorial Welcome to the video tutorial on selecting a linux distribution and types of installation now that we know what clinic says it is time We learn how we should install it on the computer and choose which distribution. We should use Let's start by understanding, what a linux distribution is Well now as you know that your next is an open source free to use kernel. It is used by programmers organizations profit and nonprofit companies around the world in order to create operating systems to suit their individual requirements these versions types the kinds of Linux operating systems are all distributions or in the stores, so [how] many distributions are out there there are hundreds of Unix operating systems or distributions available these days? Many of them are designed with a specific purpose in mind for example To run a web server or to run network switches like routers or Modems the latest example of one of the most popular smartphone based [Unix] distribution is Android so let us learn about some popular Linux distros Starting with arch Linux this Linux Distro is popular amongst developers [it] is an independently developed system. It is designed for users who go for a do with [yourself'] approach The next is the Center Force it is one of the most used Linux distribution For enterprises and web servers it is a free enterprise class operating system And is based heavily on Red Hat Enterprise Distro 





The next is gen [2] it is [a] source based [distribution] which means you need to configure the code on your system before you can install it it is not for Linux beginners But it sure is fun for experienced users Linux mint, it is one of the most popular desktop distributions available out there It launched in 2006 and is now considered with a fourth most used operating system in the computing world Next is ubuntu This is the third most popular desktop operating system after Microsoft windows and Apple mac os it is based on Debian Linux distribution and it is known for its desktop and Violent so which one is the best linux distribution? Well each linux distribution is built for a [specific] purpose to meet the demands of its target users Most of the distributions are available for free at their respective websites You might want to try them one by one till you get to know which distribution you [like] the most each one of them offers its unique design Applications and secure it We will be using ubuntu for our learning purpose as it's easy for a beginner to understand Now let us look at the various methods. We can use to install Linux The first type of installation is from the USB stick This is one of the easiest methods of installing ubuntu or any other linux distribution on your computer So let's start with the uSB stick Installation for this you are going to need the ubuntu iso, or os files? You can download them by visiting ubuntu.com forward slash download [or] slash than stop let's visit this page as You can see here there are two versions of ubuntu available free for download Let us go ahead and download it will do 1210 The second software that you are going to need is a program which will install the ubuntu iso files on the uSB stick So for this you can install the universal usB installer Available for free a pendrive linux comm so let [us] go ahead and download it So once you have the [given] to iso files and the universal usB installer Downloaded on your computer It's time to run the universal usB installer The first step is about selecting a linux Distro 





The drop-down menu here shows the list of different distributions and their versions We will choose ubuntu 1210 next you need to click on browse and Here we have that would do 12 10 iso files on the desktop So go ahead and click on it Now you need to choose the uSb flash drive. [so] let us go ahead and click on this drop down menu here It shows that we have a uSb stake mounted on the drive. I so let's select it Now if you want to format the usb flash drive before it installs ubuntu you can click on Format the drive then click [on] create You would get a pop-up message informing you that the universal usB installer Will work on the following actions click on yes? Then the universal usB installer program will start moving the ubuntu iso files to the uSB stick Once done you have the uSB stick ready with ubuntu to install it on your system So let us go ahead and click on close [now] your uSB [stick] is an installation media with the window on it Now you can boot your computer Through this uSB stick and you will be able to run [move] [into] without installation The second method of installation is by Live CD This is another effective [way] of installing linux on your system for this you again need to visit ubuntu.com forward slash download forward slash desktop in order to download the iso files Once you are done with the download and you have open to installation files on your computer Burn them to a CD and then you need to boot your computer 






Through the optical drive and follow the instructions as they come the next and the most popular method to install a linux operating system is virtual installation it offers you the Freedom of running Linux on an existing operating system already installed on your computer This means if you have windows or mac os running then you can just run linux with a click of a button Virtual Machine Software like Oracle VM Can install ubuntu in easy steps let us look at them again? You first need to download the ubuntu iso files on your computer Then you need to download the installation files for oracle VM virtualbox [as] we are running on windows right now. We will go ahead and download these files So let us download and install oracle VM on the computer Once done, you need to click on the virtual box icon on your desktop, and this is the screen that will open then you need to configure the virtual operating system by clicking on new Which will create a new virtual machine? You can have multiple os installations in your virtual machine at the same time then click on next Type in a name for your virtual machine and then choose the operating system and the version that you would like to install Click next and Define the memory size for the virtual machine 





Right now the memory allocated for the virtual machine is 512 and B You can always increase the base memory size for the virtual machine then click on next Create a new hard disk this does not create a new drive like c. D or [e] in your machine Instead it creates a vDI. Which is a virtual disk image This virtual disk will contain your os installation Click on next and you will find that there are many options to create a virtual disk choose vDI. Which is virtualbox disk image select between dynamically allocated or fixed size virtual disk storage a Dynamically allocated [virtual] disk file with only you space on your physical hard disk which is used by your VM installation While fixed size will use the entire allocated space in your physical hard drive click on next Define the location for virtual this file on your physical hard drive And the file size the recommended file size is 10 GB click on next you are then shown a summary screen click on create and this is the virtual machine that we created so [let's] go ahead and power the virtual machine This will boot forward to on virtualbox now let's go ahead and install ubuntu If you want to download updates while installing you can check this thick box let's click on continue So if you want to go ahead And install [ubuntu] directly you can choose this option here It will not affect the hard drive instead with only [arrays] the virtual disk that you have created Otherwise if you want to work on the partitions, you can choose something else Let's go ahead with [arrays'] disk and install ubuntu right now and click on continue We can type in the city you live in here, and then you need to click on continue Then choose the language that you would want to work [with] and click on Continue now. This is an important step and it will define your rights on the linux system so put in your name here and Then choose a computer name you will leave it like this Then you can put in a username of your choice and after that put in a password 





Then you can choose any of these two options here and click on continue Now this would install ubuntu on your system Those who want to test the distribution before installing it on a computer and replacing the existing operating system would be surprised to know that you can easily run it from the uSB [stick] or a Cd in the trial mode as you can see here. We have a try ubuntu option available [if] we go with it Ubuntu would start in the trial mode and you can easily check out the interface This way you can learn whether you like the [distribution] or not and can either install or move on to another one You can even install linux [side-by-side] with Windows or any other os which is called dual booting let us quickly summarize what we [learned] today an Operating system based on the Linux Kernel is called the distribution or Distro. There are hundreds of distributions available Some of which are designed to accomplish a sole purpose like running servers act as network switches Etc Naming the best linux distribution is difficult as they are made for different needs Linux can be installed in your system while [the] below mentioned methods The first one is the USB stick the second one is the live CD and the third one is virtual installation 





Thank you for watching I will see you in the next tutorial Welcome to the video tutorial on the big switch to Linux now [that] you have installed linux. It is time to make the big switch from your windows or the Mac operating system [Mac] always uses a Unix call your switch from Mac os to Linux will be relatively smooth It's the windows users who will need some adjusting in This tutorial we will introduce the linux operating system and compare it with windows Starting with file system in Microsoft Windows files are stored in Folders under different data drives like Cd. E Button Linux files are ordered in a tree structure starting with the root directory This root directory can be considered as [the] start of the file system, and it further branches out various other sub directories the root is denoted with the forward slash a General Tree file system on your linux system may look like this Moving on to the types of files in Linux and Unix everything is a file Directories are files files are files and the devices like printer mouse keyboard ETC are all files the first type [of] files are general files also called ordinary files they can contain image video program or simply text it can be a sky or a binary Format These are the most commonly used files by Linux users next are the directory files These files are a warehouse for other file types We can have a directory file with them a directory you can take them as folders found in windows operating system here the difference between Linux and windows becomes Significant in Windows system and program files are usually saved in the drive [sea] But in linux you would find the system and program files and different directories under the file System same is the case with CD-Rom while we see it as a drive in windows 






It is a directory named as CD-Rom and Linux Removable Media files are also shown as a drive in windows Whereas in Linux, they are a directory Common programs and [windows] are stored in the program files and linux you would find them under the bin directory The last type is the device files in Microsoft Windows devices like printers CD-Rom and hard drives are represented as drive letters like the e g h and Linux they are represented as files for example if the first sata drive had three primary partitions They will be named as the [file] systems that you can see on the screen It is important to note here that all the device files reside in the [def] directory all Of these file types including the devices have permissions which allow a user to read Edit or execute them This is a powerful Linux or Unix feature access Restrictions can be applied [for] different kinds of [users] by changing permissions let us discuss user accounts and Linux the first type is a regular user a regular user account is created for you when you install ubuntu on your system, or Your files and folders are stored in home guru 99 Which is your home directory as a regular user you do not have access to directories of other users other Than regular user another user account called runed is created at the time of installation 






The root account can access the structured files install software and has [administrator] It is also called the super user Whenever you want to perform any administrative tasks on Linux. You need to log in as a root user The third type is the service user Linux is widely used as a server operating system Services such as apache Squared have their own individual service accounts Having services accounts increases security of your computer it is important to note here that You will not see service accounts in a bin to desktop version, but only in the open to server edition Regular accounts are also called standard accounts in windows desktop Let Us move on to file name convention In windows you cannot have two files with the same name in the same folder With the second file with the same name is created you would get an error While in Linux you can have two files with the same name in the same directory provided they use different cases for [every] user in Linux a directory is created under the home directory Now consider a regular user [through] [nine] [nine] He can store his personal files and directories in the directory home below nine nine But he cannot save files outside his user directory and does not have access to directories of other users as well 





The concept is similar to the user's folder found in windows for every user in Linux A Directory is created as home the user name when you put the linux operating system [a] user directory home Guru nine Nine is the default working directory hence the directory home rule [ninety] [nine] is also called the home directory Which is a misnomer? The working directory can be changed using some commands which we will learn later. Let's summarize Unix or Linux uses a hierarchical file system. There are no drives and Linux unlike windows [files] like hard drives CD-rom printers are also considered files, Unix or Linux There are three types of user counts the first one being regular? Second one root and the third one is service account root user is the super user and has all the administrative Privileges when x file naming convention is case-sensitive Thus sample and sample are two different files in Linux or Unix operating System for every user home user [named] directory is created. Which is called his home directory Thank you for watching this tutorial. [I] hope to see you in the next ones Welcome to the video tutorial on terminal [Vs.]. 





File manager Have [you] wondered what is the most frequent [tasks] let you perform on your computer is it playing games? Listening to Music or browsing the internet This may be surprising [to] some but the most frequent tasks performed by an average user on a computer is browsing creating moving and deleting files So what are the ways to manage files efficiently there are two main ways? The first one is the Cli or command-line interface like the terminal in a bunton The second one is the graphical user interface or Gui Which is like the file manager on any operating system Most of the beginners as [well] as the experience to users prefer to use the Gui but Cli has its own Advantages which we will discuss in this tutorial So why learn the command-line interface? First the command-line interface is highly flexible and offers options which are not available in the Gui mode Second some configurations in Gui are up to four screens deep while in the CLi It's just a single command for example Creating a new account can take forward different steps through the graphical user Interface Whereas the same can be done with a single terminal command third If you are thinking of moving hundreds of files it can take hours using the Gui mode Whereas using regular expressions on Cli you can do the same within seconds Forth Cui loads fast and does not consume ram compared to Gui so it does not affect system performance at all This is important [in] crunch situations when a server is down But Gui has its importance to and especially useful while viewing performance graphs editing images and videos Creating sketches and trying out other graphic intensive tasks the look Feel an Operation of Gui based file manager is similar across major operating systems like windows Mac operating system and Linux It's the command-line interface which people find challenging to use and it will be the focus of our Tutorials So starting with how to launch the command-line interface on the ubuntu operating system You can try the same with the following two methods first click on - and type terminal Then you would be able to see a thumbnail with Seis terminal go ahead and click on it This way the terminal window would pop open Or you can simply press the CTRL alt? And t keys on [benet] ssin to launch the same window 




Once you have launched the Cli you would find some information already populated on the screen Let us learn what it is about The first part of this line is the name of the user which can be Bob Tom ubuntu Home or Guru 99 The second part is the computer name or the host name the host name helps identify a computer over the network in a server environment host name becomes important [the] Colon is a simple separator The teal sign shows that the user is [working] in the home directory If you change the directory the sign will vanish Later we will learn how [to] move between different directories, and you would see that the sign would not display the Dollar Sign Suggests that you are working as a regular user in Linux while working as a root or the master user The hash sign is displayed now in order to work on your files You need to know which directory you are in on the terminal this brings us to what as a present working directory The directory that you are currently browsing is called the present working directory We log on to the home [directory] by default when you boot your computer otherwise you can use the Pwd command For knowing which directory you are working on let's try the same on terminal here by using the PWd command 





We got to know that we are in the home guru nine-nine Directory which also happens to be the home directory for this computer Pwd stands for print working directory Moving on to changing directories. You can do so by [using] a CD Well it is not the actual CD, but the command Let us look at how it works Here by using the CD. Command you would move from the home directory to the tMP directory Then again using the same command we would move on to the bin directory Trying the same we would then move back to the tMP directory if you want to navigate to the home directory, [then] you need to type CD or Cd space team in case you want to move to the root directory you would have to type CD space forward Slash It should be noted here that the root of filesystem and [Linux] is denoted by a forward slash Which is the same as c. : backward slash [in] windows? The apparent difference is in windows. Where you use a backward slash while in Unix or Linux A forward slash is used Let us try the same on terminal So by using the CD. Space field command we would move to [the] home directory Then if you want to move to the root directory we would use CD. Space forward Slash Do not forget the space between CD and forward slash to avoid error So how do we navigate through multiple directories you can navigate through multiple directories at the same time? by Specifying its complete path So if you want to move to the cPU directory under dev you do not need to break this operation [into] parts Let us look at it on terminal here by using a single command we would move from the home directory to the cPU directory under DEv in Case you want to move up one directory you can easily do [so] by trying CD. Space dot dot By using the CD Space dot dot command we would move from the cPU directory to the [DEV] directory 




Then again using the same command we would move from DEv directory to the root directory It is important [to] understand What is path in computing and what are its types? Just like a path can make you reach your home a path in computing is the address of a file or folder so the C documents and settings user downloads in Windows and home user downloads Path and Linux would take you to the downloads folder There are two kinds of parts absolute and relative let's start with the first one Let's say you have to browse [the] images stored in the pictures directory of the home folder Guru [nine] [nine] The absolute [filepath] of pictures directory is then home go nine nine pictures So to navigate to this directory [you] would have to use the command CD home Guru nine nine pictures and This way you would [read] the pictures directory This is called absolute path as you are specifying the full path to reach the file of the directory Relative path comes in handy when you have to browse another subdirectory Within a given directory it saves you from the effort to type complete parts all the time Suppose you are already in your home directory, and you want to navigate to the pictures directory for this you do not need to type the absolute path with the command as You're already in the home guru [9:9] directory. 



You can simply type CD space The name of the directory and you would reach it This way you do not have to specify the complete path to read a specific location within the same directory in the file system So to summarize what we have learned today To manage your files you can use either the Gui or the Cli and linux You can launch the terminal from the dashboard or using the Shortcut Key CTRL alt and t the PWd commands gives the present working directory You can use the CD command to change directories Absolute path is complete address of a file or directory Relative path is relative location of a file or directory with respect to the current directory Relative Path Helps avoid typing complete paths all the time Let us also refresh our memory on the Cli commands learnt in this tutorial Use CD. Space directory named command to navigate to a [particular] directory Use Cd or CD space field command to move to the home directory? Use CD. Space forward Slash command to navigate to the root directory use CD space dot dot Command to move one level up in the directory structure 

Post a Comment

Previous Post Next Post