
Linux: Booting Process
High-level explanation of how the Linux is booted.
High-level explanation of how the Linux is booted.
Essential package management and real world examples that cover all fundamental operations for managing RPM/DEB packages.
What is LVM? LVM is a special tool in Linux that let’s you manage disk storage in much more flexible way than traditional partitions. Think of it as turning multiple hard drives into a big, flexible stroage pool that you can split, resize, or grow whenever you want, without worrying about the limits of classic disk partitions. Why Use LVM? Resize storage easily: You can expand or shrink volumes without reformatting or losing data. Combine multiple disks: Make many drives look like one big storage area. Add more space anytime: Plug in new hard drive and add its space instantly. Move or migrate data: Shift storage between drives with little downtime. Take snapshots: Save the exact state of you data at a moment in time, which helps with backups. Practical Example Classic Partitioning (without LVM) You have 100GB disk with /home and /var partitions. /home fills up, while /var has lots of free space. Problem: You can’t take space from /var and give it to /home without migrating, deleting, repartitioning or copying data aroud. Which is possible but risky and time-consuming. With LVM Let’s say you have two physical disks: ...
Environment Variables In Linux, Environment variables are named key-value pairs that store information about your operating environment and configuration. They are crucial because they let the operating system, applications, and scripts know about elements such as : Where programs are location; _via _PATH. Your user/currently logged-in directory; HOME. Language or locale settings. System-wide or app-specific configurations. In simple terms, environment variables are a foundational way that Linux customizes, configues, and manages the actions of programs and users through simple “key=value” pairs. ...
Use mail to send or receive stored messages & system notificaitons, wall to broadcast announcements to all users and use write for quick direct messages to another user.
Regular Expression Regular expression is a method of pattern matching. It allows you to define patterns of texts and search for it in other texts, no matter the complexity or the amount of text there is to process. Using regular expression is considered a more efficient solution, when there’s complexity in searching for a text that you want to find. It is also called as regex. Keep in mind that regular expression is supported in almost every programming language. If you were to face a situation when there’s complexity in searching a text, take a look at how the systax looks like other programming languages and utilize them. ...
Detailed explanation of Debian packaging file structure.
Detailed explanation of RPM package file structure.
The tar command (short for tape archive) is a foundational tool in Linux for archiving and compressing files and directories
Read and preview file contents using commands like cat, head, tail, less.