feat: add playground environment
This commit is contained in:
@@ -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. |
|
||||
|
||||
1
sisop_module1_playground/archive/locked.txt
Normal file
1
sisop_module1_playground/archive/locked.txt
Normal file
@@ -0,0 +1 @@
|
||||
Read this if you can
|
||||
1
sisop_module1_playground/config/.secret_key
Normal file
1
sisop_module1_playground/config/.secret_key
Normal file
@@ -0,0 +1 @@
|
||||
Top Secret Key: ITS_JUARA_2026
|
||||
0
sisop_module1_playground/data/old_data_1.bak
Normal file
0
sisop_module1_playground/data/old_data_1.bak
Normal file
0
sisop_module1_playground/data/old_data_2.bak
Normal file
0
sisop_module1_playground/data/old_data_2.bak
Normal file
0
sisop_module1_playground/data/old_data_3.bak
Normal file
0
sisop_module1_playground/data/old_data_3.bak
Normal file
0
sisop_module1_playground/data/old_data_4.bak
Normal file
0
sisop_module1_playground/data/old_data_4.bak
Normal file
0
sisop_module1_playground/data/old_data_5.bak
Normal file
0
sisop_module1_playground/data/old_data_5.bak
Normal file
0
sisop_module1_playground/data/temp_1.tmp
Normal file
0
sisop_module1_playground/data/temp_1.tmp
Normal file
0
sisop_module1_playground/data/temp_10.tmp
Normal file
0
sisop_module1_playground/data/temp_10.tmp
Normal file
0
sisop_module1_playground/data/temp_2.tmp
Normal file
0
sisop_module1_playground/data/temp_2.tmp
Normal file
0
sisop_module1_playground/data/temp_3.tmp
Normal file
0
sisop_module1_playground/data/temp_3.tmp
Normal file
0
sisop_module1_playground/data/temp_4.tmp
Normal file
0
sisop_module1_playground/data/temp_4.tmp
Normal file
0
sisop_module1_playground/data/temp_5.tmp
Normal file
0
sisop_module1_playground/data/temp_5.tmp
Normal file
0
sisop_module1_playground/data/temp_6.tmp
Normal file
0
sisop_module1_playground/data/temp_6.tmp
Normal file
0
sisop_module1_playground/data/temp_7.tmp
Normal file
0
sisop_module1_playground/data/temp_7.tmp
Normal file
0
sisop_module1_playground/data/temp_8.tmp
Normal file
0
sisop_module1_playground/data/temp_8.tmp
Normal file
0
sisop_module1_playground/data/temp_9.tmp
Normal file
0
sisop_module1_playground/data/temp_9.tmp
Normal file
7
sisop_module1_playground/data/users.csv
Normal file
7
sisop_module1_playground/data/users.csv
Normal 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
|
||||
|
22
sisop_module1_playground/logs/app.log
Normal file
22
sisop_module1_playground/logs/app.log
Normal 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
|
||||
@@ -0,0 +1 @@
|
||||
not this one
|
||||
@@ -0,0 +1 @@
|
||||
keep looking
|
||||
1
sisop_module1_playground/maze/level1_a/level2_b/info.txt
Normal file
1
sisop_module1_playground/maze/level1_a/level2_b/info.txt
Normal file
@@ -0,0 +1 @@
|
||||
wrong file
|
||||
@@ -0,0 +1 @@
|
||||
nope
|
||||
1
sisop_module1_playground/maze/level1_a/readme.txt
Normal file
1
sisop_module1_playground/maze/level1_a/readme.txt
Normal file
@@ -0,0 +1 @@
|
||||
nothing here
|
||||
@@ -0,0 +1 @@
|
||||
almost
|
||||
1
sisop_module1_playground/maze/level1_b/level2_c/log.txt
Normal file
1
sisop_module1_playground/maze/level1_b/level2_c/log.txt
Normal file
@@ -0,0 +1 @@
|
||||
try again
|
||||
@@ -0,0 +1 @@
|
||||
not here
|
||||
@@ -0,0 +1 @@
|
||||
nope
|
||||
@@ -0,0 +1 @@
|
||||
You found it! The secret message is: sisop2026
|
||||
@@ -0,0 +1 @@
|
||||
wrong path
|
||||
@@ -0,0 +1 @@
|
||||
keep trying
|
||||
@@ -0,0 +1 @@
|
||||
still no
|
||||
@@ -0,0 +1 @@
|
||||
not yet
|
||||
@@ -0,0 +1 @@
|
||||
wrong again
|
||||
4
sisop_module1_playground/scripts/hello.sh
Normal file
4
sisop_module1_playground/scripts/hello.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
echo "Hello eggboi"
|
||||
date_now=date
|
||||
echo "Today is "
|
||||
Reference in New Issue
Block a user