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": "Show me how to follow the rabbitmq journal but only show lines mentioning 'permission denied'."
},
{
"role": "assistant",
"content": "journalctl... | pipeline | journalctl | 09ec9fa777176cd4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "give me 20 vmstat readings spaced 5 seconds apart"
},
{
"role": "assistant",
"content": "vmstat 5 20"
}
] | single | vmstat | 430dc578aad375a1 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Wrap each line to width \"5\" and break the line at spaces (puts each space separated word in a new line, words with length > 5 are wrapped)."
},
{
"... | single | fold | 9a7ef0e5f5ab294e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "check the type of every file in uploads"
},
{
"role": "assistant",
"content": "file uploads/*"
}
] | single | file | 6c05ebb8adf5337f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show only the file name from a path."
},
{
"role": "assistant",
"content": "basename output.html"
}
] | single | basename | e9d82c04563c2a1f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fail fast if any of AWS_REGION, REDIS_URL, DB_PASS is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | env | 26ec66068230a829 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find the most recently modified file in build."
},
{
"role": "assistant",
"content": "ls -t build | head -n 1"
}
] | pipeline | ls | c703144432d77c6d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Change the owner group of a file/directory."
},
{
"role": "assistant",
"content": "chgrp sudo static"
}
] | single | chgrp | 82de4efc03328989 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Copy release.log into the media directory."
},
{
"role": "assistant",
"content": "cp release.log media/"
}
] | single | cp | 4708be2b8eb60259 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the systemd journal for the rabbitmq service."
},
{
"role": "assistant",
"content": "journalctl -u rabbitmq"
}
] | single | journalctl | 3837e26e9a603160 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the systemd journal for the rabbitmq service."
},
{
"role": "assistant",
"content": "journalctl --unit rabbitmq"
}
] | single | journalctl | 3837e26e9a603160 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List bob's active sessions with w."
},
{
"role": "assistant",
"content": "w bob"
}
] | single | w | c6518c2093b74dab |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find directories named dist anywhere under config."
},
{
"role": "assistant",
"content": "find config -type d -name 'dist'"
}
] | single | find | 71b50458406ec59e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find directories named dist anywhere under config."
},
{
"role": "assistant",
"content": "find config -name 'dist' -type d"
}
] | single | find | 71b50458406ec59e |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Back up all MySQL databases individually to /backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pip... | script | mysqldump | 7f1b188fef14dc9a |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Search for processes run by a specific [u]ser (effective UID)."
},
{
"role": "assistant",
"content": "pgrep -u backup php-fpm"
}
] | single | pgrep | 7e0a77db74198b60 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a script that dumps every PostgreSQL database into its own gzip file under /var/backups, keeping 14 days."
},
{
"role": "assistant",
"content":... | script | pg_dump | f5a96d26d8076d2a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Calculate and save the list of SHA256 checksums to a file."
},
{
"role": "assistant",
"content": "sha256sum debug.py > abc1234"
}
] | single | sha256sum | 8246e2b495710570 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Split a file in three parts, starting the latter parts in lines 7 and 23."
},
{
"role": "assistant",
"content": "csplit notes.txt 7 23"
}
] | single | csplit | 016a64e86d45b742 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print the tree ignoring the given directories."
},
{
"role": "assistant",
"content": "tree -I 'images'"
}
] | single | tree | 83cff5fb24fd2aee |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a script that loops over every .gif file in backups and makes a .bak copy of each file."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo ... | script | cp | 026c9ffbc049caea |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find empty files in /var/www."
},
{
"role": "assistant",
"content": "find /var/www -type f -empty"
}
] | single | find | c71bd40f3d5687c8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find empty files in /var/www."
},
{
"role": "assistant",
"content": "find /var/www -empty -type f"
}
] | single | find | c71bd40f3d5687c8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Read nodes.txt and for each host, report UP/DOWN based on whether it pings each host once."
},
{
"role": "assistant",
"content": "#!/usr/bin/env... | script | ping | abab074e4173cb5d |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "change permissions to 644 on all files under tests"
},
{
"role": "assistant",
"content": "find tests -type f -print0 | xargs -0 chmod 644"
}
] | pipeline | find | 773f787d7d932557 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "strip leading whitespace from every line of export.yaml and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' export.ya... | pipeline | sed | 8923deced5ff39a5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Send SIGUSR1 signal to processes which match."
},
{
"role": "assistant",
"content": "pkill -USR1 \"php-fpm\""
}
] | single | pkill | c8f95fdc077f1597 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write me a script that accepts --output (-o), --tag (-t) and --count (-c) via getopts, with a usage message."
},
{
"role": "assistant",
"content"... | script | getopts | 46a83473eb63d6a2 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Is the sshd service currently active?"
},
{
"role": "assistant",
"content": "systemctl is-active sshd"
}
] | single | systemctl | 38eaf14622e93c69 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Count how many files are in include."
},
{
"role": "assistant",
"content": "ls -1 include | wc -l"
}
] | pipeline | ls | 572966e84f3db0f1 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 3001."
},
{
"role": "assistant",
"content": "pstree -s 3001"
}
] | single | pstree | db5f5599aa37894e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Include hidden files and entries listed in `.gitignore`."
},
{
"role": "assistant",
"content": "rg product.png --no-ignore overflow"
}
] | single | rg | 1087fe99f8c9ee93 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the parent chain leading to PID 7805."
},
{
"role": "assistant",
"content": "pstree -s 7805"
}
] | single | pstree | 7484f19a619a6e87 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need to tally how many times each log level appears in access.log."
},
{
"role": "assistant",
"content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' access.log | sort | u... | pipeline | grep | 2a396245391c64ef |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Count how often each column-1 value appears in orders.tsv; show the 25 most common."
},
{
"role": "assistant",
"content": "awk '{print $1}' orde... | pipeline | awk | 1c84f46f764b539c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Follow the rabbitmq journal but only show lines mentioning '502'."
},
{
"role": "assistant",
"content": "journalctl -u rabbitmq -f | grep --line-buffered -i '502'"
... | pipeline | journalctl | e1d0e4c3f8efeb18 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Follow the rabbitmq journal but only show lines mentioning '502'."
},
{
"role": "assistant",
"content": "journalctl --unit rabbitmq -f | grep --line-b... | pipeline | journalctl | e1d0e4c3f8efeb18 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "In transactions.csv, which 20 values of column 5 occur most often?"
},
{
"role": "assistant",
"content": "awk '{print $5}' transactions.csv | sort | u... | pipeline | awk | da6fe99e47b9c15e |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a subgroup."
},
{
"role": "assistant",
"content": "mkdir /sys/fs/cgroup/operators/admin/users"
}
] | single | mkdir | 84673ec92a02d9e6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 5 largest subdirectories of project?"
},
{
"role": "assistant",
"content": "du -h project/* 2>/dev/null | sort -rh | head -n 5"
}... | pipeline | du | abed2057abaed956 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "What are the 5 largest subdirectories of project?"
},
{
"role": "assistant",
"content": "du --human-readable project/* 2>/dev/null | sort -rh | h... | pipeline | du | abed2057abaed956 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Write a script that checks whether sshd is running and starts it if not."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nproc=sshd\nif pgrep -x \"$proc\" >/dev/null... | script | if | ed0517434a1a6616 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "replace tabs with commas in output.csv and write to output.csv.csv"
},
{
"role": "assistant",
"content": "sed 's/\\t/,/g' output.csv > output.cs... | pipeline | sed | d0d6abcbdf732213 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in gc.log mention 'throttled'?"
},
{
"role": "assistant",
"content": "grep -c 'throttled' gc.log | cat"
}
] | pipeline | grep | 2ef623187227baf1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "send a GET request to https://api.service.io/api and show the response headers"
},
{
"role": "assistant",
"content": "curl -I https://api.service.io/a... | single | curl | 21a5b0086aa00cdb |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "send a GET request to https://api.service.io/api and show the response headers"
},
{
"role": "assistant",
"content": "curl --head https://api.service.io/api"
}
] | single | curl | 21a5b0086aa00cdb |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need to count 'warning:' occurrences in the mongod journal today."
},
{
"role": "assistant",
"content": "journalctl -u mongod --since today --no-pager | grep -c 'warning:'"
}
] | pipeline | journalctl | e2d9f9f1912a8b21 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Alternatively, add feeds manually."
},
{
"role": "assistant",
"content": "echo release.bak >> \"${HOME}/.newsboat/urls\""
}
] | single | echo | 231d184095b110ba |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Write a backup script that gzip-compresses /mnt/storage into a timestamped tarball under /var/backups and keeps only the 3 newest."
},
{
"role": "as... | script | tar | 0e98437316a1b32c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "E[x]tract files matching a pattern from an archive [f]ile."
},
{
"role": "assistant",
"content": "tar xf sales.txt --wildcards \"test.js\""
}
] | single | tar | c13f3cc6292ab870 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Start a [l]istener on the specified TCP [p]ort and send a file into it."
},
{
"role": "assistant",
"content": "nc < debug.md -l -p 25"
}
] | single | nc | 42e0d3adc9754194 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the most recently modified file in /data/uploads."
},
{
"role": "assistant",
"content": "ls -t /data/uploads | head -n 1"
}
] | pipeline | ls | 825c0599cee1b108 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List the PIDs of elasticsearch sorted by memory use."
},
{
"role": "assistant",
"content": "ps -C elasticsearch -o pid=,rss= --sort=-rss"
}
] | pipeline | ps | 07aef2b191abef7b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in artifacts."
},
{
"role": "assistant",
"content": "du -h artifacts/* | sort -rh | head -n 10"
}
] | pipeline | du | e03affc7dd31a212 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show the 10 largest subdirectories in artifacts."
},
{
"role": "assistant",
"content": "du --human-readable artifacts/* | sort -rh | head -n 10"
}
] | pipeline | du | e03affc7dd31a212 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Parse command-line flags -n (name), -o (output) and -p (port) using getopts and validate that -n is provided."
},
{
"role": "assistant",
"content": "#... | script | getopts | a4ace6d3c5869030 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Download https://db01.example.org/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl -O https://db01.example.... | single | curl | b5e0e0283daf57f8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Download https://db01.example.org/file.zip and save it with its remote name."
},
{
"role": "assistant",
"content": "curl --remote-name https://d... | single | curl | b5e0e0283daf57f8 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fail fast if any of PORT, AWS_REGION, API_KEY is unset — write it as a bash guard."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nse... | script | env | 53b62268f1b7c2d6 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List all files in /var/lib/mysql, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -la /var/lib/mysql"
}
] | single | ls | 8101c22c97b19396 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "List all files in /var/lib/mysql, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -al /var/lib/mysql"
}
] | single | ls | 8101c22c97b19396 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all files in /var/lib/mysql, including hidden ones, in long format."
},
{
"role": "assistant",
"content": "ls -l -a /var/lib/mysql"
}
] | single | ls | 8101c22c97b19396 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Poll memory in MB every 3s, 3 times."
},
{
"role": "assistant",
"content": "free -m -s 3 -c 3"
}
] | single | free | 96183f9a5bf248b0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show all TCP sockets touching port 2379."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :2379 or dport = :2379'"
}
] | single | ss | 6642cae50d17ab4d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "enable containerd to start on boot"
},
{
"role": "assistant",
"content": "sudo systemctl enable containerd"
}
] | single | systemctl | f20b1aafd73fc9d3 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Find the 10 most common 'segfault'-related lines in build.log."
},
{
"role": "assistant",
"content": "grep 'segfault' build.log | sort | uniq -c ... | pipeline | grep | e4bbec943e6e2dd4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'segfault'-related lines in build.log."
},
{
"role": "assistant",
"content": "grep 'segfault' build.log | sort | uniq --count | sort -nr | head -n 10"
}
] | pipeline | grep | e4bbec943e6e2dd4 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "[c]reate an archive and write it to a [f]ile."
},
{
"role": "assistant",
"content": "tar cf output.yaml credentials.bak"
}
] | single | tar | e06715bc42e09016 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "What are the 5 largest subdirectories of cache?"
},
{
"role": "assistant",
"content": "du -h cache/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | c80d33248d6c2fee |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the 5 largest subdirectories of cache?"
},
{
"role": "assistant",
"content": "du --human-readable cache/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | c80d33248d6c2fee |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show TCP connections involving proxy.local."
},
{
"role": "assistant",
"content": "netstat -tn | grep proxy.local"
}
] | single | netstat | 6c8f04ccd7d96b8c |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "remove wget and its config files"
},
{
"role": "assistant",
"content": "sudo apt purge -y wget"
}
] | single | apt | c84e2b851398c502 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "In users.csv, which 5 values of column 4 occur most often?"
},
{
"role": "assistant",
"content": "awk '{print $4}' users.csv | sort | uniq -c | sort -... | pipeline | awk | f828b86a29cc49d6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print files and directories up to `num` levels of depth (where 1 means the current directory)."
},
{
"role": "assistant",
"content": "tree -L 2"
... | single | tree | d923efa323eca43f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show all TCP sockets touching port 8080."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :8080 or dport = :8080'"
}
] | single | ss | 4884b7e5e0080f1f |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the disk usage of fixtures broken down one level deep."
},
{
"role": "assistant",
"content": "du -h --max-depth=1 fixtures 2>/dev/null | sort -rh"
}
] | pipeline | du | c79ccc1b69ce998e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "List the disk usage of fixtures broken down one level deep."
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 fixtures 2>/dev/null | sort -rh"
}
] | pipeline | du | c79ccc1b69ce998e |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Filter netstat for connections to or from web01.internal."
},
{
"role": "assistant",
"content": "netstat -tn | grep web01.internal"
}
] | single | netstat | b7467bd642def095 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display file using default settings: octal format, 8 bytes per line, byte offsets in octal, and duplicate lines replaced with `*`."
},
{
"role": "ass... | single | od | a3f35bbf9c0d7929 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print server.log starting from line 200 to the end."
},
{
"role": "assistant",
"content": "tail -n +200 server.log"
}
] | single | tail | d33ff39c78ee8156 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Print server.log starting from line 200 to the end."
},
{
"role": "assistant",
"content": "tail --lines +200 server.log"
}
] | single | tail | d33ff39c78ee8156 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find directories named uploads anywhere under /srv/www."
},
{
"role": "assistant",
"content": "find /srv/www -type d -name 'uploads'"
}
] | single | find | a2c46f1b448f15c9 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find directories named uploads anywhere under /srv/www."
},
{
"role": "assistant",
"content": "find /srv/www -name 'uploads' -type d"
}
] | single | find | a2c46f1b448f15c9 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Verbose - no suppression by `*` on duplicate lines."
},
{
"role": "assistant",
"content": "hexdump -v payment.log"
}
] | single | hexdump | 0b7c29d3cdf0edd8 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "strip leading whitespace from every line of users.ini and save to clean.txt"
},
{
"role": "assistant",
"content": "sed 's/^[[:space:]]*//' users... | pipeline | sed | b6fb4a8f7eb7d4b4 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "List connections using port 15672 as source or destination."
},
{
"role": "assistant",
"content": "ss -tn 'sport = :15672 or dport = :15672'"
}... | single | ss | 9afb0ab363633fee |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List the 5 largest subdirectories of logs."
},
{
"role": "assistant",
"content": "du -h logs/* 2>/dev/null | sort -rh | head -n 5"
}
] | pipeline | du | 583affa6ac077fd8 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'denied'-related lines in audit.log."
},
{
"role": "assistant",
"content": "grep 'denied' audit.log | sort | uniq -c | sort -nr | head -n 10"
}
] | pipeline | grep | cfffe38399626c25 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the 10 most common 'denied'-related lines in audit.log."
},
{
"role": "assistant",
"content": "grep 'denied' audit.log | sort | uniq --count | sort -nr | head -n 10"
}
] | pipeline | grep | cfffe38399626c25 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "How many lines in cron.log mention '404'?"
},
{
"role": "assistant",
"content": "grep -c '404' cron.log | cat"
}
] | pipeline | grep | a0135511f5974e62 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Print system architecture and processor information."
},
{
"role": "assistant",
"content": "uname vim"
}
] | single | uname | cf26fc2bc766a41a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print column 2 of the comma-separated file data.csv."
},
{
"role": "assistant",
"content": "awk -F, '{print $2}' data.csv"
}
] | single | awk | 343ba0e6b623c30f |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Query for ANY available records using TCP protocol."
},
{
"role": "assistant",
"content": "nslookup -vc -type=ANY auth.sh"
}
] | single | nslookup | c62569bf9e64ef1b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "What are the disk usage of build broken down one level deep?"
},
{
"role": "assistant",
"content": "du -h --max-depth=1 build 2>/dev/null | sort -rh"
... | pipeline | du | 18f119c689a5dd29 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "What are the disk usage of build broken down one level deep?"
},
{
"role": "assistant",
"content": "du --human-readable --max-depth=1 build 2>/dev/null | sort -rh"
... | pipeline | du | 18f119c689a5dd29 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Find empty files in tmp."
},
{
"role": "assistant",
"content": "find tmp -type f -empty"
}
] | single | find | e6d27c8e4543fa47 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find empty files in tmp."
},
{
"role": "assistant",
"content": "find tmp -empty -type f"
}
] | single | find | e6d27c8e4543fa47 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a Bash script that deletes .bak files older than 14 days from /tmp and logs what it removed."
},
{
"role": "assistant",
"content": "#!/usr/... | script | find | ac1f6f74ddc738d9 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Benchmark the most common algorithms."
},
{
"role": "assistant",
"content": "openssl speed abc1234"
}
] | single | openssl | 024a8f4d90e3479d |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "search all .pdf files under assets for the word TODO"
},
{
"role": "assistant",
"content": "find assets -name '*.pdf' -print0 | xargs -0 grep -l ... | pipeline | find | 364d5b7ec505625d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.