PrimeIntellect/Terminal-Lego-15k
Terminal-Lego-15k: Harbor dataset on Hugging Face with 13,825 tasks. See what each task asks, how it is graded and what it runs in, then run an agent on it.
Tasks
- Task: Recursively Find All Files Based on Wildcard Matching
- Task: Remove an Exported Environment Variable
- Task: Exclude a Directory When Using find Command
- Task: Create Symbolic Links in Linux
- Task: Recursively Grep All Directories and Subdirectories
- Task: Fix Bash Script to Loop Through File Contents
- Task: Implement Yes/No/Cancel User Prompt in Bash Script
- Task: Display Only Filenames Containing a Pattern Using Grep
- Task: Recursively Copy a Directory and All Its Contents
- Task: Count Lines in a Text File
- Task: Implement Clipboard Pipe Operations in Bash
- Task: Demonstrate the Behavior of set -e in Bash Scripts
- Task: Get Full Path of a File
- Task: Understanding and Using Bash Here Documents (Heredoc)
- Task: Find Files with Different Content Between Two Directory Trees
- Task: Redirect All Output to File in Bash
- Task: Get Current Time in Seconds Since Unix Epoch
- Task: Force cp to Overwrite Files Without Confirmation
- Task: Print a File Skipping the First X Lines in Bash
- Task: Bash - Ignoring Error for a Particular Command
- Docker Container Runtime Performance Cost Analysis
- Task: Determine Script Filename from Within a Bash Script
- Task: Print Directory Structure as a Tree
- Task: Obtain the Number of CPUs/Cores in Linux from the Command Line
- Task: Understanding and Demonstrating the Shebang in Shell Scripts
- Task: Copy Files While Excluding a Specific Directory
- Task: Understanding and Demonstrating Shebang Differences
- Task: Understanding Man Page Section Numbers
- Task: Copy File and Create Destination Directory If It Does Not Exist
- Task: List All Unix Group Names
- Task: Implement Automatic Shell Script Exit on Command Failure
- Task: Run a Shell Script on Unix/Linux Terminal
- Task: Display Size of Files and Directories in a Folder
- Task: Create a File in Linux Terminal
- Task: Kill a Process by Name Instead of PID
- Task: Copy Directory Without Overwriting Existing Files
- Task: Locate Apache Configuration Files on Linux
- Task: Fix SSH Pseudo-terminal Allocation Error in Shell Script
- Task: Create Tar Archive Without Full Absolute Paths
- Task: Run Node.js as a Background Process That Survives Terminal Disconnection
- Task: Identify Line Endings in a Text File
- Task: Demonstrate the LD PRELOAD Trick in Linux
- Task: Demonstrate Linux's Native GUI API (X11/Xlib)
- Task: Measure Peak Memory Usage of a Linux Process
- Task: Using AWK to Print All Columns from the Nth to the Last
- Task: Determine Linux System Architecture (32-bit or 64-bit)
- Task: Add a Prefix String to the Beginning of Each Line
- Task: Display Line Numbers with Grep Search Results
- Task: Cross-Platform sed In-Place Replacement
- Task: Get Current Time in Milliseconds Using Linux Command
- Task: Measure Program Execution Time in Bash Shell
- Task: Research and Document the Meaning of "rc" in Configuration Files
- Task: Generate List of Files with Absolute Paths in Linux
- Task: Convert All Files in a Directory Using dos2unix
- Task: Fix Regex Pattern for Find Command to Match UUID Filenames
- Task: Recall Arguments from Previous Bash Command
- Task: Pretty-Print CSV File from Command Line
- Task: Demonstrate Standard Linux Exit Status Codes
- Task: Investigate Windows Container Compatibility on Linux and Implement a Cross-Platform Solution
- Task: Change the Default Shell in Linux
- Task: Remove Specific iptables Rules Without Flushing All Rules
- Task: Get the Precise Start Time of a Long-Running Linux Process
- Task: Output Colored Text to a Linux Terminal
- Task: Generate Correct SHA-256 Hash from Linux Command Line
- Task: Use Python subprocess with Pipes
- Task: Demonstrate Understanding of $@ in Shell Scripts
- Task: Demonstrate Linux Library Types - Static, Shared, and Dynamic Loading
- Task: Implement the Fastest File Comparison Method in Unix/Linux
- Task: Extract Only File Names from Find Command Output
- Task: Suppress Binary File Matching Results in Grep
- Task: Investigate the Purpose and Meaning of the /opt Directory in Linux
- Task: Check if a File is Empty in Bash
- Task: Extract Last Directory Name from File Path in Bash
- Task: Configure Default Include Path for GCC in Linux
- Task: Replace Spaces in File and Directory Names with Underscores
- Task: Execute Multiple Linux Commands in One Line
- Task: List Package Contents Using YUM Package Manager
- Task: List Filenames One Per Line in Linux
- Task: List All Available Commands and Aliases in Linux
- Task: Find All Distinct File Extensions in a Folder Hierarchy
- Task: Update a Python Package by Uninstalling Old Version and Installing New Version
- Task: Install and Configure Tkinter for Python
- Task: Fix Docker "exec format error" for Shell Script Entrypoint
- Task: Highlight Text Pattern While Displaying All Lines
- Task: Discover All Active IP Addresses in a Local Network
- Task: Analyze Operating System Programming Languages
- Task: Retrieve Last 100 Lines from a Log File
- Task: Sort a File In-Place
- Task: Configure a Crontab Job to Run Every Week on Sunday
- Task: Recursively Download a Folder via FTP on Linux
- Task: Create a Zip File Without Directory Structure
- Task: Compare Two Directories and Output Only Different Filenames
- Task: Get Most Recent File in a Directory
- Task: Create a Cross-Platform In-Place Sed Solution
- Task: Shell Variable Quoting Best Practices
- Task: Understanding stdin, stdout, and stderr in Linux
- Task: Get Linux Console Window Width in Python
- Task: Invert a Grep Expression to Exclude Specific File Extensions
- Task: Find and Replace Text in Directory and Subdirectories Using sed
- Task: List Running Screen Sessions
- Task: Bash Script Syntax Checking Without Execution
- Task: Write a Bash Script to Restart a Process if it Dies
- Task: Fix Hadoop Native Library Loading Warning
- Task: Using Pipe in Linux find -exec Command
- Task: Implement goto-like Functionality in Bash
- Task: Fix Shell Script to Exit on Command Failure
- Task: Normalize File Paths in Bash
- Task: Prevent Background Processes from Being Stopped After SSH Disconnection
- Task: Analyze Shared Library Usage Across System Executables
- Task: Configure systemd Service to Redirect Output to Files
- Task: Understanding and Using strace for System Call Tracing
- Task: Check Operating System in Python
- Task: Investigate Maximum Thread Limits in Linux
- Task: Understanding errno Values in C/Linux
- Task: Search Contents of Multiple PDF Files
- Task: Preserve Line Breaks When Storing Command Output to a Variable
- Task: Define an Alias in Fish Shell
- Task: Multi-line Regex Search for SQL Files
- Task: Concatenate Multiple Lines of Output into One Line
- Task: Suppress Command Echo in Makefile
- Task: Find Files Existing in One Directory But Not in Others
- Task: Change Apache Server Document Root
- Task: Understanding CLOCK REALTIME vs CLOCK MONOTONIC in Linux
- Task: Redirect the Output of the time Command to a File in Linux
- Task: Find User Group Membership in Linux
- Task: Demonstrate Practical Differences Between C fopen/fdopen and open
- Task: Remove Folders with a Specific Name from Nested Directory Structure
- Task: Find Processes Using Swap Space in Linux
- Task: Fix "Unable to find remote helper for 'https'" Git Error
- Task: Implement a Bash Script Exit Mechanism That Stops Execution Without Closing the Terminal
- Task: Configure a Cron Job to Run Every 30 Minutes
- Linux Equivalent to DOS Pause Command
- Task: Execute Commands Without Keeping Them in Bash History
- Task: Find and Check Status of Unknown Service on Linux
- Task: Loop Over Directories in Linux
- Task: Cross-Platform Path Handling in Python
- Task: Configure Apache HTTP to HTTPS Automatic Redirection
- Task: Execute a Shell Function with find -exec in Linux
- Task: List All Users in a Linux Group
- Task: Sum All Numbers in a File
- Task: Grep a String in a Directory and All Its Subdirectories
- Task: Read Values into a Shell Variable from a Pipe in Bash
- Task: Append a Line to a File Only If It Doesn't Already Exist
- Task: Detect if a Process is Running Inside a Docker/LXC Container
- Task: Demonstrate brk() System Call Behavior and Memory Segment Layout
- Docker Command Can't Connect to Docker Daemon
- Task: Demonstrate fork(), vfork(), exec(), and clone() System Calls
- Task: Starting an Interactive Shell in Docker Alpine Container
- Task: Force Makefile to Rebuild Targets
- Task: Test a Weekly Cron Job Script
13,675 more tasks.