---
title: "The 2023 Linux Launchpad: Part 3 - The Gatekeeper"
description: "Part 3 of the Linux Launchpad series. You must act as the Gatekeeper, deciding who gets to see, touch, or run your data. Mastering cat, chmod, chown, and sudo."
canonical: "https://zainahmed.net/blog/linux-launchpad-3-the-gatekeeper"
published: "2023-01-19"
---

# The 2023 Linux Launchpad: Part 3 - The Gatekeeper

> Author: Zain Ahmed
> Published: 2023-01-19
> Read Time: 1 min read
> Category: Linux
> Tags: Linux, Terminal, Beginner, Permissions
> Canonical URL: https://zainahmed.net/blog/linux-launchpad-3-the-gatekeeper

## Excerpt
Part 3 of the Linux Launchpad series. You must act as the Gatekeeper, deciding who gets to see, touch, or run your data. Mastering cat, chmod, chown, and sudo.

---

## The Why
Linux is a multi-user operating system. Security is built into every single file. You must act as the Gatekeeper, deciding who gets to see, touch, or run your data.

## The Commands

### 1. `cat` (Concatenate)
Read a file's content instantly.

```bash
zain@linux:~$ cat /etc/hostname
linux-server-01
```

### 2. `less`
Read large files one page at a time. Use arrow keys to scroll, `q` to quit.

```bash
zain@linux:~$ less /var/log/syslog
```

### 3. `chmod` (Change Mode)
Change permissions.
*   **r** (Read) = 4
*   **w** (Write) = 2
*   **x** (Execute) = 1

Example: Give the owner full control (7), and everyone else read-only access (4).

```bash
zain@linux:~$ chmod 744 script.sh
```

### 4. `chown` (Change Owner)
Change who owns the file. Required when you move files between users.

```bash
zain@linux:~$ sudo chown root:root system-config.conf
```

### 5. `sudo` (SuperUser DO)
The "God Mode" command. Executes the following command with Administrator (root) privileges.

```bash
zain@linux:~$ sudo apt update
```

## Try It Yourself
1. Create a secret file: `touch secret.txt`.
2. check its permissions: `ls -l secret.txt`.
3. Lock it down so only you can read/write it (no one else): `chmod 600 secret.txt`.
4. Verify the change: `ls -l secret.txt` (Should look like `-rw-------`).

---

## Related Endpoints & Navigation
- **All Articles**: [https://zainahmed.net/blog](https://zainahmed.net/blog)
- **Author Profile**: [https://zainahmed.net/about](https://zainahmed.net/about)
- **Machine-Readable LLM Manifest**: [https://zainahmed.net/llms.txt](https://zainahmed.net/llms.txt)
- **RSS Feed**: [https://zainahmed.net/feed.xml](https://zainahmed.net/feed.xml)
