

{"id":100271,"date":"2021-08-19T09:00:39","date_gmt":"2021-08-19T03:30:39","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=100271"},"modified":"2021-08-18T17:43:52","modified_gmt":"2021-08-18T12:13:52","slug":"linux-operating-system","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/","title":{"rendered":"Linux Operating System"},"content":{"rendered":"<p>Linux, a popular version of the UNIX Operating System, is an open-source OS because its source code is freely available i.e., it is free to use. It is compatible with UNIX and has similar functions to UNIX. It is the fastest-growing OS, used from phones to supercomputers.<\/p>\n<p>In 1991, Linus Torvalds developed the Linux OS that helped improve the UNIX OS. When he suggested these improvements to UNIX designers, he was rejected by them and thus thought of launching his own OS. An OS that could be modified by its users.<\/p>\n<h3>Components of Linux System<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Components-of-Linux-System.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100344\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Components-of-Linux-System.jpg\" alt=\"Components of Linux System\" width=\"678\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Components-of-Linux-System.jpg 678w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Components-of-Linux-System-520x482.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Components-of-Linux-System-320x296.jpg 320w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/a><\/p>\n<p>There are three components in a Linux OS:<\/p>\n<p><strong>1. Kernel:<\/strong> It is the core of Linux and is responsible for all the major activities happening in this OS as it interacts with the underlying hardware directly. There are multiple modules in a kernel. IT helps hide low level hardware details from the system or application programs by providing the required abstraction to these hardware.<\/p>\n<p><strong>2. System Library:<\/strong> It helps access Kernel&#8217;s features and implement most of the functionalities of the OS. The special functions and programs in the system library do not require the code access rights of the kernel module.<\/p>\n<p><strong>3. System Utility:<\/strong> These programs perform specialized, individual level tasks.<\/p>\n<h3>Kernel Mode vs User Mode in Linux<\/h3>\n<p>Kernel mode executes the kernel component code. This is a privileged mode that has complete access to all computer resources. The kernel component code represents a single process and executes in a single address space. It is quite efficient and fast as it doesn\u2019t make use of a context switch.<\/p>\n<p>A Support code doesn\u2019t run in kernel mode. User mode includes user programs and system programs. They don\u2019t have access to system hardware and kernel code. If they wish to access Kernel functions, they make use of system libraries.<\/p>\n<h3>Features of Linux<\/h3>\n<p>Following are the features of Linux OS:<\/p>\n<p><strong>1. Portable:<\/strong> This feature makes the OS portable i.e., it can work on different hardwares in the same manner. Linux supports installation on any kind of hardware platform.<\/p>\n<p><strong>2. Open Source:<\/strong> The source code of Linux is free as it is a community based development project. Collaboration of multiple teams help enhance Linux&#8217;s capabilities and evolution.<\/p>\n<p><strong>3. Multi-User:<\/strong> Multiple users can access system resources of the OS at same time.<\/p>\n<p><strong>4. Multiprogramming:<\/strong> Allows multiple applications to run at the same time.<\/p>\n<p><strong>5. Hierarchical File System:<\/strong> Linux arranges the system files and user files in a standard file structure.<\/p>\n<p><strong>6. Shell:<\/strong> A special interpreter program helps execute commands of the OS, perform various types of operations, and call application programs. etc.<\/p>\n<p><strong>7. Security:<\/strong> Authentication features like password protection and controlled access to specific files ensures user and data security.<\/p>\n<h3>Architecture of Linux Operating System<\/h3>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Architecture-of-OS-Linux.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-100343\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Architecture-of-OS-Linux.jpg\" alt=\"Architecture of OS Linux\" width=\"882\" height=\"771\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Architecture-of-OS-Linux.jpg 882w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Architecture-of-OS-Linux-768x671.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Architecture-of-OS-Linux-720x629.jpg 720w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Architecture-of-OS-Linux-520x455.jpg 520w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/Architecture-of-OS-Linux-320x280.jpg 320w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><\/a><\/p>\n<p>A Linux System has the following layers:<\/p>\n<p><strong>1. Hardware:<\/strong> This includes peripheral devices like RAM, HDD, and CPU.<\/p>\n<p><strong>2. Kernel:<\/strong> Interacts with the hardware directly and provides low level services to upper layer components.<\/p>\n<p><strong>3. Shell:<\/strong> This hides the complexity of the functions of a kernel and acts as an interface to it. It takes commands from users and executes kernel functions.<\/p>\n<p><strong>4. Utilities:<\/strong> Utility programs provide the user with OS functionalities.<\/p>\n<h3>Benefits of Linux<\/h3>\n<ul>\n<li>It can be modified by anyone who has programming knowledge.<\/li>\n<li>Beginners can learn it easily.<\/li>\n<li>You can choose from millions of programs, applications and Linux softwares, most of which are free!<\/li>\n<li>With Linux, the system doesn\u2019t need an antivirus. It is a highly secure system with a global development community that constantly upgrades its security. This makes the OS more secure and robust<\/li>\n<li>It is a great choice for server environments as it is stable and reliable. Linux-based servers can run non-stop and they won\u2019t need a reboot for years.<\/li>\n<li>It is flexible and can be run on any system.<\/li>\n<\/ul>\n<h3>Summary<\/h3>\n<p>Linux is a well-known version of the UNIX OS. The Linux OS is portable and multi-user. It is an open source OS that provides multiprogramming and security. It also has a shell and a hierarchical file system. There are four layers in the architecture of Linux, namely, hardware, Kernel, Shell, utilities.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Linux, a popular version of the UNIX Operating System, is an open-source OS because its source code is freely available i.e., it is free to use. It is compatible with UNIX and has similar&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":100341,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24565],"tags":[24961,24960,24959],"class_list":["post-100271","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-operating-system-tutorials","tag-architecture-of-linux","tag-features-of-linux","tag-linux-operating-system"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linux Operating System - DataFlair<\/title>\n<meta name=\"description\" content=\"Linux is a well-known version of the UNIX Operating System. Learn more about this OS, its features, architecture, components and advantages.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/linux-operating-system\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux Operating System - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Linux is a well-known version of the UNIX Operating System. Learn more about this OS, its features, architecture, components and advantages.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/linux-operating-system\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-19T03:30:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/OS-LINUX.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux Operating System - DataFlair","description":"Linux is a well-known version of the UNIX Operating System. Learn more about this OS, its features, architecture, components and advantages.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/","og_locale":"en_US","og_type":"article","og_title":"Linux Operating System - DataFlair","og_description":"Linux is a well-known version of the UNIX Operating System. Learn more about this OS, its features, architecture, components and advantages.","og_url":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2021-08-19T03:30:39+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/OS-LINUX.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9"},"headline":"Linux Operating System","datePublished":"2021-08-19T03:30:39+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/"},"wordCount":679,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/OS-LINUX.jpg","keywords":["Architecture of Linux","Features of Linux","Linux Operating System"],"articleSection":["Operating System Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/linux-operating-system\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/","url":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/","name":"Linux Operating System - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/OS-LINUX.jpg","datePublished":"2021-08-19T03:30:39+00:00","description":"Linux is a well-known version of the UNIX Operating System. Learn more about this OS, its features, architecture, components and advantages.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/linux-operating-system\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/OS-LINUX.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2021\/08\/OS-LINUX.jpg","width":1200,"height":628,"caption":"Linux Operating System"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/linux-operating-system\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Operating System Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/operating-system-tutorials\/"},{"@type":"ListItem","position":3,"name":"Linux Operating System"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/b49855299264df5e27e3ec6c2cd9fde9","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ef46b745ddad2fad690af626c6ef29b91809ad0a9f5ef398d07817d8cad042f5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team is a group of passionate educators and industry experts dedicated to providing high-quality online learning resources on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. With years of experience in the field, the team aims to simplify complex topics and help learners advance their careers. At DataFlair, we believe in empowering students and professionals with the knowledge and skills needed to thrive in today\u2019s fast-paced tech industry. Follow us for Free courses, expert insights, tutorials, and practical tips to boost your learning journey.","url":"https:\/\/data-flair.training\/blogs\/author\/datafbdad\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=100271"}],"version-history":[{"count":4,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100271\/revisions"}],"predecessor-version":[{"id":100345,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/100271\/revisions\/100345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/100341"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=100271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=100271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=100271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}