messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List the 10 largest subdirectories of tmp." }, { "role": "assistant", "content": "du --human-readable tmp/* 2>/dev/null | sort -rh | head -n 10" } ]
pipeline
du
c702c25d6925565c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find any dmesg lines mentioning cpu." }, { "role": "assistant", "content": "dmesg -T | grep -i cpu" } ]
single
dmesg
a876a6f60d3a2a35
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Start a new part at every 5th line, ignoring exact-division error." }, { "role": "assistant", "content": "csplit manifest.json migration.html 5 {...
single
csplit
860b5439c1b91072
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'SIGTERM'-related lines in audit.log." }, { "role": "assistant", "content": "grep 'SIGTERM' audit.log | sort | uniq -c | sort -nr | head -n ...
pipeline
grep
144eebec6ebbcd4e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the 10 largest subdirectories in src." }, { "role": "assistant", "content": "du -h src/* | sort -rh | head -n 10" } ]
pipeline
du
ab6b664c2bed43b7
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "extract backup.tar.gz into the images folder" }, { "role": "assistant", "content": "tar -xzf backup.tar.gz -C images" } ]
single
tar
96bab4e77f634b08
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract backup.tar.gz into the images folder" }, { "role": "assistant", "content": "tar xzf backup.tar.gz -C images" } ]
single
tar
96bab4e77f634b08
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "extract backup.tar.gz into the images folder" }, { "role": "assistant", "content": "tar -zxf backup.tar.gz -C images" } ]
single
tar
96bab4e77f634b08
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Run the backup script, sending stdout and stderr to mail.log." }, { "role": "assistant", "content": "./backup.sh > mail.log 2>&1" } ]
pipeline
redirection
1121efceb754ce6b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a script that iterates over backups/*.js and removes each matching file." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset...
script
rm
6775326004a95fb8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the last 20 lines containing 'not found' in gc.log." }, { "role": "assistant", "content": "grep 'not found' gc.log | tail -n 20" } ]
pipeline
grep
473d506b7596749e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from account.ini." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' account.ini | sort -u" } ]
pipeline
sed
2b54fb3ec382636c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Extract just the email addresses from account.ini." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' account.ini | so...
pipeline
sed
2b54fb3ec382636c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from account.ini." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' account.ini | sort -u" } ]
pipeline
sed
2b54fb3ec382636c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list only the .conf files in /var/lib/mysql" }, { "role": "assistant", "content": "ls /var/lib/mysql | grep '\\.conf$'" } ]
pipeline
ls
216c527e20785e52
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the disk usage of images broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 images 2>/dev/null | sort -rh" } ]
pipeline
du
c26b5b125c34f2b1
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me the disk usage of images broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 images 2>/dev/nu...
pipeline
du
c26b5b125c34f2b1
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in nginx-access.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERRO...
pipeline
grep
027716bf5dca107c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in nginx-access.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR...
pipeline
grep
027716bf5dca107c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to tally how many times each log level appears in nginx-access.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ER...
pipeline
grep
027716bf5dca107c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Recursively make everything in tests readable and writable by the owner only." }, { "role": "assistant", "content": "chmod -R 600 tests" } ]
single
chmod
626de37d17c86914
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Recursively make everything in tests readable and writable by the owner only." }, { "role": "assistant", "content": "chmod --recursive 600 tests...
single
chmod
626de37d17c86914
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find files only in the current directory." }, { "role": "assistant", "content": "fd \"segfault\" 5 1" } ]
single
fd
bd8835a1c55a0fd7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the children of process 6640." }, { "role": "assistant", "content": "pstree -p 6640" } ]
single
pstree
b4d1f89ae1fc6f46
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display tomcat's processes as a tree." }, { "role": "assistant", "content": "pstree tomcat" } ]
single
pstree
af6e6a65186c1dd1
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list only the .log files in migrations" }, { "role": "assistant", "content": "ls migrations | grep '\\.log$'" } ]
pipeline
ls
5853ca4cf220ed28
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sample free 10 times at 2-second intervals in megabytes." }, { "role": "assistant", "content": "free -m -s 2 -c 10" } ]
single
free
9bc1a76604cfd897
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Background 'rsync -a /data /mnt/backup' at nice level 1." }, { "role": "assistant", "content": "nice -n 1 rsync -a /data /mnt/backup &" } ]
single
nice
c8445f105029595f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from changelog.csv." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' changelog...
pipeline
sed
8fb73f8f6b460652
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the unique sorted lines of error.log." }, { "role": "assistant", "content": "cat error.log | sort | uniq" } ]
pipeline
sort
b51fedd4bff69bee
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print a file from a specific line number." }, { "role": "assistant", "content": "tail 2 +3 output.sh" } ]
single
tail
64095a1cc22e52b8
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print an integer in bold blue." }, { "role": "assistant", "content": "printf \"invoice.conf\" 42" } ]
single
printf
0260a18f1e7301ff
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How many lines in server.log mention 'retry'?" }, { "role": "assistant", "content": "grep -c 'retry' server.log | cat" } ]
pipeline
grep
b7dbf3e1fc0310d9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find the 10 most common '404'-related lines in messages." }, { "role": "assistant", "content": "grep '404' messages | sort | uniq -c | sort -nr | head...
pipeline
grep
85894c6129a0c1e8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 most common '404'-related lines in messages." }, { "role": "assistant", "content": "grep '404' messages | sort | uniq --count | sort ...
pipeline
grep
85894c6129a0c1e8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create the lib directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir -p lib && cd lib" } ]
pipeline
chain
0f6265e30b30de33
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create the lib directory if needed and then cd into it." }, { "role": "assistant", "content": "mkdir --parents lib && cd lib" } ]
pipeline
chain
0f6265e30b30de33
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from schema.json." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' schema.json | sort -u" } ]
pipeline
sed
db981cbdcf6f5f9b
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from schema.json." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' schema.json | sort -u" } ]
pipeline
sed
db981cbdcf6f5f9b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from schema.json." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' schema.json | sort -u" } ]
pipeline
sed
db981cbdcf6f5f9b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Process all .txt files under /var/lib/app with gzip using 8 parallel workers via xargs." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nse...
script
xargs
cd24c0618806ab76
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Receive data through a named pipe." }, { "role": "assistant", "content": "cat auth.service.io" } ]
single
cat
ec6aa1cd9a7532a9
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Brace expand sequences." }, { "role": "assistant", "content": "echo invoice.conf} transaction.tmp}reports}" } ]
single
echo
fab4eb22bbb263f2
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a small script that refuses to run unless it's executed as root." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nif [ \"$(id -u)\" -ne 0 ]; then\n echo \"thi...
script
if
9ca36bbc8b5eedcc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display the ancestors of process 8999 as a tree." }, { "role": "assistant", "content": "pstree -s 8999" } ]
single
pstree
4269fc34dc39126d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "POST a JSON body to https://db02.local/api/users" }, { "role": "assistant", "content": "curl -X POST -H 'Content-Type: application/json' -d '{\"n...
single
curl
04dca896b7d50e9d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "POST a JSON body to https://db02.local/api/users" }, { "role": "assistant", "content": "curl --request POST -H 'Content-Type: application/json' -d '{\"name\":\"alice\"}' https://db02.local/api/us...
single
curl
04dca896b7d50e9d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Timestamped vmstat every 3s for 30 samples." }, { "role": "assistant", "content": "vmstat -t 3 30" } ]
single
vmstat
6b39bba43d5c9f90
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need per-database MySQL backups written to /data/backup and pruned after 7 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
mysqldump
c8d06c1df8ba68e2
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "search all .zip files under /var/lib/mysql for the word TODO" }, { "role": "assistant", "content": "find /var/lib/mysql -name '*.zip' -print0 | xargs -0 grep -l TOD...
pipeline
find
678c96c0579991bb
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I/O stats in MB/s every 2s for 20 samples." }, { "role": "assistant", "content": "iostat -m 2 20" } ]
single
iostat
52272cac49e33b6e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give a description of the type of the specified file." }, { "role": "assistant", "content": "file event.old" } ]
single
file
03ae17516fa89459
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show what user admin is currently doing." }, { "role": "assistant", "content": "w admin" } ]
single
w
f629ffce8f162194
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List all files in /home/deploy, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -la /home/deploy" } ]
single
ls
75329cdd28360336
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List all files in /home/deploy, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -al /home/deploy" } ]
single
ls
75329cdd28360336
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List all files in /home/deploy, including hidden ones, in long format." }, { "role": "assistant", "content": "ls -l -a /home/deploy" } ]
single
ls
75329cdd28360336
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Grep the kernel ring buffer for disk." }, { "role": "assistant", "content": "dmesg -T | grep -i disk" } ]
single
dmesg
8c5e6eab329ca1d6
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Copy a file from a remote host to a local directory." }, { "role": "assistant", "content": "scp web01.internal:product.txt downloads" } ]
single
scp
06fee99fd01f012e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to count 'FIXME' occurrences in the haproxy journal today." }, { "role": "assistant", "content": "journalctl -u haproxy --since today --no-pager | grep -c 'F...
pipeline
journalctl
0c611aa1d816eb8a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to count 'FIXME' occurrences in the haproxy journal today." }, { "role": "assistant", "content": "journalctl --unit haproxy --since today --no-...
pipeline
journalctl
0c611aa1d816eb8a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take users.txt and count the lines." }, { "role": "assistant", "content": "cat users.txt | wc -l" } ]
pipeline
wc
7c8f85dddfe30a8f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take users.txt and count the lines." }, { "role": "assistant", "content": "wc -l < users.txt" } ]
pipeline
wc
7c8f85dddfe30a8f
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Search for processes run by a specific [u]ser (effective UID)." }, { "role": "assistant", "content": "pgrep -u redis rabbitmq" } ]
single
pgrep
3d7496613b759543
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Sort a file in ascending order." }, { "role": "assistant", "content": "sort response.css" } ]
single
sort
078d05d88356a514
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from inventory.md." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' inventory.md | sort -u" } ]
pipeline
sed
1dd71f6b03dde578
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List nginx's activity, headerless." }, { "role": "assistant", "content": "w -h nginx" } ]
single
w
1bf221732b325578
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "list only the .conf files in reports" }, { "role": "assistant", "content": "ls reports | grep '\\.conf$'" } ]
pipeline
ls
d7eddaa70d07c359
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need a bash script that prints the line count of each file for all .cache files under /data/uploads." }, { "role": "assistant", "content": "#!/...
script
wc
5bb1940620df4e27
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given response.yaml, show the last 15 lines." }, { "role": "assistant", "content": "cat response.yaml | tail -n 15" } ]
pipeline
tail
562e2e82eb1df0d6
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Change the owner group of a file/directory to match a reference file." }, { "role": "assistant", "content": "chgrp --reference summary.py static" } ]
single
chgrp
886153e1a50ccdcc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show what user carol is currently doing." }, { "role": "assistant", "content": "w carol" } ]
single
w
2413d14c819db637
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a gzip-compressed archive of the tmp directory." }, { "role": "assistant", "content": "tar -czf tmp.tar.gz tmp" } ]
single
tar
54c8af4f952d5bdb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a gzip-compressed archive of the tmp directory." }, { "role": "assistant", "content": "tar czf tmp.tar.gz tmp" } ]
single
tar
54c8af4f952d5bdb
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Create a gzip-compressed archive of the tmp directory." }, { "role": "assistant", "content": "tar -zcf tmp.tar.gz tmp" } ]
single
tar
54c8af4f952d5bdb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Help me total the resident memory of all postgres processes in MB." }, { "role": "assistant", "content": "ps -C postgres -o rss= | awk '{s+=$1} END{print s/1024 \" MB\"}'" } ]
pipeline
ps
1012b07e153a0c1f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Calculate the parent directory of a given path." }, { "role": "assistant", "content": "dirname project" } ]
single
dirname
37b1dda600ce3e9a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Background 'gzip huge.log' at nice level 19." }, { "role": "assistant", "content": "nice -n 19 gzip huge.log &" } ]
single
nice
6098d3dee6d496a3
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to follow the redis journal but only show lines mentioning 'segfault'." }, { "role": "assistant", "content": "journalctl -u redis -f | grep --line-buffered -i 'segfault'" } ]
pipeline
journalctl
f16eec0a16439b2f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to follow the redis journal but only show lines mentioning 'segfault'." }, { "role": "assistant", "content": "journalctl --unit redi...
pipeline
journalctl
f16eec0a16439b2f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print multiple files with a default header and footer." }, { "role": "assistant", "content": "pr payload.csv" } ]
single
pr
da4d2ad0a655e1c3
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "On this box, list the top 10 remote IPs by number of connections." }, { "role": "assistant", "content": "ss -tn | awk 'NR>1 {print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr | head -n 10" }...
pipeline
ss
f97b4c074db03f30
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Get the bare PID that holds port 15672." }, { "role": "assistant", "content": "lsof -i :15672 -t" } ]
single
lsof
09418c9984f3b4a4
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "make a symlink to /opt/app/current in your home directory called app" }, { "role": "assistant", "content": "ln -s /opt/app/current ~/app" } ]
single
ln
0ea23da576cb7132
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "make a symlink to /opt/app/current in your home directory called app" }, { "role": "assistant", "content": "ln --symbolic /opt/app/current ~/app"...
single
ln
0ea23da576cb7132
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show tomcat's process tree with PIDs." }, { "role": "assistant", "content": "pstree -p tomcat" } ]
single
pstree
1074a6652415e5b9
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "I need to count 'traceback' occurrences in the mysql journal today." }, { "role": "assistant", "content": "journalctl -u mysql --since today --no...
pipeline
journalctl
42b042c70eef7c0a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need to count 'traceback' occurrences in the mysql journal today." }, { "role": "assistant", "content": "journalctl --unit mysql --since today --no-pager | grep -...
pipeline
journalctl
42b042c70eef7c0a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the last 10 lines containing 'expired' in worker.log." }, { "role": "assistant", "content": "grep 'expired' worker.log | tail -n 10" } ]
pipeline
grep
be62b1bc0860c496
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Please print it with line numbers in metrics.pdf." }, { "role": "assistant", "content": "nl metrics.pdf" } ]
single
nl
caa17bd3ab88356d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "get the number of items in the JSON array at https://web01.local/api/items" }, { "role": "assistant", "content": "curl -s https://web01.local/ap...
pipeline
curl
09cd377391bddc4f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "get the number of items in the JSON array at https://web01.local/api/items" }, { "role": "assistant", "content": "curl --silent https://web01.local/api/items | jq 'length'" } ]
pipeline
curl
09cd377391bddc4f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Only output the process ID (PID)." }, { "role": "assistant", "content": "lsof -t order.css" } ]
single
lsof
28c01f1717343706
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Clean up uploads: remove .old files not modified in 90 days, recording each deletion." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
find
1f55d16a19418a95
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write me a script that creates a temp working directory and cleans it up on exit using a trap." }, { "role": "assistant", "content": "#!/usr/bin...
script
trap
7d7047fc33bb11be
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "recursively search /usr/local/bin for 'unauthorized' and show line numbers" }, { "role": "assistant", "content": "grep -rn 'unauthorized' /usr/local/b...
single
grep
0550bed70f952122
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "recursively search /usr/local/bin for 'unauthorized' and show line numbers" }, { "role": "assistant", "content": "grep -nr 'unauthorized' /usr/local/bin" } ]
single
grep
0550bed70f952122
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "recursively search /usr/local/bin for 'unauthorized' and show line numbers" }, { "role": "assistant", "content": "grep -r -n 'unauthorized' /usr/local...
single
grep
0550bed70f952122
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a small script that dumps every MySQL database into its own gzip file under /var/backups, keeping 3 days." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndest...
script
mysqldump
c0dcdcc458bdf5e0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Write a script with a die() helper that logs an error to stderr and exits, plus a log() helper for info messages." }, { "role": "assistant", "content": "#!/usr/bin/...
script
function
907e009e96253284
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How many lines in syslog.log mention 'OutOfMemory'?" }, { "role": "assistant", "content": "grep -c 'OutOfMemory' syslog.log | cat" } ]
pipeline
grep
ac51a522c1a04dca