Coder Social home page Coder Social logo

linux's Introduction

Linux

What is Linux?

  • Open source operating system.
  • Free to use.
  • Open source code to modify.
  • Kernel base OS.

History of Linux.

  • Birthday 25th Aug 1991.
  • Developed by Lunus Toevalds.
  • Major Component
    • Kernel
    • Environment
    • File Structure
  • Purpose for fun ๐Ÿ˜Š
  • Mascot for Linux TUX(Penguin).

Distribution of Linux.

  • Ubuntu
  • Debian
  • Red Hat
  • Gentoo
  • Fedora
  • Linux Mint
  • Oracle

Features of Linux

  • Multiuser Capaiblity
  • Multitasking
  • Portability
  • Security
  • Live CD/USB
  • Graphical user interface
  • Application Support
  • File System
  • Open Source

Basic File system of Linux.

  • /bin Basic program: All commands instruction/definition written in /bin directory eg: ls, cd, dir, etc.
  • /sbin System program: that help OS to intract with other hardware are stored in /sbin directory eg: fdisk, sysetl, mkfs, etc.
  • /etc Configuration files: when any software run in our system there all config; like port no, size, etc are stored in /etc directory.
  • /temp Temporary files: Store data taht is reciently created and if user deleted and user want it again they get from /temp directory.
  • /usr/bin Application: Other software that installed in system are stored in /usr/bin directory.
  • /usr/share Application support and data files: if any software required extra files to run program that stored in /usr/share diractory.
  • /home Personal directories or guest user.
  • /root Admin directory.

Linux basic command.

  • man: manual comment
  • ls: List all the folders and files of a directory.
  • ls -a: Shows all hidden floders.
  • cd: change directory.
  • cd ..:change directory to previous.
  • pwd: Check current working directory.
  • dir: Same as ls.
  • mkdir: Create new directory.
  • cp: Copy a file or folder.
  • mv: Move a file or folder.
  • rm: Remove a file or folder.
  • sudo su: Grant root privileges - great Power comes from great responsibility.
  • cat: Show content of a file.
  • gedit: Edit the file.
  • nano: Linux file editor.
  • chmod: change directory permission.
  • ./: Execute shell file.
  • bash: Execute shell program.
  • apt-get update:Info about new version of system software.
  • apt-get upgrade: Download and install new version of software.
  • apt-get install: To install new software in system.
  • top: Showing Linux process.
  • kill: Terminate process.
  • w: User login activity.
  • whoami: Display active user name.
  • touch: Create empty file.

Multiple command in one line

  • ;
  • &&
  • ||

Terminal Shortcuts

  • Tab:Auto complete names.
  • CTRL+C :Abort processing task.
  • CTRL+L :Clear
  • CTRL+D :EXIT
  • CTRL+ALT+D :Minimize all terminal
  • CTRL+U :Clear line
  • CTRL+Z :Suspend for background
  • CTRL+A :Point to starting point
  • CTRL+Shift+C :Copy
  • CTRL+Shift+V :Paste

linux's People

Contributors

prince-gh avatar

Watchers

 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.