Linux File System, Permissions & Your First Bash Script – Offensive Security Ch.1

Опубликовано: 03 Июнь 2026
на канале: CLOVER -X
263
11

🐚 Bash for Offensive Security — Chapter 1: Foundations of Bash Scripting

In this video, we cover the absolute foundations of Bash that every security professional must know. Starting from navigating the Linux file system after compromising a machine, writing your first script, understanding file permissions (chmod), and creating files — this is where your Bash scripting journey begins.

✅ What you'll learn in this chapter:
• Navigating the Linux filesystem (pwd, ls, ls -la, cd, mkdir)
• Using echo, nano, and writing your first .sh Bash script
• The Shebang line (#!/bin/bash) and why it matters
• File Mode Bits, chmod, chown, SUID, SGID, Sticky Bit
• Using touch to create files
• Exercise 1: Write your own setup.sh automation script

🔧 Tools used: Bash, nano, chmod, Ubuntu Terminal




⚠️ DISCLAIMER: All content is for ethical hacking and educational purposes only.

0:00 Introduction
0:30 Navigation & File System
8:13 File Creation & Editing
10:25 First Bash Script
13:17 File Permissions (chmod)
20:16 Exercise 1


#BashScripting #EthicalHacking #OffensiveSecurity #LinuxForHackers #chmod #BashTutorial #CyberSecurity #KaliLinux #LinuxTerminal #HackingForBeginners