messages listlengths 3 3 | category stringclasses 3
values | utility stringclasses 182
values | variant_group stringlengths 16 16 |
|---|---|---|---|
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Produce three tab-separated columns: lines only in first file, lines only in second file, and common lines."
},
{
"role": "assistant",
"content"... | single | comm | 04642261a6f857b2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Generate a key interactively."
},
{
"role": "assistant",
"content": "ssh-keygen"
}
] | single | ssh-keygen | bce4415f2e66e956 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the biggest files under media."
},
{
"role": "assistant",
"content": "du -ah media | sort -rh | head -n 20"
}
] | pipeline | du | 46349217018743a1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in src larger than +50M."
},
{
"role": "assistant",
"content": "find src -type f -size +50M"
}
] | single | find | d7dfce24d81c5cfe |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in src larger than +50M."
},
{
"role": "assistant",
"content": "find src -size +50M -type f"
}
] | single | find | d7dfce24d81c5cfe |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in auth.log mention 'expired'?"
},
{
"role": "assistant",
"content": "grep -c 'expired' auth.log | cat"
}
] | pipeline | grep | 84b435b3feebe57c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Change the owner group of a file/directory."
},
{
"role": "assistant",
"content": "chgrp deploy artifacts"
}
] | single | chgrp | a22bcfe1b1604c73 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Remove e[x]ecutable rights from the [g]roup."
},
{
"role": "assistant",
"content": "chmod g-x customer.xml"
}
] | single | chmod | fd292c97cc456a75 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch JSON from https://cdn.service.io/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://cdn.service.... | pipeline | curl | 1c8fc7fced2a3d50 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch JSON from https://cdn.service.io/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://cdn.se... | pipeline | curl | 1c8fc7fced2a3d50 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Bump process 8152 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 8152"
}
] | single | renice | bbb9b9e4796ad501 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Process all .bak files under /data/uploads with optipng using 2 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash... | script | xargs | b474ab3207903b09 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Background 'dd if=/dev/zero of=test.img bs=1M count=1024' at nice level 1."
},
{
"role": "assistant",
"content": "nice -n 1 dd if=/dev/zero of=t... | single | nice | cc9dd4ee3742f2a9 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the disk usage of lib broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 lib 2>/dev/null | sort -rh"... | pipeline | du | d502b65617541d9a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the disk usage of lib broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 lib 2>/dev/null | sort -rh"
}
... | pipeline | du | d502b65617541d9a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Can you write a script that deletes .old files older than 3 days from cache and logs what it removed?"
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=cache\n... | script | find | e1a81255e2097a1d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the processes that have a given file open."
},
{
"role": "assistant",
"content": "lsof transaction.bak"
}
] | single | lsof | 76570ea337a05ba2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many lines in scheduler.log mention 'corrupt'?"
},
{
"role": "assistant",
"content": "grep -c 'corrupt' scheduler.log | cat"
}
] | pipeline | grep | 7efddabce4116400 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "How many lines in scheduler.log mention 'corrupt'?"
},
{
"role": "assistant",
"content": "grep --count 'corrupt' scheduler.log | cat"
}
] | pipeline | grep | 7efddabce4116400 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Save errors to error.log and normal output to out.log separately."
},
{
"role": "assistant",
"content": "./run.sh > out.log 2> error.log"
}
] | pipeline | redirection | 0e0a3fa88d64c299 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count total lines across all .xml files in data."
},
{
"role": "assistant",
"content": "find data -type f -name '*.xml' -print0 | xargs -0 cat | wc -l... | pipeline | find | 96a0fea9f95284b5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the listener on port 3000."
},
{
"role": "assistant",
"content": "ss -tlnp sport = :3000"
}
] | single | ss | 7b3d626e722966bf |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'TODO'-related lines in metrics.log."
},
{
"role": "assistant",
"content": "grep 'TODO' metrics.log | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep | c0bca765854eac7b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a health-check loop over nodes.txt that curls the /health endpoint and prints the status of each."
},
{
"role": "assistant",
"content": "#... | script | curl | c38f6cd5827315d5 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "I want to find the 10 processes with the most open files."
},
{
"role": "assistant",
"content": "lsof 2>/dev/null | awk '{print $1}' | sort | uni... | pipeline | lsof | f938cbe21cf45302 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display the most recent login of all users."
},
{
"role": "assistant",
"content": "lastlog"
}
] | single | lastlog | 4568b0194d05fbfc |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Make a backup copy of notes.txt called notes.txt.bak"
},
{
"role": "assistant",
"content": "cp notes.txt notes.txt.bak"
}
] | single | cp | 4723b5f6516f003d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find files in lib owned by deploy."
},
{
"role": "assistant",
"content": "find lib -type f -user deploy"
}
] | single | find | 4153ac29f9225c76 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find files in lib owned by deploy."
},
{
"role": "assistant",
"content": "find lib -user deploy -type f"
}
] | single | find | 4153ac29f9225c76 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Count how often each column-9 value appears in dmesg.log; show the 10 most common."
},
{
"role": "assistant",
"content": "cut -d, -f9 dmesg.log | sort | uniq -c | s... | pipeline | cut | 3db9780685031cdf |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "In gc.log, which 5 values of column 5 occur most often?"
},
{
"role": "assistant",
"content": "awk '{print $5}' gc.log | sort | uniq -c | sort -nr | head -n 5"
}
] | pipeline | awk | 20e1536d1923bcf4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Send SIGUSR1 signal to processes which match."
},
{
"role": "assistant",
"content": "pkill -USR1 \"python3\""
}
] | single | pkill | 3f5120dd0654500b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch JSON from https://app01.service.io/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://app01.serv... | pipeline | curl | 4c8900f5915acb43 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://localhost/api/users"
},
{
"role": "assistant",
"content": "curl -s https://localhost/api/users | jq -r '.[].name'"
}
] | pipeline | curl | 8d758b00a8601c2b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "extract all the 'name' fields from https://localhost/api/users"
},
{
"role": "assistant",
"content": "curl --silent https://localhost/api/users | jq -... | pipeline | curl | 8d758b00a8601c2b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I need a rotating backup: archive /opt/app into /mnt/backup with bzip2, retain 14 copies."
},
{
"role": "assistant",
"content": "#!/usr/bin/env ... | script | tar | 04ec7e43672e65e0 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Fail fast if any of DB_PASS, AWS_REGION, API_KEY is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\... | script | env | e3f31f419e53eb03 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Lower the priority of process 4161 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 4161"
}
] | single | renice | 36ffefbd3c9ce9d7 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show me the 10 largest subdirectories of vendor."
},
{
"role": "assistant",
"content": "du -h vendor/* 2>/dev/null | sort -rh | head -n 10"
}
] | pipeline | du | a57d25d66edbfad4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show me the 10 largest subdirectories of vendor."
},
{
"role": "assistant",
"content": "du --human-readable vendor/* 2>/dev/null | sort -rh | head -n ... | pipeline | du | a57d25d66edbfad4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the lib directory."
},
{
"role": "assistant",
"content": "tar -czf lib.tar.gz lib"
}
] | single | tar | 7ae9945382d81c8b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the lib directory."
},
{
"role": "assistant",
"content": "tar czf lib.tar.gz lib"
}
] | single | tar | 7ae9945382d81c8b |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the lib directory."
},
{
"role": "assistant",
"content": "tar -zcf lib.tar.gz lib"
}
] | single | tar | 7ae9945382d81c8b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print lines only found in second file, when the files aren't sorted."
},
{
"role": "assistant",
"content": "comm -13 <(sort payment.sh) <(sort su... | single | comm | 40f10aa3fb497f83 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from index.md."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.md | so... | pipeline | sed | 26157a4a9e4a7c44 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from index.md."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.md | sort -u"
}
] | pipeline | sed | 26157a4a9e4a7c44 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from index.md."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.md | ... | pipeline | sed | 26157a4a9e4a7c44 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /data/uploads."
},
{
"role": "assistant",
"content": "du -h /data/uploads/* | sort -rh | head -n 10"
}
] | pipeline | du | 683f706ebe27df0c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in /data/uploads."
},
{
"role": "assistant",
"content": "du --human-readable /data/uploads/* | sort -rh | head -n 1... | pipeline | du | 683f706ebe27df0c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Run 'gzip huge.log' at higher priority (nice -10); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -10 gzip huge.log"
}
] | single | nice | 809e43a2e93ee9c0 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "replace tabs with commas in transaction.txt and write to transaction.txt.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' transaction.txt > transaction.txt.csv"
}
] | pipeline | sed | 44351d51bf6dce04 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "download https://proxy.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl -s https://proxy.example.org/list.txt | wc... | pipeline | curl | a443d1ef3e65b757 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "download https://proxy.example.org/list.txt and count the lines"
},
{
"role": "assistant",
"content": "curl --silent https://proxy.example.org/li... | pipeline | curl | a443d1ef3e65b757 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me how to count 'corrupt' occurrences in the ssh journal today."
},
{
"role": "assistant",
"content": "journalctl -u ssh --since today --no-pager | grep -c 'co... | pipeline | journalctl | 7d7cbcd68faa6c7e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Read catalog.conf, then strip trailing whitespace — as a pipeline."
},
{
"role": "assistant",
"content": "cat catalog.conf | sed 's/[[:space:]]*$... | pipeline | sed | 613ac1fbb3d59f32 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 1738 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 1738"
}
] | single | renice | 293b641593778539 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show CPU and disk I/O statistics every 2 seconds."
},
{
"role": "assistant",
"content": "iostat 2"
}
] | single | iostat | 44789efe5509a305 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me how to count 'fatal' occurrences in the memcached journal today."
},
{
"role": "assistant",
"content": "journalctl -u memcached --since ... | pipeline | journalctl | edcb439b5c65881a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me how to count 'fatal' occurrences in the memcached journal today."
},
{
"role": "assistant",
"content": "journalctl --unit memcached --since today --no-pager... | pipeline | journalctl | edcb439b5c65881a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "POST a JSON body to https://db01.internal/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json' -d '{\"nam... | single | curl | 2a0be3877d298d36 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "POST a JSON body to https://db01.internal/api/users"
},
{
"role": "assistant",
"content": "curl --request POST -H 'Content-Type: application/json' -d '{\"name\":\"alice\"}' https://db01.internal/... | single | curl | 2a0be3877d298d36 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Convert blanks in each file to tabs, writing to `stdout`."
},
{
"role": "assistant",
"content": "unexpand payload.conf"
}
] | single | unexpand | d7ea929434a17105 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Get the bare PID that holds port 5672."
},
{
"role": "assistant",
"content": "lsof -i :5672 -t"
}
] | single | lsof | c682843f9e503eb1 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Follow live logs for containerd."
},
{
"role": "assistant",
"content": "journalctl -u containerd -f"
}
] | single | journalctl | e72052595dd2a239 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Use a specific port when connecting to the remote host."
},
{
"role": "assistant",
"content": "scp -P 22 data.py cdn.example.org:notes.log"
}
... | single | scp | ddf6b4dc4ead333c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find files by extension."
},
{
"role": "assistant",
"content": "find bin -name 'response.sql'"
}
] | single | find | 7d7be3fbe995e647 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fail fast if any of DB_HOST, ENV, AWS_REGION is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var in DB_HOST ENV AWS_REGION;... | script | env | 8667716a2a111fca |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the process tree for user operator."
},
{
"role": "assistant",
"content": "pstree operator"
}
] | single | pstree | a5d112ef63746538 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "print the total and count of column 3 in access.log"
},
{
"role": "assistant",
"content": "awk '{sum+=$3; c++} END{print sum, c}' access.log"
}
] | pipeline | awk | 3df498028f9151e2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Remove all decorations except line numbers in the output."
},
{
"role": "assistant",
"content": "bat 50 changelog.png"
}
] | single | bat | bbec7b222eac1f58 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Try to restart nginx, and if that fails, print an error."
},
{
"role": "assistant",
"content": "sudo systemctl restart nginx || echo 'nginx restart failed' >&2"
}
] | pipeline | chain | f13cb424e689429d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "send SIGHUP to process 3262 to make it reload its config"
},
{
"role": "assistant",
"content": "kill -HUP 3262"
}
] | single | kill | 5984dd354a3033a7 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "send SIGHUP to process 3262 to make it reload its config"
},
{
"role": "assistant",
"content": "kill -1 3262"
}
] | single | kill | 5984dd354a3033a7 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "send SIGHUP to process 3262 to make it reload its config"
},
{
"role": "assistant",
"content": "kill -s HUP 3262"
}
] | single | kill | 5984dd354a3033a7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "For every immediate subdirectory of /data/uploads, show how much disk it uses."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pi... | script | for | e0442af233da9479 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "[c]reate an archive and write it to a [f]ile."
},
{
"role": "assistant",
"content": "tar cf catalog.gz changelog.tmp"
}
] | single | tar | 59feb2c216735bd6 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Count how many redis-server processes are running."
},
{
"role": "assistant",
"content": "pgrep -c redis-server"
}
] | pipeline | pgrep | 4163d75606514ca8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Given account.csv, count the lines."
},
{
"role": "assistant",
"content": "cat account.csv | wc -l"
}
] | pipeline | wc | a5e9e21f287663f8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Given account.csv, count the lines."
},
{
"role": "assistant",
"content": "wc -l < account.csv"
}
] | pipeline | wc | a5e9e21f287663f8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Create the bin directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir -p bin && cd bin"
}
] | pipeline | chain | ba4173c0a054c9bd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create the bin directory if needed and then cd into it."
},
{
"role": "assistant",
"content": "mkdir --parents bin && cd bin"
}
] | pipeline | chain | ba4173c0a054c9bd |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Background 'python train.py' at nice level 19."
},
{
"role": "assistant",
"content": "nice -n 19 python train.py &"
}
] | single | nice | c92f60a19eae019f |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Unmount a filesystem, by passing the path to the source it is mounted from."
},
{
"role": "assistant",
"content": "umount notes.xml"
}
] | single | umount | c87c1ef5e89003e7 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Add a timestamp column to vmstat, 2s interval, 10 rounds."
},
{
"role": "assistant",
"content": "vmstat -t 2 10"
}
] | single | vmstat | b123adf43c5d9b8b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Loop through the .old files in logs and makes each file read-only — write it as a proper script."
},
{
"role": "assistant",
"content": "#!/usr/b... | script | chmod | e0fa49a82bb5842d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find files only in the current directory."
},
{
"role": "assistant",
"content": "fd \"unreachable\" 20 1"
}
] | single | fd | e80703b8df340f8c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display a 32-bit checksum, size in bytes and filename."
},
{
"role": "assistant",
"content": "cksum request.tmp"
}
] | single | cksum | 0e5999a3dbd7d513 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Force-kill every process whose name matches systemd."
},
{
"role": "assistant",
"content": "pkill -9 systemd"
}
] | single | pkill | b318a9fada93d72d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Force-kill every process whose name matches systemd."
},
{
"role": "assistant",
"content": "pkill --signal 9 systemd"
}
] | single | pkill | b318a9fada93d72d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Force-kill every process whose name matches systemd."
},
{
"role": "assistant",
"content": "pkill -KILL systemd"
}
] | single | pkill | b318a9fada93d72d |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://db01.example.com/api/items"
},
{
"role": "assistant",
"content": "curl -s https://db01.example.co... | pipeline | curl | 2c12e1f06a909529 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "get the number of items in the JSON array at https://db01.example.com/api/items"
},
{
"role": "assistant",
"content": "curl --silent https://db01.exam... | pipeline | curl | 2c12e1f06a909529 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write output of specified file to the specified host on the specified port."
},
{
"role": "assistant",
"content": "ncat < migration.pdf auth.internal ... | single | ncat | 9242f11d42fe4d88 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 4846 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 4846"
}
] | single | renice | eeca4c4a7789b392 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Given invoice.ini, count each unique line, most common first."
},
{
"role": "assistant",
"content": "cat invoice.ini | sort | uniq -c | sort -nr"
}
] | pipeline | uniq | ff17a5ede25e380d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "count requests per HTTP status code in data.csv"
},
{
"role": "assistant",
"content": "awk '{print $9}' data.csv | sort | uniq -c | sort -nr"
}
] | pipeline | awk | 955c84b76b32b3aa |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Connect to a remote server."
},
{
"role": "assistant",
"content": "ssh carol@github.io"
}
] | single | ssh | b8253cb1083d98de |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display alice's processes as a tree."
},
{
"role": "assistant",
"content": "pstree alice"
}
] | single | pstree | 8608167a610e1530 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract files/directories from archives to a specific path."
},
{
"role": "assistant",
"content": "unzip registry.internal -d order.pdf"
}
] | single | unzip | 044eefbd6d1b5027 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a script that deletes .bak files older than 5 days from /var/log and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | find | a9845ef93a1226a7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.