messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "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://registry.local/api/items" }, { "role": "assistant", "content": "curl -s https://registry.local/ap...
pipeline
curl
b9b13d1d79b06620
[ { "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://registry.local/api/items" }, { "role": "assistant", "content": "curl --silent https://registry.lo...
pipeline
curl
b9b13d1d79b06620
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the systemd journal for the fail2ban service." }, { "role": "assistant", "content": "journalctl -u fail2ban" } ]
single
journalctl
a942cc7ee6d4b44f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show what PID 3847 has open." }, { "role": "assistant", "content": "lsof -p 3847" } ]
single
lsof
52beb9caa682a6cd
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Convert a graph using `stdin` and `stdout`." }, { "role": "assistant", "content": "cat sales.gz | mm2gv > request.sh" } ]
pipeline
cat
d69ee9ab4869c15c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "list only the .sh files in media" }, { "role": "assistant", "content": "ls media | grep '\\.sh$'" } ]
pipeline
ls
e5b549fdfa8c1826
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the 50 most recent mysql log lines, newest last." }, { "role": "assistant", "content": "journalctl -u mysql -n 50" } ]
single
journalctl
74f99c2b609861e2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a shell script that dumps every MySQL database into its own gzip file under /srv/backup, keeping 14 days." }, { "role": "assistant", "cont...
script
mysqldump
3631386edef2870e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Timestamped vmstat every 2s for 10 samples." }, { "role": "assistant", "content": "vmstat -t 2 10" } ]
single
vmstat
15b6e654a0738bdd
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show UDP listeners numerically." }, { "role": "assistant", "content": "ss -ulnp" } ]
single
ss
b87e7bcaa068545f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need a script that dumps every PostgreSQL database into its own gzip file under /var/backups, keeping 3 days." }, { "role": "assistant", "content": ...
script
pg_dump
4f3aab738536bfed
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys `key_name1` and `key_name2`)." }, { "role": "assistant"...
pipeline
cat
c637d98e527760a9
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Look for USB-related messages in the kernel log." }, { "role": "assistant", "content": "dmesg -T | grep -i usb" } ]
pipeline
dmesg
d705901a93c70a7b
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Query a given name server for the whole zone file (zone transfer) of the domain using TCP protocol." }, { "role": "assistant", "content": "nslookup -vc -type=AXFR response.tar.gz backup.example.c...
single
nslookup
ba5db82676f7efbe
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check whether haproxy is running and exit 0 if so, 1 otherwise, with a message." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nproc=haproxy\nif pgrep -x \"$proc\" ...
script
if
d070f251ce76f3d5
[ { "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 cr...
single
comm
b6e68127acd2006c
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Rename data.jpg to data.jpg.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n data.jpg data.jpg.old" } ]
single
mv
f27e2609c5890073
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Rename data.jpg to data.jpg.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber data.jpg data.jpg.old" } ...
single
mv
f27e2609c5890073
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a backup script that bzip2-compresses /mnt/storage into a timestamped tarball under /backup and keeps only the 14 newest." }, { "role": "assis...
script
tar
15b5341f0775c086
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Write a shell script that deletes .tmp files older than 14 days from /var/cache and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=/va...
script
find
55e03112587ce79c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show last 10 lines in a file." }, { "role": "assistant", "content": "tail profile.js" } ]
single
tail
15e861530facf969
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the parent chain leading to PID 8339." }, { "role": "assistant", "content": "pstree -s 8339" } ]
single
pstree
28998ee998b3c5a0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display both IP address and reverse DNS name." }, { "role": "assistant", "content": "mtr www.corp.net invoice.png" } ]
single
mtr
8e1a32d16b6d1658
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List all files opened by mongod." }, { "role": "assistant", "content": "lsof -c mongod" } ]
single
lsof
1756bb58a5658960
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Analyze a rendered configuration dump via `stdin` (`-`)." }, { "role": "assistant", "content": "cat session.old | gixy-next -" } ]
pipeline
cat
164628f18a7ec0e7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the disk usage of /var/log broken down one level deep." }, { "role": "assistant", "content": "du -h --max-depth=1 /var/log 2>/dev/null | sor...
pipeline
du
ba015dddd5bebeec
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "List the disk usage of /var/log broken down one level deep." }, { "role": "assistant", "content": "du --human-readable --max-depth=1 /var/log 2>/dev/n...
pipeline
du
ba015dddd5bebeec
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List all mounted filesystems." }, { "role": "assistant", "content": "findmnt" } ]
single
findmnt
2e92eef0647e0858
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Create the necessary files and folders for encryption." }, { "role": "assistant", "content": "touch migration.tar.gz && mkdir config" } ]
pipeline
touch
6249cc4cd942ce5a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Calculate an expression with the specified scale." }, { "role": "assistant", "content": "echo 'scale = 10; account.bak' | bc" } ]
pipeline
echo
d25856d54645e0b5
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find the processes that have a given file open." }, { "role": "assistant", "content": "lsof credentials.md" } ]
single
lsof
6e084b1e7c75cb18
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read servers.txt and for each host, report UP/DOWN based on whether it curls the /health endpoint." }, { "role": "assistant", "content": "#!/usr/...
script
curl
3d37a7fe65b51d41
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Write a small script that pre-creates dated subdirectories under /var/backups for the next 3 days." }, { "role": "assistant", "content": "#!/usr/...
script
for
f3eb4ea3152bac3c
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Give the [u]ser who owns a file the right to e[x]ecute it." }, { "role": "assistant", "content": "chmod u+x customer.js" } ]
single
chmod
12f032f5c7269b4d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List active (established) sessions on port 6379." }, { "role": "assistant", "content": "lsof -i :6379 -sTCP:ESTABLISHED" } ]
single
lsof
1b5607b640b071df
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Print the current niceness value." }, { "role": "assistant", "content": "nice" } ]
single
nice
4821126968039416
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "reduce the priority of all processes owned by bob" }, { "role": "assistant", "content": "renice -n 15 -u bob" } ]
single
renice
dbea44ac275859dc
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in migrations owned by bob." }, { "role": "assistant", "content": "find migrations -type f -user bob" } ]
single
find
6117c9d852d184c4
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in migrations owned by bob." }, { "role": "assistant", "content": "find migrations -user bob -type f" } ]
single
find
6117c9d852d184c4
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow live logs for haproxy." }, { "role": "assistant", "content": "journalctl -u haproxy -f" } ]
single
journalctl
5e6360f12527afb3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display incremental reports of CPU and disk statistics every 2 seconds." }, { "role": "assistant", "content": "iostat 2" } ]
single
iostat
47d2d00cbb70b53e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Start `fzf` on all files in the specified directory." }, { "role": "assistant", "content": "find include -type f | fzf" } ]
pipeline
find
76ee1f86b62df2ac
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find directories named lib anywhere under vendor." }, { "role": "assistant", "content": "find vendor -type d -name 'lib'" } ]
single
find
7bf61c4516557d4b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find directories named lib anywhere under vendor." }, { "role": "assistant", "content": "find vendor -name 'lib' -type d" } ]
single
find
7bf61c4516557d4b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Print multiple files with a default header and footer." }, { "role": "assistant", "content": "pr metrics.old" } ]
single
pr
641adebe2adad0e3
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "send a GET request to https://web01.example.com/api and show the response headers" }, { "role": "assistant", "content": "curl -I https://web01.example.com/api" } ...
single
curl
e1ba71f5c52059a0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "send a GET request to https://web01.example.com/api and show the response headers" }, { "role": "assistant", "content": "curl --head https://web01.example.com/api" ...
single
curl
e1ba71f5c52059a0
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find directories named logs anywhere under assets." }, { "role": "assistant", "content": "find assets -type d -name 'logs'" } ]
single
find
665b6a73b5473363
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find directories named logs anywhere under assets." }, { "role": "assistant", "content": "find assets -name 'logs' -type d" } ]
single
find
665b6a73b5473363
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "report I/O stats 2 times, one per second" }, { "role": "assistant", "content": "iostat 1 2" } ]
single
iostat
4789636b28be3d1b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Preprocess from `stdin` and write to a file." }, { "role": "assistant", "content": "cat input.pgc | ecpg -o output.c -" } ]
pipeline
cat
eb90fe4bad537770
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "I need to show the last 20 lines containing 'TODO' in output.log." }, { "role": "assistant", "content": "grep 'TODO' output.log | tail -n 20" } ]
pipeline
grep
140941c80d11a69e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read commit IDs from `stdin`." }, { "role": "assistant", "content": "echo \"9c8d7e6\" | git name-rev --annotate-stdin" } ]
pipeline
echo
9155bcf45a1c25a8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display the ancestors of process 3657 as a tree." }, { "role": "assistant", "content": "pstree -s 3657" } ]
single
pstree
69a513c8993b8dde
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Parse command-line flags -t (tag), -p (port) and -l (level) using getopts and validate that -t is provided." }, { "role": "assistant", "content": "#!/usr/bin/env ba...
script
getopts
b7c4dcae6a731dce
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "print the total and count of column 3 in metrics.log" }, { "role": "assistant", "content": "awk '{sum+=$3; c++} END{print sum, c}' metrics.log" ...
pipeline
awk
b976e05dfbeec962
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "strip leading whitespace from every line of auth.conf and save to clean.txt" }, { "role": "assistant", "content": "sed 's/^[[:space:]]*//' auth.conf > clean.txt" ...
pipeline
sed
e41548818901370f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Print the system's startup date and time." }, { "role": "assistant", "content": "uptime -s" } ]
single
uptime
bf01b599e6408d63
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Check dmesg for any out-of-memory killer events." }, { "role": "assistant", "content": "dmesg -T | grep -i 'out of memory'" } ]
pipeline
dmesg
addaed78f18ba5bd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from index.log." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.log | sort -u" } ]
pipeline
sed
4142bd187d35c7c0
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from index.log." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.log | s...
pipeline
sed
4142bd187d35c7c0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from index.log." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' index.log | sort -u" } ]
pipeline
sed
4142bd187d35c7c0
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the systemd journal for the mongod service." }, { "role": "assistant", "content": "journalctl -u mongod" } ]
single
journalctl
589d22fe3622c1fb
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the systemd journal for the mongod service." }, { "role": "assistant", "content": "journalctl --unit mongod" } ]
single
journalctl
589d22fe3622c1fb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display mysql's processes as a tree." }, { "role": "assistant", "content": "pstree mysql" } ]
single
pstree
c6335447041e3ace
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List how full each mounted filesystem is, worst first." }, { "role": "assistant", "content": "df -h | awk 'NR>1 {print $5, $6}' | sort -rn" } ]
pipeline
df
6f053e05b6f9b818
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List how full each mounted filesystem is, worst first." }, { "role": "assistant", "content": "df --human-readable | awk 'NR>1 {print $5, $6}' | s...
pipeline
df
6f053e05b6f9b818
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "recursively search assets for 'throttled' and show line numbers" }, { "role": "assistant", "content": "grep -rn 'throttled' assets" } ]
single
grep
d968e1b32fd98714
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "recursively search assets for 'throttled' and show line numbers" }, { "role": "assistant", "content": "grep -nr 'throttled' assets" } ]
single
grep
d968e1b32fd98714
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "recursively search assets for 'throttled' and show line numbers" }, { "role": "assistant", "content": "grep -r -n 'throttled' assets" } ]
single
grep
d968e1b32fd98714
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Generate a certificate signing request to be sent to a certificate authority." }, { "role": "assistant", "content": "openssl req -new -sha256 -k...
single
openssl
a3c0d8ad448652bb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Report virtual-memory statistics every 2 seconds, 20 times." }, { "role": "assistant", "content": "vmstat 2 20" } ]
single
vmstat
f76070c865f847ad
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "List files one per line." }, { "role": "assistant", "content": "ls -1" } ]
single
ls
c8468c96b4d2f19f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "I need getopts handling for three options: -p, -c and -o; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
script
getopts
0156f65b36c5c52b
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Force kill matching processes (can't be blocked)." }, { "role": "assistant", "content": "pkill -9 \"tmux\"" } ]
single
pkill
a1ef78bdea6c07c3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Compress a file using the best compression." }, { "role": "assistant", "content": "xz -9 build.yaml" } ]
single
xz
37adeb5fb7284d80
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "keep watching mail.log for new entries and start from the last 500 lines" }, { "role": "assistant", "content": "tail -n 500 -f mail.log" } ]
single
tail
8c99a476645bb039
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "keep watching mail.log for new entries and start from the last 500 lines" }, { "role": "assistant", "content": "tail --lines 500 -f mail.log" ...
single
tail
8c99a476645bb039
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display extended disk I/O stats in human-readable form." }, { "role": "assistant", "content": "iostat -xh" } ]
single
iostat
e6711bdf11e6994d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Concatenate several files into the target file." }, { "role": "assistant", "content": "bat debug.conf > users.png" } ]
single
bat
0a0f02cc9ae0a6cb
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take config.tsv and count the lines." }, { "role": "assistant", "content": "cat config.tsv | wc -l" } ]
pipeline
wc
cfe7ec7694d8af3a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Take config.tsv and count the lines." }, { "role": "assistant", "content": "wc -l < config.tsv" } ]
pipeline
wc
cfe7ec7694d8af3a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a script that retries a git fetch from origin up to 6 times, sleeping 2s between attempts." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nmax=6\ndelay=2\nfo...
script
git
9177f1cb9053b6d4
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display the input offset in hexadecimal and its ASCII representation in two columns." }, { "role": "assistant", "content": "hexdump -C inventory.json"...
single
hexdump
4d8834a7480dcfe5
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Trim whitespace from a file." }, { "role": "assistant", "content": "cat users.js | git stripspace" } ]
pipeline
cat
c15dd6aa50f5d520
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give 'tar -czf backup.tar.gz /home/deploy' a boosted CPU priority of -10." }, { "role": "assistant", "content": "sudo nice -n -10 tar -czf backu...
single
nice
edd3eb141303f5cb
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Display number of occurrences of each line along with that line." }, { "role": "assistant", "content": "sort sales.gz | uniq 50" } ]
pipeline
sort
b2eeb180c77dba38
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Read an IR file from `stdin` and assemble it." }, { "role": "assistant", "content": "cat auth.pdf | llvm-as -o archive.tmp" } ]
pipeline
cat
db91798c607a6772
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Give me an init-style dispatcher for the rabbitmq service with case on $1." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nsvc=rabbitmq\ncase \"${1:-}\" in\n start...
script
case
ee2fc3635c8eadaf
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Print alice's process hierarchy including PIDs." }, { "role": "assistant", "content": "pstree -p alice" } ]
single
pstree
c158efc9af369c13
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Bump process 8931 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 8931" } ]
single
renice
857b78631009fafa
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I list files in fixtures sorted by size?" }, { "role": "assistant", "content": "ls -lS fixtures" } ]
single
ls
3f1beac3d1fd5c3a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How do I list files in fixtures sorted by size?" }, { "role": "assistant", "content": "ls -Sl fixtures" } ]
single
ls
3f1beac3d1fd5c3a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How do I list files in fixtures sorted by size?" }, { "role": "assistant", "content": "ls -l -S fixtures" } ]
single
ls
3f1beac3d1fd5c3a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show the last 20 lines containing 'not found' in audit.log." }, { "role": "assistant", "content": "grep 'not found' audit.log | tail -n 20" } ]
pipeline
grep
8e56f899c464b931
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Remove the keys of a host from the `known_hosts` file (useful when a known host has a new key)." }, { "role": "assistant", "content": "ssh-keygen -R r...
single
ssh-keygen
c9d47ddafb0cae95
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Parse command-line flags -d (dir), -t (tag) and -n (name) using getopts and validate that -d is provided." }, { "role": "assistant", "content": ...
script
getopts
4283b144d640da05
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "which directories under docs are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 docs | sort -rh" } ]
pipeline
du
aa6b309c2b21b800
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under docs are eating the most space?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 docs | sort -rh...
pipeline
du
aa6b309c2b21b800
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Use the contents of a file as input of the clipboard." }, { "role": "assistant", "content": "cat dump.csv | xsel cache.example.com" } ]
pipeline
cat
8e6dd4f895dad25b