csot/contest

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. VS Code: install the Remote - WSL extension and open your project folder from Ubuntu.

Can't use WSL? Install Multipass for Windows (winget install Canonical.Multipass) and follow the macOS VM steps inside the Ubuntu instance.

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 (2 CPU, 4 GB RAM is enough):
    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
  4. Sign in:
    csot login

Optional: share a folder from your Mac — multipass mount ~/csot csot:/home/ubuntu/csot — then edit in your Mac editor and run commands in the VM.

How it works

  1. Sign in once in the browser with your DevClub account.

  2. Set up Linux and install the CLI — see Set up your machine for Windows (WSL), macOS (Multipass), or native Linux.

  3. Run csot login. The site shows a paste-code; drop it back in your terminal.

  4. Write solutions, then csot submit ./solutions. Per-task results in about ten seconds.

  5. Iterate on one task: csot submit ./solutions -t 07

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