messages
listlengths
3
3
category
stringclasses
3 values
utility
stringclasses
182 values
variant_group
stringlengths
16
16
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me how to follow the redis journal but only show lines mentioning '500'." }, { "role": "assistant", "content": "journalctl -u redis -f | grep --line-buffered -i '500'" } ]
pipeline
journalctl
7eecc83e166c5615
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in /etc/apache2 owned by erin." }, { "role": "assistant", "content": "find /etc/apache2 -type f -user erin" } ]
single
find
063660e1e564d85c
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rank the values of column 1 in audit.log by frequency, highest first, top 25 only." }, { "role": "assistant", "content": "cut -d, -f1 audit.log |...
pipeline
cut
c13d268c687e43a5
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "locate files under build modified in the last 7 days" }, { "role": "assistant", "content": "find build -type f -mtime -7" } ]
single
find
cef12f77db99989e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how many lines in gateway.log match 'stale'." }, { "role": "assistant", "content": "grep -c 'stale' gateway.log" } ]
single
grep
dd6b5a5d60cb6a7b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Extended disk I/O stats every 10s, 10 samples." }, { "role": "assistant", "content": "iostat -x 10 10" } ]
single
iostat
6dbf25e73fbde38a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "which apache2 log lines mention 'failed'?" }, { "role": "assistant", "content": "journalctl -u apache2 --no-pager | grep -i failed" } ]
pipeline
journalctl
ac56d10859f9f246
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Help me total the resident memory of all dockerd processes in MB." }, { "role": "assistant", "content": "ps -C dockerd -o rss= | awk '{s+=$1} END{print s/1024 \" MB...
pipeline
ps
aa993412b27f82cd
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take product.txt and show the last 15 lines." }, { "role": "assistant", "content": "cat product.txt | tail -n 15" } ]
pipeline
tail
5f9c945fcb2368e7
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Loop through the .xml files in /var/www and makes each file read-only — write it as a proper script." }, { "role": "assistant", "content": "#!/us...
script
chmod
0c002788f51e3734
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "From changelog.tsv, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat changelog.tsv | sort -u" } ]
pipeline
sort
f5f7ee4612ccfb9d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Give me a script that iterates over /data/uploads/*.xml and changes the owner of each file to deploy." }, { "role": "assistant", "content": "#!/...
script
chown
77d9af9ca4bb83cc
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Recursively set owner and group of uploads to git:wheel." }, { "role": "assistant", "content": "sudo chown -R git:wheel uploads" } ]
single
chown
3941e2cd84fde574
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Make a backup copy of order.html called order.html.bak" }, { "role": "assistant", "content": "cp order.html order.html.bak" } ]
single
cp
590c6a7406cc6889
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given inventory.conf, count the lines." }, { "role": "assistant", "content": "cat inventory.conf | wc -l" } ]
pipeline
wc
c7c9bfb0b394bf69
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list only the .cache files in downloads" }, { "role": "assistant", "content": "ls downloads | grep '\\.cache$'" } ]
pipeline
ls
48f19830f8b97237
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show me how to follow the firewalld journal but only show lines mentioning 'null'." }, { "role": "assistant", "content": "journalctl -u firewall...
pipeline
journalctl
6c6d184c0326eb57
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy access.json to tests/ but keep the original timestamps and permissions." }, { "role": "assistant", "content": "cp -p access.json tests/" } ]
single
cp
f2d2ba9c13e87321
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Run 'rsync -a /data /mnt/backup' at a lower priority (nice 15)." }, { "role": "assistant", "content": "nice -n 15 rsync -a /data /mnt/backup" } ]
single
nice
57ebf88906cc907f
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how many lines in error.log match 'null'." }, { "role": "assistant", "content": "grep -c 'null' error.log" } ]
single
grep
2a861ca27d5b1e9e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Count how many lines in error.log match 'null'." }, { "role": "assistant", "content": "grep --count 'null' error.log" } ]
single
grep
2a861ca27d5b1e9e
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many lines in error.log match 'null'." }, { "role": "assistant", "content": "grep 'null' error.log | wc -l" } ]
single
grep
2a861ca27d5b1e9e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to list the unique 'Connection refused' messages in build.log." }, { "role": "assistant", "content": "grep 'Connection refused' build.log ...
pipeline
grep
e952d8e29c8a8c75
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show every open file under /var/lib/mysql." }, { "role": "assistant", "content": "lsof +D /var/lib/mysql" } ]
single
lsof
79d58cfa99324dc3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Write a Bash script that loops over every .conf file in logs and compresses each file with gzip." }, { "role": "assistant", "content": "#!/usr/bin/env...
script
gzip
1325d29d883b5a05
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show CPU and disk I/O stats every 3 seconds, 3 times." }, { "role": "assistant", "content": "iostat 3 3" } ]
single
iostat
3e58b85c6262b778
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "follow redirects when fetching https://cdn.service.io" }, { "role": "assistant", "content": "curl -L https://cdn.service.io" } ]
single
curl
413d209cb32cc63a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show error-level dmesg lines mentioning usb." }, { "role": "assistant", "content": "dmesg --level=err | grep -i usb" } ]
single
dmesg
7cd3242ed9ccefa9
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many lines in worker.log match 'critical'." }, { "role": "assistant", "content": "grep -c 'critical' worker.log" } ]
single
grep
ddc77f6adc761073
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find all .sh files under /srv/www." }, { "role": "assistant", "content": "find /srv/www -type f -name '*.sh'" } ]
single
find
6d06f0166596eebf
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Find all .sh files under /srv/www." }, { "role": "assistant", "content": "find /srv/www -name '*.sh' -type f" } ]
single
find
6d06f0166596eebf
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Make product.html executable." }, { "role": "assistant", "content": "chmod +x product.html" } ]
single
chmod
e3057c8c7acdb252
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Watch memory continuously, updating every 1s." }, { "role": "assistant", "content": "free -h -s 1" } ]
single
free
6301e860effad4e5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Watch memory continuously, updating every 1s." }, { "role": "assistant", "content": "free --human -s 1" } ]
single
free
6301e860effad4e5
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Please count the lines in payload.pdf." }, { "role": "assistant", "content": "wc -l payload.pdf" } ]
single
wc
9440e371750e162c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "list only the .json files in config" }, { "role": "assistant", "content": "ls config | grep '\\.json$'" } ]
pipeline
ls
e7661a8c10cb6a27
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Create a symbolic link named latest.log pointing to build.old." }, { "role": "assistant", "content": "ln -s build.old latest.log" } ]
single
ln
1fb1228a32fed328
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "follow redirects when fetching https://db02.service.io" }, { "role": "assistant", "content": "curl -L https://db02.service.io" } ]
single
curl
88765e0943902218
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Download https://cache.corp.net/file.zip and save it with its remote name." }, { "role": "assistant", "content": "curl -O https://cache.corp.net...
single
curl
b0876ac28b5ac10d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Change the owner of metrics.sql to alice." }, { "role": "assistant", "content": "sudo chown alice metrics.sql" } ]
single
chown
8d6529fb57579ed5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Read servers.txt line by line and ping each host once, reporting up or down." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo...
script
while
33401d2ab381c8f3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Back up logs to /var/backups as a dated gzip archive, pruning all but the last 30 backups." }, { "role": "assistant", "content": "#!/usr/bin/env bash\...
script
tar
e7694e9e8149358a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "On the file catalog.pdf, show the last 20 lines." }, { "role": "assistant", "content": "tail -n 20 catalog.pdf" } ]
single
tail
e075689002de05b8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "On the file catalog.pdf, show the last 20 lines." }, { "role": "assistant", "content": "tail --lines 20 catalog.pdf" } ]
single
tail
e075689002de05b8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "On the file catalog.pdf, show the last 20 lines." }, { "role": "assistant", "content": "tail -20 catalog.pdf" } ]
single
tail
e075689002de05b8
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List every fully-qualified name of the machine." }, { "role": "assistant", "content": "hostname -A" } ]
single
hostname
7627444de5aba1ca
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need getopts handling for three options: -p, -t and -n; print usage on bad input." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\np...
script
getopts
2718e7db2500214b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show connections on port 9090." }, { "role": "assistant", "content": "netstat -anp | grep :9090" } ]
single
netstat
9399054259b29761
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Loop over all subdirectories of /var/lib/app and print each one's total size." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -e...
script
for
a769e9483cbbcd81
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show CPU and disk I/O stats every 5 seconds, 3 times." }, { "role": "assistant", "content": "iostat 5 3" } ]
single
iostat
7f0b5ef009a87279
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Sample iostat 5 times at 2-second intervals." }, { "role": "assistant", "content": "iostat 2 5" } ]
single
iostat
7585fb3f58380b83
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Give me a script that iterates over /mnt/storage/*.md and makes a .bak copy of each file." }, { "role": "assistant", "content": "#!/usr/bin/env b...
script
cp
0ad388012bd47479
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Please show the last 20 lines in event.pdf." }, { "role": "assistant", "content": "tail -n 20 event.pdf" } ]
single
tail
9a932351f89cff12
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Please show the last 20 lines in event.pdf." }, { "role": "assistant", "content": "tail --lines 20 event.pdf" } ]
single
tail
9a932351f89cff12
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Please show the last 20 lines in event.pdf." }, { "role": "assistant", "content": "tail -20 event.pdf" } ]
single
tail
9a932351f89cff12
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a shell script that checks whether python is running and starts it if not." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset...
script
if
c09be52a04e89547
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How big is releases overall?" }, { "role": "assistant", "content": "du -sh releases" } ]
single
du
3893c03be87885e2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How big is releases overall?" }, { "role": "assistant", "content": "du -hs releases" } ]
single
du
3893c03be87885e2
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How big is releases overall?" }, { "role": "assistant", "content": "du -s -h releases" } ]
single
du
3893c03be87885e2
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch JSON from https://www.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://www.exampl...
pipeline
curl
3973de30bb92fb91
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Fetch JSON from https://www.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://www.exampl...
pipeline
curl
3973de30bb92fb91
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Retry connection to proxy.service.io:5432 at most 10 times with a 5-second backoff, failing loudly if it never succeeds." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipef...
script
bash
0db423e136915613
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 hottest values in column 4 of gc.log (by frequency)." }, { "role": "assistant", "content": "cut -d, -f4 gc.log | sort | uniq -c | sor...
pipeline
cut
d161a41d026b1abf
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Ping staging.local once and branch: print reachable or unreachable based on the result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nhost=staging.local\nif ping ...
script
if
05cce77e5d2be91f
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Sample iostat 10 times at 3-second intervals." }, { "role": "assistant", "content": "iostat 3 10" } ]
single
iostat
103c997e88432188
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Find all .gif files under tmp." }, { "role": "assistant", "content": "find tmp -type f -name '*.gif'" } ]
single
find
6d20dc1b384bcc6c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Find all .gif files under tmp." }, { "role": "assistant", "content": "find tmp -name '*.gif' -type f" } ]
single
find
6d20dc1b384bcc6c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename build.csv to build.csv.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n build.csv build.csv.old" } ]
single
mv
a1bb397d6d8ffca6
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How do I list files in /etc/apache2 sorted by size?" }, { "role": "assistant", "content": "ls -lS /etc/apache2" } ]
single
ls
de671e89a30f22bb
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How do I list files in /etc/apache2 sorted by size?" }, { "role": "assistant", "content": "ls -Sl /etc/apache2" } ]
single
ls
de671e89a30f22bb
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I list files in /etc/apache2 sorted by size?" }, { "role": "assistant", "content": "ls -l -S /etc/apache2" } ]
single
ls
de671e89a30f22bb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under scripts are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 scripts | sort -rh" } ]
pipeline
du
22ce4920a4ca6833
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under scripts are eating the most space?" }, { "role": "assistant", "content": "du --human-readable --max-depth=1 scripts | so...
pipeline
du
22ce4920a4ca6833
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display the ancestors of process 3299 as a tree." }, { "role": "assistant", "content": "pstree -s 3299" } ]
single
pstree
32e00e7310f4ac92
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Write a one-liner to list the top 20 remote IPs by number of connections." }, { "role": "assistant", "content": "ss -tn | awk 'NR>1 {print $5}' ...
pipeline
ss
5ceae5b8341e180d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Create a script that deletes .cache files older than 14 days from logs and logs what it removed." }, { "role": "assistant", "content": "#!/usr/bin/env...
script
find
f606b46503fc79aa
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Fail fast if any of DB_HOST, REDIS_URL, DB_PASS is unset — write it as a bash guard." }, { "role": "assistant", "content": "#!/usr/bin/env bash\n...
script
env
6a2c3daa34be9cde
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "sort migration.txt by the 2nd column numerically" }, { "role": "assistant", "content": "sort -k2 -n migration.txt" } ]
single
sort
85d3cf33f270ceab
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Retry curl to https://app01.example.com/health at most 10 times with a 2-second backoff, failing loudly if it never succeeds." }, { "role": "assistan...
script
curl
f8aae6e4396cd64b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Count how often each column-9 value appears in data.tsv; show the 10 most common." }, { "role": "assistant", "content": "awk '{print $9}' data.tsv | s...
pipeline
awk
6e25381f397fdb2b
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How many lines in server.log mention 'OutOfMemory'?" }, { "role": "assistant", "content": "grep -c 'OutOfMemory' server.log | cat" } ]
pipeline
grep
85d2df891ef0404a
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Check whether mysqld is running and exit 0 if so, 1 otherwise, with a message." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\nproc=mysqld\nif pgrep -x \"$proc\" >/...
script
if
356efffc33ca6f95
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Copy settings.sh into the lib directory." }, { "role": "assistant", "content": "cp settings.sh lib/" } ]
single
cp
d1060db7f701d4a0
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Back up all PostgreSQL databases individually to /srv/backup as compressed dumps." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ndes...
script
pg_dump
32ac64363cabae4a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Create a script that dumps every PostgreSQL database into its own gzip file under /var/backups, keeping 3 days." }, { "role": "assistant", "cont...
script
pg_dump
9237d85d9b5d0a7a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Ping registry.service.io four times and stop." }, { "role": "assistant", "content": "ping -c 4 registry.service.io" } ]
single
ping
205a07fa71182dd9
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "From session.md, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat session.md | sort -u" } ]
pipeline
sort
e77c3a599b88bd59
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in server.log mention 'overflow'?" }, { "role": "assistant", "content": "grep -c 'overflow' server.log | cat" } ]
pipeline
grep
6697f4a13e320834
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "How many lines in server.log mention 'overflow'?" }, { "role": "assistant", "content": "grep --count 'overflow' server.log | cat" } ]
pipeline
grep
6697f4a13e320834
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Make profile.txt executable." }, { "role": "assistant", "content": "chmod +x profile.txt" } ]
single
chmod
c964b55d3ba06608
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Show just the first line of credentials.jpg." }, { "role": "assistant", "content": "head -n 1 credentials.jpg" } ]
single
head
951471cff6ddec7d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show just the first line of credentials.jpg." }, { "role": "assistant", "content": "head --lines 1 credentials.jpg" } ]
single
head
951471cff6ddec7d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show just the first line of credentials.jpg." }, { "role": "assistant", "content": "head -1 credentials.jpg" } ]
single
head
951471cff6ddec7d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list only the .md files in /var/www" }, { "role": "assistant", "content": "ls /var/www | grep '\\.md$'" } ]
pipeline
ls
ea99a1d3a1d8f685
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Case-insensitively find 'retry' in build.log." }, { "role": "assistant", "content": "grep -i 'retry' build.log" } ]
single
grep
dea89d4a071fc06e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Recursively set owner and group of logs to carol:admin." }, { "role": "assistant", "content": "sudo chown -R carol:admin logs" } ]
single
chown
296844d266117f6d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I list files in build sorted by size?" }, { "role": "assistant", "content": "ls -lS build" } ]
single
ls
bee66d2cb6c1b177
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How do I list files in build sorted by size?" }, { "role": "assistant", "content": "ls -Sl build" } ]
single
ls
bee66d2cb6c1b177
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I list files in build sorted by size?" }, { "role": "assistant", "content": "ls -l -S build" } ]
single
ls
bee66d2cb6c1b177
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "locate files under tmp modified in the last 7 days" }, { "role": "assistant", "content": "find tmp -type f -mtime -7" } ]
single
find
c022ec94cd89e187