Linux Fundamentals: A Beginner’s Guide

Hi there! I'm Dinesh, a passionate Cloud and DevOps enthusiast. I love to dive into the latest new technologies and sharing my journey through blog.
Search for a command to run...

Hi there! I'm Dinesh, a passionate Cloud and DevOps enthusiast. I love to dive into the latest new technologies and sharing my journey through blog.
No comments yet. Be the first to comment.
1. Difference between Docker and Kubernetes Docker → Builds and runs containers.Kubernetes → Orchestrates containers across multiple nodes. Key points: Docker = container runtime. Kubernetes = container orchestration tool. Kubernetes provides auto...
In this session, we learn how to monitor a Kubernetes cluster using Prometheus and Grafana.This is not just theory — there is a GitHub repository containing all installation commands and demo steps.The repo will also be enhanced later with advanced K...
1. What is a ConfigMap in Kubernetes? A ConfigMap is used to store non-sensitive configuration data that your application needs — such as: Database port Connection type Any general configuration values In normal applications (non-Kubernetes), de...
Kubernetes normally supports built-in resources like: Deployment Service Pod ConfigMap Secret Ingress These are called native resources. Sometimes companies (Istio, ArgoCD, Prometheus Operator, Kyverno, etc.) want to add new features that Kub...
1. Why Kubernetes Services Are Needed When a Pod is created in Kubernetes, it receives a dynamic IP address.If the Pod dies and restarts, its IP changes.So other Pods (like checkout → payments) cannot rely on Pod IP because it changes, creating issue...
Linux has become an essential operating system (OS) for developers, system administrators, and cloud engineers. Known for its stability, security, and open-source nature, it powers everything from personal computers to large-scale servers.
Linux is a Unix-like operating system that was first introduced by Linus Torvalds in 1991. It is unique because it is open-source, meaning the source code is available to anyone, and it can be modified and distributed freely.
Linux is typically used on servers, but it is also widely available for desktop use. Some popular Linux distributions (distros) include:
Ubuntu
Fedora
Debian
CentOS
Arch Linux
Each distribution has its own package management system, desktop environments, and special tools, but the core of Linux (the kernel) remains the same across all distributions.
Kernel: The core part of Linux responsible for managing hardware and system resources.
Shell: An interface that allows users to interact with the OS through commands. Common shells include Bash and Zsh.
Terminal: A text-based interface where users input commands.
Distributions (Distros): Different versions of Linux tailored for specific purposes. Popular distros include Ubuntu, CentOS, Fedora, and Debian.
The Linux Filesystem Hierarchy
Linux follows a structured directory system that can seem confusing to beginners at first. Here’s a quick breakdown of some important directories:
/ (Root): The base of the Linux filesystem. Everything is located under the root directory.
/home: Contains home directories for all users. For example, /home/user is the home directory for a user named "user".
/etc: Contains system configuration files.
/bin: Contains essential user commands and binaries (like ls, cp, etc.).
/var: Stores system logs and variable data like cache files.
/tmp: Temporary files are stored here and typically cleaned up at boot.