Live Terminal Drill
Re-type the command exactly to clear each challenge.
loading... 0 / 12 mastered
WEEK 2 · SYSTEM OPS · TUI: ./control-panel --day 12
Format ext4/XFS partitions, configure persistent mounts in /etc/fstab, and verify filesystem integrity.
Pick a track or paste any YouTube URL.
Type commands, build streaks, and then review the source guide.
Re-type the command exactly to clear each challenge.
loading... 0 / 12 mastered
Tap a command when you practiced it in your own terminal.
Command explanation will appear here.
Output preview will appear here.
Fun facts about the active command will appear here.
Run a command to see result feedback.
Faster learning with topic cues, mini-missions, and external docs.
mount and explain the output in one sentence.umount and explain the output in one sentence.mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 and explain the output in one sentence.bash and explain the output in one sentence.Week 2 (System Ops) · Session: Breakfast (Morning Foundation & Core Command Syntax) lsblk, blkid, mkfs.ext4, mount, umount, /etc/fstab╔══════════════════════════════════════════════════════════════════════════════╗
║ ZOTHOS × 1NC0GN30 // PROCESS, KERNEL & NETWORK OPERATIONS PIPELINE ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ ║
║ ┌─────────────────┐ fork() / execve() ┌────────────────────────────┐ ║
║ │ PID 1: systemd │ ──────────────────────► │ Active Daemons & Tasks │ ║
║ └────────┬────────┘ │ • nice / renice [-20..19] │ ║
║ │ │ • SIGTERM(15) / SIGKILL(9)│ ║
║ ▼ └─────────────┬──────────────┘ ║
║ ┌─────────────────┐ /proc & sysctl ┌─────────────▼──────────────┐ ║
║ │ Kernel Modules │ ◄─────────────────────► │ Network & Storage Stack │ ║
║ │ lsmod / modprobe│ │ ip route • ss • /etc/fstab │ ║
║ └─────────────────┘ └────────────────────────────┘ ║
╚══════════════════════════════════════════════════════════════════════════════╝| Learning Pillar | How to Practice This Session |
|---|---|
1. Native TUI (./control-panel) | Run ./control-panel from repo root → Select Week 2 → Day 12 → Breakfast to drill interactive C lessons & quizzes. |
2. Web Workstation (astro-ui) | Open /day/12 → Select Breakfast tab → Type each target command in the live Mission Terminal to earn XP & streak mastery. |
| 3. Safe Local Sandbox | Run mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 to test every flag below without touching production files. |
unKernel Moduleslsmodsudo modprobe <module_name>sudo rmmod <module_name>sysctl -asudo sysctl -w <parameter>=<value>sudo sysctl -puname -runame -aType commands, build streaks, and then review the source guide.
Re-type the command exactly to clear each challenge.
loading... 0 / 12 mastered
Tap a command when you practiced it in your own terminal.
Command explanation will appear here.
Output preview will appear here.
Fun facts about the active command will appear here.
Run a command to see result feedback.
Faster learning with topic cues, mini-missions, and external docs.
mount and explain the output in one sentence.umount and explain the output in one sentence.mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 and explain the output in one sentence.bash and explain the output in one sentence.Week 2 (System Ops) · Session: Lunch (Midday Operational Workflows & Flag Mastery) lsblk, blkid, mkfs.ext4, mount, umount, /etc/fstab╔══════════════════════════════════════════════════════════════════════════════╗
║ ZOTHOS × 1NC0GN30 // PROCESS, KERNEL & NETWORK OPERATIONS PIPELINE ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ ║
║ ┌─────────────────┐ fork() / execve() ┌────────────────────────────┐ ║
║ │ PID 1: systemd │ ──────────────────────► │ Active Daemons & Tasks │ ║
║ └────────┬────────┘ │ • nice / renice [-20..19] │ ║
║ │ │ • SIGTERM(15) / SIGKILL(9)│ ║
║ ▼ └─────────────┬──────────────┘ ║
║ ┌─────────────────┐ /proc & sysctl ┌─────────────▼──────────────┐ ║
║ │ Kernel Modules │ ◄─────────────────────► │ Network & Storage Stack │ ║
║ │ lsmod / modprobe│ │ ip route • ss • /etc/fstab │ ║
║ └─────────────────┘ └────────────────────────────┘ ║
╚══════════════════════════════════════════════════════════════════════════════╝| Learning Pillar | How to Practice This Session |
|---|---|
1. Native TUI (./control-panel) | Run ./control-panel from repo root → Select Week 2 → Day 12 → Lunch to drill interactive C lessons & quizzes. |
2. Web Workstation (astro-ui) | Open /day/12 → Select Lunch tab → Type each target command in the live Mission Terminal to earn XP & streak mastery. |
| 3. Safe Local Sandbox | Run mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 to test every flag below without touching production files. |
lsmodsudo modprobe sudo modprobe -r modinfo lsmod
sudo modprobe usb_storage
sudo modprobe -r usb_storage
modinfo usb_storage#include <linux/module.h>
#include <linux/kernel.h>
int init_module(void) {
printk(KERN_INFO "Hello, Kernel World!\n");
return 0;
}
void cleanup_module(void) {
printk(KERN_INFO "Goodbye, Kernel World!\n");
}
MODULE_LICENSE("GPL");make -C /lib/modules/$(uname -r)/build M=$(pwd) modulessudo insmod hello.komake -C /lib/modules/$(uname -r)/build M=$(pwd) modules
sudo insmod hello.ko
sudo rmmod hellosysctl -asudo sysctl -w <parameter>=<value>sysctl -a
sudo sysctl -w vm.swappiness=10
sudo nano /etc/sysctl.conf
sudo sysctl -psudo sysctl -w fs.file-max=100000sudo sysctl -w kernel.pid_max=65536sudo sysctl -w vm.swappiness=10sudo sysctl -w fs.file-max=100000
sudo sysctl -w kernel.pid_max=65536
sudo sysctl -w vm.swappiness=10sudo apt-get install linux-image-<new_version>sudo update-grubuname -r
sudo apt-get install linux-image-5.15.0-58-generic
sudo update-grubdmesgdmesg | grep <keyword>sudo dmesg -Cdmesg
dmesg | grep usb
sudo dmesg -Csudo update-grubsudo update-grubsudo update-grub
sudo nano /etc/default/grub
sudo update-grubcat /var/log/kern.logecho c > /proc/sysrq-trigger (Use with caution)sudo apt-get install kdump-toolscat /var/log/kern.log
echo c > /proc/sysrq-trigger
sudo apt-get install kdump-toolstop, htopiostatiftopnloadps auxtop
htop
iostat
iftop
nload
ps auxwget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.x.y.tar.xztar -xvf linux-5.x.y.tar.xz
cd linux-5.x.y
make menuconfigmake -j $(nproc)
sudo make modules_install
sudo make installsudo update-grubwget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.x.y.tar.xz
tar -xvf linux-5.x.y.tar.xz
cd linux-5.x.y
make menuconfig
make -j $(nproc)
sudo make modules_install
sudo make install
sudo update-grubType commands, build streaks, and then review the source guide.
Re-type the command exactly to clear each challenge.
loading... 0 / 12 mastered
Tap a command when you practiced it in your own terminal.
Command explanation will appear here.
Output preview will appear here.
Fun facts about the active command will appear here.
Run a command to see result feedback.
Faster learning with topic cues, mini-missions, and external docs.
mount and explain the output in one sentence.umount and explain the output in one sentence.mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 and explain the output in one sentence.echo c > /proc/sysrq-trigger and explain the output in one sentence.Week 2 (System Ops) · Session: Dinner (Evening Hardening, Pipelines & Verification Lab) lsblk, blkid, mkfs.ext4, mount, umount, /etc/fstab╔══════════════════════════════════════════════════════════════════════════════╗
║ ZOTHOS × 1NC0GN30 // PROCESS, KERNEL & NETWORK OPERATIONS PIPELINE ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ ║
║ ┌─────────────────┐ fork() / execve() ┌────────────────────────────┐ ║
║ │ PID 1: systemd │ ──────────────────────► │ Active Daemons & Tasks │ ║
║ └────────┬────────┘ │ • nice / renice [-20..19] │ ║
║ │ │ • SIGTERM(15) / SIGKILL(9)│ ║
║ ▼ └─────────────┬──────────────┘ ║
║ ┌─────────────────┐ /proc & sysctl ┌─────────────▼──────────────┐ ║
║ │ Kernel Modules │ ◄─────────────────────► │ Network & Storage Stack │ ║
║ │ lsmod / modprobe│ │ ip route • ss • /etc/fstab │ ║
║ └─────────────────┘ └────────────────────────────┘ ║
╚══════════════════════════════════════════════════════════════════════════════╝| Learning Pillar | How to Practice This Session |
|---|---|
1. Native TUI (./control-panel) | Run ./control-panel from repo root → Select Week 2 → Day 12 → Dinner to drill interactive C lessons & quizzes. |
2. Web Workstation (astro-ui) | Open /day/12 → Select Dinner tab → Type each target command in the live Mission Terminal to earn XP & streak mastery. |
| 3. Safe Local Sandbox | Run mkdir -p /tmp/linux-dojo-day-12 && cd /tmp/linux-dojo-day-12 to test every flag below without touching production files. |
gdb vmlinuxtarget remote /dev/ttyS0/etc/default/grub and add crashkernel=128Mecho c > /proc/sysrq-triggerecho function > /sys/kernel/debug/tracing/current_tracercat /sys/kernel/debug/tracing/traceCONFIG_KGDB=y to your kernel configuration.gdb vmlinuxtarget remote /dev/ttyS0sudo apt-get install kexec-tools/etc/default/grub and add crashkernel=128Msudo update-grubecho c > /proc/sysrq-trigger.echo function > /sys/kernel/debug/tracing/current_tracercat /sys/kernel/debug/tracing/traceecho > /sys/kernel/debug/tracing/traceecho 'tracepoint_name' > /sys/kernel/debug/tracing/set_ftrace_filtersestatus/etc/selinux/configsudo aa-statusprctl(PR_SET_SECCOMP, SECCOMP_MODE_STRICT)sestatus/etc/selinux/config and set SELINUX=enforcing or SELINUX=permissive.ausearch -m avc and semanage for policy management.patch -p1 < patch_filemake -j $(nproc)sudo make modules_install && sudo make installsudo update-grubsudo yum install kpatchkpatch load patch_filesudo apt-get install ubuntu-livepatchspin_lock(&lock)spin_unlock(&lock)mutex_lock(&mutex)mutex_unlock(&mutex)read_lock(&rwlock)read_unlock(&rwlock)write_lock(&rwlock)write_unlock(&rwlock)ps -eLfkthread_create in kernel code.struct task_struct *task = kthread_create(function, data, 'name');wake_up_process(task)kthread_stop in kernel code.kthread_stop(task);lsmodsudo modprobe /lib/modules/$(uname -r)/modules.depsudo modprobe -r modinfo uname -rsudo update-grubsysctl -a/etc/sysctl.conf/etc/sysctl.conf?sudo sysctl -pkgdbecho function > /sys/kernel/debug/tracing/current_tracersestatuspatch -p1 < patch_fileps -eLfkpatch