feat: add playground environment

This commit is contained in:
2026-03-14 23:58:27 +07:00
parent efff54fd01
commit 4a99257de5
36 changed files with 52 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
| # | Topic | Question |
|---|-------|----------|
| 1 | Navigation | Go to the `sisop_lab` directory. List all files in `config/`, including hidden ones. |
| 1 | Navigation | Go to the `sisop_module1_playground` directory. List all files in `config/`, including hidden ones. |
| 2 | Permissions | Find the file `archive/locked.txt`. Change permissions so only the owner can read it. |
| 3 | Search | Find the line in `logs/app.log` containing `"ERROR"` and save it to `logs/error_only.txt`. |
| 4 | Count | How many files ending in `.tmp` exist in the `data/` directory? |
@@ -17,7 +17,7 @@
| 13 | Cron | Write a cron expression that runs `scripts/hello.sh` every day at 3:30 AM. |
| 14 | Cron | List all active cron jobs for the current user. |
| 15 | Wildcards | Delete all files in `data/` that have the extension `.bak`. |
| 16 | Disk Usage | Check the total size of the `sisop_lab` directory in human-readable format. |
| 16 | Disk Usage | Check the total size of the `sisop_module1_playground` directory in human-readable format. |
| 17 | AWK | In `data/users.csv`, print the name of the person with the highest salary. |
| 18 | Sed | Replace every occurrence of `"INFO"` with `"LOG"` in `logs/app.log` (output to a new file). |
| 19 | Processes | Find the Process ID (PID) of your current bash session. |

View File

@@ -0,0 +1 @@
Read this if you can

View File

@@ -0,0 +1 @@
Top Secret Key: ITS_JUARA_2026

View File

View File

View File

View File

View File

View File

View File

View File

View File

View File

@@ -0,0 +1,7 @@
ID,Name,Role,Salary,Status
1,Budi,Admin,5000,Active
2,Siti,User,3000,Inactive
3,Agus,User,3200,Active
4,Dewi,Manager,7000,Active
5,Eko,User,2800,Inactive
6,Sari,Admin,5200,Active
1 ID Name Role Salary Status
2 1 Budi Admin 5000 Active
3 2 Siti User 3000 Inactive
4 3 Agus User 3200 Active
5 4 Dewi Manager 7000 Active
6 5 Eko User 2800 Inactive
7 6 Sari Admin 5200 Active

View File

@@ -0,0 +1,22 @@
[2026-03-14 10:01:00] INFO: System Heartbeat
[2026-03-14 10:02:00] INFO: System Heartbeat
[2026-03-14 10:03:00] INFO: System Heartbeat
[2026-03-14 10:04:00] INFO: System Heartbeat
[2026-03-14 10:05:00] INFO: System Heartbeat
[2026-03-14 10:06:00] INFO: System Heartbeat
[2026-03-14 10:07:00] INFO: System Heartbeat
[2026-03-14 10:08:00] INFO: System Heartbeat
[2026-03-14 10:09:00] INFO: System Heartbeat
[2026-03-14 10:010:00] INFO: System Heartbeat
[2026-03-14 10:011:00] INFO: System Heartbeat
[2026-03-14 10:012:00] INFO: System Heartbeat
[2026-03-14 10:013:00] INFO: System Heartbeat
[2026-03-14 10:014:00] INFO: System Heartbeat
[2026-03-14 10:015:00] INFO: System Heartbeat
[2026-03-14 10:016:00] INFO: System Heartbeat
[2026-03-14 10:017:00] INFO: System Heartbeat
[2026-03-14 10:018:00] INFO: System Heartbeat
[2026-03-14 10:019:00] INFO: System Heartbeat
[2026-03-14 10:020:00] INFO: System Heartbeat
[2026-03-14 10:25:00] ERROR: Connection Timeout
[2026-03-14 10:30:00] WARNING: High Memory Usage

View File

@@ -0,0 +1 @@
not this one

View File

@@ -0,0 +1 @@
keep looking

View File

@@ -0,0 +1 @@
wrong file

View File

@@ -0,0 +1 @@
nope

View File

@@ -0,0 +1 @@
nothing here

View File

@@ -0,0 +1 @@
almost

View File

@@ -0,0 +1 @@
try again

View File

@@ -0,0 +1 @@
not here

View File

@@ -0,0 +1 @@
You found it! The secret message is: sisop2026

View File

@@ -0,0 +1 @@
wrong path

View File

@@ -0,0 +1 @@
keep trying

View File

@@ -0,0 +1 @@
still no

View File

@@ -0,0 +1 @@
not yet

View File

@@ -0,0 +1 @@
wrong again

View File

@@ -0,0 +1,4 @@
#!/bin/bash
echo "Hello eggboi"
date_now=date
echo "Today is "