Back to all posts
Day 10Friday, January 30, 20262 min read

Linux Fundamentals Part 2 (SSH, Filesystem, Permissions)

cybersecuritylinuxlinuxfundamentalscommandlinebashsshfilepermissionstryhackmecybersecurityfoundations
View original post

๐ŸŽฏ Goal

Deepen Linux fundamentals by working with remote access, filesystem operations, and permissions, focusing on skills directly transferable to real systems.


โœ… What I Did

TryHackMe

  • Completed Linux Fundamentals Part 2

Remote Access

  • Connected to a remote Linux machine using SSH

  • Understood SSH as a core skill for administration and pentesting

Command Line Usage

  • Used command flags and switches to extend functionality

  • Consulted man pages and --help for self-documentation

Filesystem Operations

  • Created files and directories (touch, mkdir)

  • Copied and moved files (cp, mv)

  • Deleted files and folders (rm, rm -R)

  • Identified file types using file

Permissions & Users

  • Learned Linux permission model:

    • Read / Write / Execute (rwx)

    • Numeric permissions (755, 644, 700)

  • Explored ownership:

    • User

    • Group

    • Others

  • Switched users with:

    • su

    • su -l

System Directories

  • Reviewed key directories:

    • /etc โ€“ configuration and credentials

    • /var โ€“ logs and variable data

    • /root โ€“ root user home

    • /tmp โ€“ writable temporary directory


โœ… What Worked

  • SSH usage finally feels practical, not abstract

  • Man pages reduced reliance on copy-pasting commands

  • Numeric permissions started to make sense

  • Filesystem navigation feels more deliberate


โŒ What Didnโ€™t

  • grep syntax still causes friction

  • rm -R is powerful enough to be dangerous

  • Permissions require repetition to become instinctive


๐Ÿง  Key Takeaways

  • SSH is foundational to almost everything in Linux security

  • Flags + man pages turn basic commands into powerful tools

  • Linux permissions are a security boundary, not just syntax

  • Understanding /etc and /var is critical for real-world analysis

  • /tmp stands out as a frequent point of interest in attacks


โ“ Questions

  • When should su be preferred over sudo?

  • What are the most common real-world permission misconfigurations?

  • How often is /tmp abused in actual pentests?


๐Ÿ“š Resources


Personal Objective (Why This Exists)

  • โฌœ Build solid Linux operational confidence

  • โฌœ Reduce reliance on copy-paste commands

  • โฌœ Prepare for real-world lab environments

  • โฌœ Strengthen foundations for privilege escalation later