Skip to main content

Command Palette

Search for a command to run...

#90daysofdevops { Day -2}

Published
β€’4 min readβ€’View as Markdown
#90daysofdevops  { Day -2}

πŸ€”What is Linux?

Linux is an operating system that is both versatile and powerful. It is free and open-source software that is based on the Unix operating system and was created by Linus Torvalds in 1991. The stability, scalability, and cost-effectiveness of Linux make it a popular choice for various applications and industries.

  1. Free and Open-Source: πŸ”„ Linux's popularity arises from its open-source nature, allowing users to access, modify, and distribute the source code freely.

  2. Secure: πŸ”’ Security is a hallmark of Linux. Its strong permission system, regular updates, and dedicated community contribute to a secure computing environment, making it a preferred choice for many.

  3. Fast: ⚑ Linux is well-known for its efficiency and speed. Its lightweight design and optimized kernel contribute to swift performance, making it an ideal choice for various computing tasks.

  4. Many Distributions: 🌐There are tons of Linux distributions available such as Ubuntu, CentOS, Red Hat, Debian, and Fedora, which make Linux a popular operating system.

    🏰What is the Architecture of Linux?

    The architecture of Linux is the underlying structured layer like other operating systems. Generally, it has four fundamental layers. Those are: application, shell, kernel, and hardware. It is very important to understand for both the developers and users how each layer is connected and creates the whole system. Below the image, you can see the links between each layer.

  1. Kernel - The Brain 🧠: Kernel is the heart of the Linux operating system, which is responsible for device management, memory management, process management, and handling system calls. also, it is something that acts as a bridge or mode of communication between the software and hardware.

  2. Shell - Your Friendly Translator πŸ’»: The shell acts as the interface between users and the kernel. Think of it as a translator, taking your commands and instructing the kernel on what to do. Bash is one of the popular shells, and provides a command-line environment.

  3. Applications - The User Interface πŸ‘€**:** Applications and utilities form the user interface, allowing users to interact with the system effortlessly. From text editors to web browsers, these applications leverage the power of the kernel and the shell to perform tasks and improve the overall user experience.

πŸ› οΈSome Basic Linux Commands:

  1. 🏠 Navigation:

    • pwd: Print Working Directory

    • ls: List files and directories

    • cd: Change Directory

    • mkdir: Make Directory

    • rmdir: Remove Directory

  2. πŸ“„ File Operations:

    • touch: Create an empty file

    • cp: Copy files or directories

    • mv: Move or rename files or directories

    • rm: Remove files or directories

    • cat: Display content of a file

  3. πŸ–₯️ System Information:

    • uname: Display system information

    • whoami: Display current username

    • top: Display and manage system processes

  4. πŸ–±οΈ Text Editing:

    • nano: A simple text editor

    • vim or vi: Powerful text editor (may have a learning curve)

  5. πŸ•΅οΈ Search and Find:

    • grep: Search for a pattern in files

    • find: Search for files and directories

  6. πŸ“‚ Archive and Compression:

    • tar: Create or extract tar archives

    • zip and unzip: Compress and decompress files in ZIP format

  7. πŸš€ System Control:

    • ps: Display information about active processes

    • kill: Terminate a process

    • shutdown and reboot: Shutdown or restart the system

  8. πŸ“Š Disk and Space Usage:

    • df: Display disk space usage

    • du: Display directory space usage

  9. πŸ“‘ Network Commands:

    • ifconfig or ip: Display network configuration

    • ping: Test network connectivity

    • netstat: Display network statistics

  10. 🌐 Package Management:

    • apt or yum: Package management tools for installing, updating, and removing software packages

In the tech realm, Linux is like the Swiss Army knife of operating systems. 🐧 From an interview standpoint, it's a hot topic because it demonstrates a knack for open-source tech, something many companies adore. πŸ’» Think of Linux as your digital bouncer - it's got rock-solid security features that employers drool over in interviews. πŸ”’ Plus, it's the cool cat in server-land, running the show for many big players. πŸš€ If you're a fan of command-line magic, Linux is your stage; interviewers dig candidates who can dance in the terminal. 🎩✨ It's not just a techie preference - Linux is the backbone of containerization and DevOps, making it a must-know for anyone looking to ride the modern software wave. 🌊 And let's not forget, it won't burn a hole in your pocket - it's open source and free. πŸ†“ So, whether you're chatting in an interview room or just trying to be the boss of your computer, Linux is your go-to buddy. πŸ€˜πŸΌπŸš€


Give this blog a thumbs up! 🌟 Your support fuels my passion for creating informative and engaging content. Together, let's explore, learn, and grow! πŸš€πŸ’»

Connect with me on LinkedInπŸ‘”πŸŒ:https://www.linkedin.com/in/nikhil-kathale-27544a1b5/

More from this blog

What The heck is DeVOPS?πŸ˜‘

9 posts