Giter Club home page Giter Club logo

linux-commands's Introduction

Linux Basics

#1589F0 Overview

  • What is Operating System ?
    Operating system is an interface between user and the computer hardware. The hardware of the computer cannot understand the human readable language as it works on binaries i.e. 0's and 1's. Also it is very tough for humans to understand the binary language, in such case we need an interface which can translate human language to hardware and vice-versa for effective communication.

  • Types of Operating System:

    • Single User - Single Tasking Operating System
    • Single User - Multitasking Operating System
    • Multi User - Multitasking Operating System

#1589F0 Linux Architecture

  • The architecture of UNIX can be divided into Four levels of functionality, as shown in Figure .

  • Hardware
    Hardware consists of all physical devices attached to the System.
    Example:- Hard disk drive, RAM, Motherboard, CPU etc.

  • Kernel
    kernel is the core component for any (Linux) operating system which directly interacts with the hardware. it schedules tasks, manages resources, and controls security.

    • Different types of the kernel are:
      • Monolithic Kernel
      • Hybrid kernels
      • Exo kernels
      • Micro kernels
  • Shell
    Shell is the interface which takes input from users and sends instructions to the Kernel, Also takes the output from Kernel and send the result back to output user and starting applications.

    • Types of shells are classified into four:
      • Korn shell
      • Bourne shell
      • C shell
  • Utilities
    Utilities provides the functionalities of an operating system to the users.

#1589F0 Linux File System Hierarchy

Path Description
/ It is parent directory for all other directories.(root directory)
/root It is home directory for root user and it provides working environment for root user
/home It is home directory for other users and it provide working environment for other users
/boot It contains bootable files for Linux. Like GRUB (GRand Unified Boot loader) boot.ini, ntldr
/etc It contains all configuration files. Like User info /etc/passwd
/usr By default softwares are installed in /usr directory
/opt It is optional directory for /usr and it contains third party softwares.
/bin It contains commands used by all users(Binary files)
/sbin It contains commands used by only Super User (root)
/dev It contains device file like hard disk /dev/hda
/proc It contain process files and data are not permanent, they keep changing like information of CPU /proc/cpuinfo
/var It is containing variable data like mails, log files
/mnt It is default mount point for any partition. It is empty by default
/media It contains all of removable media like CD-ROM, pen drive
/lib It contains library files which are used by OS. Library files in Linux are shared object files

#1589F0 Commands

linux-commands's People

Contributors

krishnaprasadkv avatar imransysg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.