Day 6 β Exploring Linux Basic
Navigating the terminal, inspecting files, and understanding system internals

On Day 6 of my DevOps journey, I explored the Linux terminal hands-on. I used essential commands to navigate the system, read files, and understand the structure of Linux.
π» Basic Commands I Practiced
Here are the commands I used today and what they do:
| Command | Purpose |
whoami | Shows the current logged-in user |
pwd | Prints the current working directory |
ls | Lists files and folders |
cd | Changes directory |
clear | Clears the terminal screen |
cat /etc/os-release | Displays OS info |
sudo -i | Switches to the root user |
exit | Exits a session (root or normal) |
π Navigating the File System
I explored various system directories using cd and ls:
/bin,/sbinβ essential binaries and system tools/etcβ system configuration files (likehostname)/boot,/boot/grub2β bootloader files/tmpβ temporary files/procβ virtual system info (processes, uptime)
π Viewing System Info
Some useful commands I tried for system insight:
uptimeβ Shows how long the system has been runningcat /proc/uptimeβ Same info but in raw formatfree -mβ Displays memory usage in MB
π§ What I Learned
Linux has a clear directory hierarchy, and each folder has a specific purpose.
Commands like
cd,ls, andpwdmake navigating easy./procis a virtual filesystem that shows real-time system data.You can switch to root (
sudo -i) for full control, but use it cautiously.
π Wrapping Up
Today was all about exploring and understanding how Linux is structured and how to move around it. These basics are powerful and essential for any DevOps or Linux user.
Tomorrow, Iβll dive into file management, permissions, and editing files from the terminal.




