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": "Create a squashfs filesystem from a `.tar` archive compressed with `gzip`, and [comp]ress the filesystem using a specific algorithm."
},
{
"role": "... | pipeline | zcat | 2dff7a2d234ddd5e |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find the process listening on port 25565."
},
{
"role": "assistant",
"content": "lsof -i :25565"
}
] | single | lsof | 11b5fe792c93fc05 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Write a retry() function that runs any command up to 3 times until it succeeds."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -... | script | function | da24b984fb42d4cb |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of lib"
},
{
"role": "assistant",
"content": "tar -cjf lib.tar.bz2 lib"
}
] | single | tar | 428aa9409521b91d |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of lib"
},
{
"role": "assistant",
"content": "tar cjf lib.tar.bz2 lib"
}
] | single | tar | 428aa9409521b91d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "make a bzip2-compressed tarball of lib"
},
{
"role": "assistant",
"content": "tar -jcf lib.tar.bz2 lib"
}
] | single | tar | 428aa9409521b91d |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Create a specific directory if it does not exist and mount a device to it."
},
{
"role": "assistant",
"content": "mount data build.xml build"
... | single | mount | 7bab584bfb3949b8 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Run a python script with a nice value of 10."
},
{
"role": "assistant",
"content": "nice -n 10 python main.py"
}
] | single | nice | a3fced736102cac0 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Send an HTTP GET request."
},
{
"role": "assistant",
"content": "echo -e \"GET / HTTP/1.1\\nHost: db01.internal\\n\\n\" | nc auth.internal 80"
... | pipeline | echo | 5dc79542083e2882 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Bump process 3886 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 3886"
}
] | single | renice | d3b53267df529248 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Execute and print the result of one statement, then exit."
},
{
"role": "assistant",
"content": "echo \"test.xml\" | yacas -p -c /dev/stdin"
}
] | pipeline | echo | 18b5d7b1c9596296 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Delete export.sh but ask for confirmation first."
},
{
"role": "assistant",
"content": "rm -i export.sh"
}
] | single | rm | 86a86ca71de25285 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Delete export.sh but ask for confirmation first."
},
{
"role": "assistant",
"content": "rm --interactive export.sh"
}
] | single | rm | 86a86ca71de25285 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Display the ancestors of process 5986 as a tree."
},
{
"role": "assistant",
"content": "pstree -s 5986"
}
] | single | pstree | 9d177b4652516c48 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in dmesg.log mention 'dropped'?"
},
{
"role": "assistant",
"content": "grep -c 'dropped' dmesg.log | cat"
}
] | pipeline | grep | e13cf29193a144a5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in dmesg.log mention 'dropped'?"
},
{
"role": "assistant",
"content": "grep --count 'dropped' dmesg.log | cat"
}
] | pipeline | grep | e13cf29193a144a5 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "I/O stats in MB/s every 1s for 10 samples."
},
{
"role": "assistant",
"content": "iostat -m 1 10"
}
] | single | iostat | 40114c80271b869b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Back up all PostgreSQL databases individually to /backup as compressed dumps."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -e... | script | pg_dump | 80540265ccf07c0c |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Calculate the SHA1 checksum for one or more files."
},
{
"role": "assistant",
"content": "sha1sum error.png"
}
] | single | sha1sum | 71ad0057fd64fc00 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Run 'find / -name '*.core'' at higher priority (nice -5); needs root."
},
{
"role": "assistant",
"content": "sudo nice -n -5 find / -name '*.cor... | single | nice | 9e2f59e7b8bff947 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display key-value pairs of all environment variables."
},
{
"role": "assistant",
"content": "printenv"
}
] | single | printenv | 604176c00a4240f4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Remove all decorations except line numbers in the output."
},
{
"role": "assistant",
"content": "bat 100 payload.zip"
}
] | single | bat | 8fb0d81bfd3762fb |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch JSON from https://www.internal/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://www.internal/a... | pipeline | curl | 4e7c2959e1828970 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Fetch JSON from https://www.internal/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://www.inte... | pipeline | curl | 4e7c2959e1828970 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Print directories only."
},
{
"role": "assistant",
"content": "tree -d"
}
] | single | tree | 88fcfd9b9fdda9de |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Display system memory."
},
{
"role": "assistant",
"content": "free"
}
] | single | free | 236858ab9515819b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print the most recent 100 dmesg entries."
},
{
"role": "assistant",
"content": "dmesg -T | tail -n 100"
}
] | single | dmesg | 841955353a8ac3f8 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Bump process 2024 to a higher priority (nice -5). Requires root."
},
{
"role": "assistant",
"content": "sudo renice -n -5 -p 2024"
}
] | single | renice | 1b13ab6db028839c |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Show me the 10 largest subdirectories of cache."
},
{
"role": "assistant",
"content": "du -h cache/* 2>/dev/null | sort -rh | head -n 10"
}
] | pipeline | du | b4531859bdcf1725 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show me the 10 largest subdirectories of cache."
},
{
"role": "assistant",
"content": "du --human-readable cache/* 2>/dev/null | sort -rh | head... | pipeline | du | b4531859bdcf1725 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "How many lines in cron.log mention 'OutOfMemory'?"
},
{
"role": "assistant",
"content": "grep -c 'OutOfMemory' cron.log | cat"
}
] | pipeline | grep | de01438f3692c6e6 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in cron.log mention 'OutOfMemory'?"
},
{
"role": "assistant",
"content": "grep --count 'OutOfMemory' cron.log | cat"
}
] | pipeline | grep | de01438f3692c6e6 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the uploads directory."
},
{
"role": "assistant",
"content": "tar -czf uploads.tar.gz uploads"
}
] | single | tar | abf076b8b13217b4 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the uploads directory."
},
{
"role": "assistant",
"content": "tar czf uploads.tar.gz uploads"
}
] | single | tar | abf076b8b13217b4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create a gzip-compressed archive of the uploads directory."
},
{
"role": "assistant",
"content": "tar -zcf uploads.tar.gz uploads"
}
] | single | tar | abf076b8b13217b4 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from error.log."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' error.log | sort -... | pipeline | sed | 415943040ebdeae2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Extract just the email addresses from error.log."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' error.log | s... | pipeline | sed | 415943040ebdeae2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from error.log."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' error.log | sort... | pipeline | sed | 415943040ebdeae2 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Recursively list filenames in the current directory that match a pattern."
},
{
"role": "assistant",
"content": "rg --files | rg denied"
}
] | pipeline | rg | 26b8f416ea28ebc4 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Show kernel messages in the pager with human-readable output."
},
{
"role": "assistant",
"content": "dmesg -H"
}
] | single | dmesg | e1c17faa108e8d0a |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Create a backup file stamped with today's date."
},
{
"role": "assistant",
"content": "cp app.json app-$(date +%Y%m%d).json"
}
] | pipeline | cmdsub | 7e7db727b46ed16a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Sign a file using and ECDSA key."
},
{
"role": "assistant",
"content": "openssl dgst -sign debug.py -sha256 -out settings.old config.sql"
}
] | single | openssl | 3caab258ce12e815 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Display redis's processes as a tree."
},
{
"role": "assistant",
"content": "pstree redis"
}
] | single | pstree | 38c4ee37d039a938 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "locate files under dist modified in the last 1 days"
},
{
"role": "assistant",
"content": "find dist -type f -mtime -1"
}
] | single | find | d2ae99ca6cedeb8b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "locate files under dist modified in the last 1 days"
},
{
"role": "assistant",
"content": "find dist -mtime -1 -type f"
}
] | single | find | d2ae99ca6cedeb8b |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "In request.log, which 20 values of column 1 occur most often?"
},
{
"role": "assistant",
"content": "cut -d, -f1 request.log | sort | uniq -c | sort -nr | head -n 2... | pipeline | cut | d9a72659ea5d59c0 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Set catalog.html to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 catalog.html"
}
] | single | chmod | 4242036e73b6ae79 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Set catalog.html to permissions 644."
},
{
"role": "assistant",
"content": "chmod u=rw,go=r catalog.html"
}
] | single | chmod | 4242036e73b6ae79 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show every listening socket and the process behind it."
},
{
"role": "assistant",
"content": "ss -tulnp"
}
] | single | ss | c2077e3f35e65e8b |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print different values based on conditions."
},
{
"role": "assistant",
"content": "awk '{if ($1 == \"foo\") print \"Exact match foo\"; else if ($... | pipeline | awk | dddc7700e8293ead |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Wide-format vmstat every 10s, 3 samples."
},
{
"role": "assistant",
"content": "vmstat -w 10 3"
}
] | single | vmstat | 4ba8d1e3e3c5b5d7 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Is anything listening on port 53?"
},
{
"role": "assistant",
"content": "ss -tlnp sport = :53"
}
] | single | ss | f7c749cd74bead4c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find empty files in /data/uploads."
},
{
"role": "assistant",
"content": "find /data/uploads -type f -empty"
}
] | single | find | 0d7169394ee5be0b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Find empty files in /data/uploads."
},
{
"role": "assistant",
"content": "find /data/uploads -empty -type f"
}
] | single | find | 0d7169394ee5be0b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Watch active/inactive memory with vmstat every 3s."
},
{
"role": "assistant",
"content": "vmstat -a 3"
}
] | single | vmstat | 060900eb13fc7997 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from request.txt."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' request.txt | so... | pipeline | sed | 9d82c3f1c5db45f6 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from request.txt."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' request.tx... | pipeline | sed | 9d82c3f1c5db45f6 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract just the email addresses from request.txt."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' request.txt | sort -u"
}
] | pipeline | sed | 9d82c3f1c5db45f6 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Write a script that loops over every .pdf file in /home/deploy and compresses each file with gzip."
},
{
"role": "assistant",
"content": "#!/usr/bin/e... | script | gzip | 325e10e09698f941 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from customer.csv."
},
{
"role": "assistant",
"content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' customer.... | pipeline | sed | 1637835730918d34 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Extract just the email addresses from customer.csv."
},
{
"role": "assistant",
"content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' customer.csv | sort -u"
}
] | pipeline | sed | 1637835730918d34 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Extract just the email addresses from customer.csv."
},
{
"role": "assistant",
"content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' customer.csv ... | pipeline | sed | 1637835730918d34 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Print current time, uptime, number of logged-in users, and other information."
},
{
"role": "assistant",
"content": "uptime"
}
] | single | uptime | ac45e6fb93e624f2 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Start 'npm run build' with nice value 5 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 5 npm run build"
}
] | single | nice | e2597f8fc2984044 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Set catalog.old to permissions 644."
},
{
"role": "assistant",
"content": "chmod 644 catalog.old"
}
] | single | chmod | a7e32edb4ded3f65 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Set catalog.old to permissions 644."
},
{
"role": "assistant",
"content": "chmod u=rw,go=r catalog.old"
}
] | single | chmod | a7e32edb4ded3f65 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Show TCP connections to db01.example.org."
},
{
"role": "assistant",
"content": "ss -tn dst db01.example.org"
}
] | single | ss | 814851e1f053d08f |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Case-insensitively find 'disk full' in app.log."
},
{
"role": "assistant",
"content": "grep -i 'disk full' app.log"
}
] | single | grep | 057463e2d5bf109a |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Case-insensitively find 'disk full' in app.log."
},
{
"role": "assistant",
"content": "grep --ignore-case 'disk full' app.log"
}
] | single | grep | 057463e2d5bf109a |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Display the current primary group identity as a number."
},
{
"role": "assistant",
"content": "id mysql"
}
] | single | id | 5269572ee2c556d3 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Use a specific SSH private key for authentication with the remote host."
},
{
"role": "assistant",
"content": "scp -i response.gz order.gz auth.... | single | scp | 4319b70c7e5b7ad1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Start 'npm run build' with nice value 15 so it doesn't hog the CPU."
},
{
"role": "assistant",
"content": "nice -n 15 npm run build"
}
] | single | nice | abfb1dbde67839d9 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "Convert a graph using `stdin` and `stdout`."
},
{
"role": "assistant",
"content": "cat auth.jpg | gml2gv > release.tmp"
}
] | pipeline | cat | dc2a51e948c986a2 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "How many lines in request.log mention 'segfault'?"
},
{
"role": "assistant",
"content": "grep -c 'segfault' request.log | cat"
}
] | pipeline | grep | 3fd482f3842d3965 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "How many lines in request.log mention 'segfault'?"
},
{
"role": "assistant",
"content": "grep --count 'segfault' request.log | cat"
}
] | pipeline | grep | 3fd482f3842d3965 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Find any socket using port 3306 via netstat."
},
{
"role": "assistant",
"content": "netstat -anp | grep :3306"
}
] | single | netstat | ed68a67fe6db87cf |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show last 10 lines in a file."
},
{
"role": "assistant",
"content": "tail manifest.jpg"
}
] | single | tail | 0f56735d2a468362 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Show the 50 most recent rabbitmq log lines, newest last."
},
{
"role": "assistant",
"content": "journalctl -u rabbitmq -n 50"
}
] | single | journalctl | 12a03edadaf11034 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the configured hostname from /etc/hostname."
},
{
"role": "assistant",
"content": "cat /etc/hostname"
}
] | single | hostname | a8cf0191d2c7eb1c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "I need a preflight check that DB_HOST, ENV and DB_PASS exist in the environment."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bash\nset -euo pipefail\nfor var in DB_HOST ENV DB_PASS; do\... | script | env | 5648d50622a9279a |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Don't make backups (useful if files are under version control)."
},
{
"role": "assistant",
"content": "find . -name \"*.cpp\" | uncrustify -F - --no-b... | pipeline | find | 62e22dacafb4ab0c |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Show the process tree sorted numerically by PID."
},
{
"role": "assistant",
"content": "pstree -n"
}
] | single | pstree | 757db570d7470aab |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "I need a bash script that changes the owner of each file to deploy for all .json files under /var/lib/app."
},
{
"role": "assistant",
"content": "#!/usr/bin/env bas... | script | chown | b0ed1f48060ab61c |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Give 'make -j4' a boosted CPU priority of -5."
},
{
"role": "assistant",
"content": "sudo nice -n -5 make -j4"
}
] | single | nice | c5c991b948f25849 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "POST a JSON body to https://app01.internal/api/users"
},
{
"role": "assistant",
"content": "curl -X POST -H 'Content-Type: application/json' -d '... | single | curl | 582f232de2bcf165 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "POST a JSON body to https://app01.internal/api/users"
},
{
"role": "assistant",
"content": "curl --request POST -H 'Content-Type: application/json' -d... | single | curl | 582f232de2bcf165 |
[
{
"role": "system",
"content": "You are a Linux shell expert. Respond with Bash only."
},
{
"role": "user",
"content": "show chronyd logs from the last 5 days"
},
{
"role": "assistant",
"content": "journalctl -u chronyd --since '5 days ago'"
}
] | single | journalctl | 7ce19d4a973377c6 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://backup.internal/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://backup.internal/api/users | jq ."
}
] | pipeline | curl | 110146ca73ffb134 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Fetch JSON from https://backup.internal/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl --silent https://backup.int... | pipeline | curl | 110146ca73ffb134 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Generate a Go struct from a given XML from `stdin` and display output on `stdout`."
},
{
"role": "assistant",
"content": "cat debug.log | zek"
}
] | pipeline | cat | e34ce6022df76f5b |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Create and switch to a new branch called staging."
},
{
"role": "assistant",
"content": "git checkout -b staging"
}
] | single | git | 14598b2f35f74591 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Find files matching a given pattern, excluding specific paths."
},
{
"role": "assistant",
"content": "find include -name 'export.old' -not -path... | single | find | d421275b5c537230 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Open JSON data from a URL."
},
{
"role": "assistant",
"content": "curl api.example.com | fx"
}
] | pipeline | curl | 2ced4a5366345773 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Lis[t] the contents of a tar [f]ile [v]erbosely."
},
{
"role": "assistant",
"content": "tar tvf error.sql"
}
] | single | tar | 1bb787d89a39400b |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "Lower the priority of process 8716 to nice value 10."
},
{
"role": "assistant",
"content": "renice -n 10 -p 8716"
}
] | single | renice | 100440f4db38f6fd |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Extract files/directories from archives to a specific path."
},
{
"role": "assistant",
"content": "unzip api.local -d debug.py"
}
] | single | unzip | bc76d698b8b4b2b1 |
[
{
"role": "system",
"content": "You translate natural-language requests into correct Bash commands."
},
{
"role": "user",
"content": "Print the routing table without DNS lookups."
},
{
"role": "assistant",
"content": "netstat -rn"
}
] | single | netstat | cd93e7e8834d3880 |
[
{
"role": "system",
"content": "You are a helpful assistant that writes correct, idiomatic Bash commands."
},
{
"role": "user",
"content": "List all files opened by gunicorn."
},
{
"role": "assistant",
"content": "lsof -c gunicorn"
}
] | single | lsof | 8811582cbecfd093 |
[
{
"role": "system",
"content": "You are a command-line assistant specializing in Bash and GNU coreutils."
},
{
"role": "user",
"content": "Process all .old files under /srv/data with checksum with sha256sum using 4 parallel workers via xargs."
},
{
"role": "assistant",
"content": "#!... | script | xargs | af14e03de49c4e69 |
[
{
"role": "system",
"content": "You are a Bash expert."
},
{
"role": "user",
"content": "Fetch JSON from https://git.service.io/api/users and pretty-print it with jq."
},
{
"role": "assistant",
"content": "curl -s https://git.service.io/api/users | jq ."
}
] | pipeline | curl | 0de089f0945adc7d |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.