Skip to main content

Command Palette

Search for a command to run...

Day 6 – Exploring Linux Basic

Navigating the terminal, inspecting files, and understanding system internals

Published
β€’2 min read
Day 6 – Exploring Linux Basic

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:

CommandPurpose
whoamiShows the current logged-in user
pwdPrints the current working directory
lsLists files and folders
cdChanges directory
clearClears the terminal screen
cat /etc/os-releaseDisplays OS info
sudo -iSwitches to the root user
exitExits 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 (like hostname)

  • /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 running

  • cat /proc/uptime – Same info but in raw format

  • free -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, and pwd make navigating easy.

  • /proc is 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.


DevOps overview as a beginner

Part 6 of 50

Sharing my journey of learning DevOps as a beginner β€” covering essential tools, cloud setup, CI/CD, Docker, monitoring, and more, step by step with practical examples.

Up next

Day 7 – Mastering Linux File & Directory Management

Learn how to copy, move, rename, and delete files with Linux commands