csot/contest

Program guide

Instructions

Pick your week — setup, scoring, and how to submit.

Week 1 · Shell & sysadmin

Shell Wizardry & Sysadmin Sprint

Twelve autograded tasks in a locked-down sandbox. Submit from your terminal with the csot CLI.

Set up your machine

Week 1 tasks need a real Linux shell (bash, systemd, nginx). Pick your platform, run the steps, then continue with How it works below.

Linux · Ubuntu, Debian, or Kali
  1. Update packages and install Python + git:
    sudo apt update
    sudo apt install -y python3 python3-pip python3-venv curl git
  2. Install the contest CLI:
    curl -fsSL https://csot-devops.devclub.in/install.sh | bash
  3. Sign in:
    csot login
Windows · WSL2 (recommended)
  1. In PowerShell as Administrator, install Ubuntu on WSL:
    wsl --install -d Ubuntu
    Reboot if prompted. First launch creates your Linux username and password.
  2. Open Ubuntu from the Start menu. Inside WSL, install deps + CLI:
    sudo apt update
    sudo apt install -y python3 python3-pip python3-venv curl git
    curl -fsSL https://csot-devops.devclub.in/install.sh | bash
  3. Sign in (paste the code from your browser back here):
    csot login

Do all contest work inside WSL — not PowerShell or CMD.

macOS · Multipass Ubuntu VM

macOS has no systemd. Use a small Ubuntu VM so every task behaves like the grader expects.

  1. Install Multipass:
    brew install multipass
  2. Launch a VM:
    multipass launch 24.04 --name csot --cpus 2 --memory 4G --disk 20G
    multipass shell csot
  3. Inside the VM, install deps + CLI:
    sudo apt update
    sudo apt install -y python3 python3-pip python3-venv curl git
    curl -fsSL https://csot-devops.devclub.in/install.sh | bash
    csot login

Per-task evaluation commands

Every Week 1 task is graded with file submit only (no live sandbox). Put solutions under a folder such as ./solutions/ using the paths below.

# Task Evaluate with Submit files
01Find Large Filescsot submit ./solutions -w week-01 -t 0101.sh
02Count IPscsot submit ./solutions -w week-01 -t 0202.sh
03Replace Tabscsot submit ./solutions -w week-01 -t 0303.sh
04Rename txt → mdcsot submit ./solutions -w week-01 -t 0404.sh
05jq Parsecsot submit ./solutions -w week-01 -t 0505.sh
06Retry Backoffcsot submit ./solutions -w week-01 -t 0606.sh
07systemd Timercsot submit ./solutions -w week-01 -t 0707.service, 07.timer
08nginx Headercsot submit ./solutions -w week-01 -t 0808.conf
09OpenSSL HTTPScsot submit ./solutions -w week-01 -t 0909.sh
10Disk Usagecsot submit ./solutions -w week-01 -t 1010.sh
11List Servicescsot submit ./solutions -w week-01 -t 1111.sh
12Todo CLIcsot submit ./solutions -w week-01 -t 1212-todo/todo.sh

Grade all tasks: csot submit ./solutions -w week-01 · Single file: csot submit ./07.service -w week-01 -t 07

Private submissions. Your code is uploaded only to this server. No other student can read your files.