Master the Linux Filesystem & User Permissions in 10 Minutes #docker #Linux #DevOps #linuxcommands
Stop struggling with the Linux Terminal. In this video, we break down the entire Linux Directory Hierarchy (Standard) and show you exactly how to manage users and groups like a Senior System Admin. Whether you're preparing for an AWS/Azure certification or just starting with Ubuntu, this is your roadmap. What we cover: 0:00 - The Root (/) Explained 2:15 - /bin vs /sbin: What's the difference? 4:30 - User Management (useradd, passwd) 7:45 - Managing Groups for Security 10:00 - Pro Navigation Shortcuts 1. Navigating the Linux System Navigation is all about knowing where you are and how to get where you're going. pwd (Print Working Directory): Your "GPS"—it tells you exactly where you are. ls (List): See what’s inside. Use ls -la to see hidden files and detailed permissions. cd (Change Directory): cd /etc (Go to a specific path) cd .. (Go up one level) cd ~ (Go back to your home directory) mkdir / rmdir: Create or remove folders. 2. Managing Users & Groups In Linux, security is based on who you are (User) and what role you play (Group). User Management useradd: Create a new user. Example: sudo useradd -m sagar (The -m creates the home directory). passwd: Set or change a password. Example: sudo passwd sagar userdel: Remove a user. Example: sudo userdel -r sagar (The -r deletes their files too). whoami: Confirms which user you are currently logged in as. Group Management Groups allow you to give the same permissions to multiple users at once (e.g., all "developers" can edit /var/www). groupadd: Create a new group. Example: sudo groupadd devops usermod: Add a user to a group. Example: sudo usermod -aG devops sagar (The -aG appends the user to the group without removing them from others). groups: Check which groups a user belongs to. . @codenyra
Download
0 formatsNo download links available.