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": "Find the biggest files under /home/deploy." }, { "role": "assistant", "content": "du -ah /home/deploy | sort -rh | head -n 20" } ]
pipeline
du
e7b16c81675e4c96
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "extract all the 'name' fields from https://www.corp.net/api/users" }, { "role": "assistant", "content": "curl -s https://www.corp.net/api/users |...
pipeline
curl
7354d1bfdb1470c5
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "extract all the 'name' fields from https://www.corp.net/api/users" }, { "role": "assistant", "content": "curl --silent https://www.corp.net/api/u...
pipeline
curl
7354d1bfdb1470c5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show disk space usage of all mounted filesystems in human-readable form." }, { "role": "assistant", "content": "df -h" } ]
single
df
f09f8548a6bc7f8b
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show disk space usage of all mounted filesystems in human-readable form." }, { "role": "assistant", "content": "df --human-readable" } ]
single
df
f09f8548a6bc7f8b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Bump process 1817 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 1817" } ]
single
renice
31069ec05c597453
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Verbose - no suppression by `*` on duplicate lines." }, { "role": "assistant", "content": "hexdump -v schema.sql" } ]
single
hexdump
89c46a470bccd5b3
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Run 'dd if=/dev/zero of=test.img bs=1M count=1024' niced to 10 in the background." }, { "role": "assistant", "content": "nice -n 10 dd if=/dev/z...
single
nice
03c00117b530f08b
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the 10 largest subdirectories in images." }, { "role": "assistant", "content": "du -h images/* | sort -rh | head -n 10" } ]
pipeline
du
bc6e7ad31d71c37b
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show me how to show the last 20 lines containing 'disk full' in messages." }, { "role": "assistant", "content": "grep 'disk full' messages | tail -n 2...
pipeline
grep
7b37f45b2b60c01f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "List login information of a specific user." }, { "role": "assistant", "content": "last bob" } ]
single
last
b8b4819377b0e8c3
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "follow redirects when fetching https://localhost" }, { "role": "assistant", "content": "curl -L https://localhost" } ]
single
curl
10d33a430d840fda
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "follow redirects when fetching https://localhost" }, { "role": "assistant", "content": "curl --location https://localhost" } ]
single
curl
10d33a430d840fda
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Bump process 3889 to a higher priority (nice -5). Requires root." }, { "role": "assistant", "content": "sudo renice -n -5 -p 3889" } ]
single
renice
02805c6f031b02cb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Count how many apache2 processes are running." }, { "role": "assistant", "content": "pgrep -c apache2" } ]
pipeline
pgrep
320abcdedddb9c36
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show the last 50 lines containing 'WARNING' in syslog." }, { "role": "assistant", "content": "grep 'WARNING' syslog | tail -n 50" } ]
pipeline
grep
c079ca0049b958c7
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Abbreviated session info for nginx." }, { "role": "assistant", "content": "w -s nginx" } ]
single
w
c45213caa2f8e20d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How many lines in request.log mention '502'?" }, { "role": "assistant", "content": "grep -c '502' request.log | cat" } ]
pipeline
grep
e6a4292b21caeb6d
[ { "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 '502'?" }, { "role": "assistant", "content": "grep --count '502' request.log | cat" } ]
pipeline
grep
e6a4292b21caeb6d
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Rename export.sql to export.sql.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n export.sql export.s...
single
mv
14c927e6fd746a93
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Rename export.sql to export.sql.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber export.sql export.sql.old" } ]
single
mv
14c927e6fd746a93
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Generate a SHA-512 timestamp request of a specific file and output to `file.tsq`." }, { "role": "assistant", "content": "openssl ts -query -data ...
single
openssl
e18675ceacb61418
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Can you write a script that parses -f (file), -n (count) and -v (verbose) options with getopts?" }, { "role": "assistant", "content": "#!/usr/bi...
script
getopts
8cee7cf30a580ad4
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Help me count how many redis-server processes are running." }, { "role": "assistant", "content": "pgrep -c redis-server" } ]
pipeline
pgrep
de65362c4b4af728
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "How do I count how many cron processes are running?" }, { "role": "assistant", "content": "pgrep -c cron" } ]
pipeline
pgrep
0f22b8232016d955
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "How do I count how many cron processes are running?" }, { "role": "assistant", "content": "pgrep --count cron" } ]
pipeline
pgrep
0f22b8232016d955
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display current memory usage nicely formatted." }, { "role": "assistant", "content": "free -h" } ]
single
free
fa1933d7a65a175a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Display current memory usage nicely formatted." }, { "role": "assistant", "content": "free --human" } ]
single
free
fa1933d7a65a175a
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "which directories under lib are eating the most space?" }, { "role": "assistant", "content": "du -h --max-depth=1 lib | sort -rh" } ]
pipeline
du
37be57285cd10783
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Restart memcached mysql sshd one after another and report each result." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\n...
script
for
cc8d4c7a43687677
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the unique sorted lines of order.json." }, { "role": "assistant", "content": "cat order.json | sort | uniq" } ]
pipeline
sort
3a033c47edf86aae
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Wrap each line to width \"30\"." }, { "role": "assistant", "content": "fold -w30 build.sh" } ]
single
fold
c544ab14f5618c31
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "search all .tmp files under dist for the word TODO" }, { "role": "assistant", "content": "find dist -name '*.tmp' -print0 | xargs -0 grep -l TODO" } ]
pipeline
find
35fd35550838b754
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 25 hottest values in column 5 of inventory.tsv (by frequency)." }, { "role": "assistant", "content": "cut -d, -f5 inventory.tsv | sort | uniq -c | sort -nr...
pipeline
cut
0d7b5d3113b3ca83
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "What are the 20 largest subdirectories of /opt/scripts?" }, { "role": "assistant", "content": "du -h /opt/scripts/* 2>/dev/null | sort -rh | head...
pipeline
du
efd2a2057c08b143
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "What are the 20 largest subdirectories of /opt/scripts?" }, { "role": "assistant", "content": "du --human-readable /opt/scripts/* 2>/dev/null | sort -rh | head -n 2...
pipeline
du
efd2a2057c08b143
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Display certificate information." }, { "role": "assistant", "content": "openssl x509 -in session.old -noout -text" } ]
single
openssl
603f005750ee1d8e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the ancestors of process 8509 as a tree." }, { "role": "assistant", "content": "pstree -s 8509" } ]
single
pstree
144c5b29aabece9f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "How do I count how many haproxy processes are running?" }, { "role": "assistant", "content": "pgrep -c haproxy" } ]
pipeline
pgrep
d01b3e7dbc3b8e1a
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "monitor system performance with vmstat every 5 seconds using human-readable units" }, { "role": "assistant", "content": "vmstat -S M 5" } ]
single
vmstat
9150c2c45a33a663
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Display the ancestors of process 4796 as a tree." }, { "role": "assistant", "content": "pstree -s 4796" } ]
single
pstree
e0daddaca225a61d
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Tally how many times each log level appears in error.log." }, { "role": "assistant", "content": "grep -oE '(INFO|WARN|ERROR|DEBUG)' error.log | s...
pipeline
grep
4305899b105dc65d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Tally how many times each log level appears in error.log." }, { "role": "assistant", "content": "grep -Eo '(INFO|WARN|ERROR|DEBUG)' error.log | ...
pipeline
grep
4305899b105dc65d
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Tally how many times each log level appears in error.log." }, { "role": "assistant", "content": "grep -o -E '(INFO|WARN|ERROR|DEBUG)' error.log ...
pipeline
grep
4305899b105dc65d
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Print every third line starting from the first line." }, { "role": "assistant", "content": "awk 'NR%3==1' notes.gz" } ]
single
awk
5c547352e854662a
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the systemd journal for the containerd service." }, { "role": "assistant", "content": "journalctl -u containerd" } ]
single
journalctl
22db940329dd0fbb
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display the current primary group identity." }, { "role": "assistant", "content": "id sudo" } ]
single
id
832e944046e9ed67
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show me the 10 largest subdirectories of /etc/nginx." }, { "role": "assistant", "content": "du -h /etc/nginx/* 2>/dev/null | sort -rh | head -n 10" } ]
pipeline
du
25f91a55327334a5
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Show me the 10 largest subdirectories of /etc/nginx." }, { "role": "assistant", "content": "du --human-readable /etc/nginx/* 2>/dev/null | sort -rh | head -n 10" } ]
pipeline
du
25f91a55327334a5
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find any socket using port 15672 via netstat." }, { "role": "assistant", "content": "netstat -anp | grep :15672" } ]
single
netstat
f331bc99f1511abc
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "follow redirects when fetching https://api.example.org" }, { "role": "assistant", "content": "curl -L https://api.example.org" } ]
single
curl
180ee2de38ada395
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "follow redirects when fetching https://api.example.org" }, { "role": "assistant", "content": "curl --location https://api.example.org" } ]
single
curl
180ee2de38ada395
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "create three folders at once: src, tests and docs" }, { "role": "assistant", "content": "mkdir src tests docs" } ]
single
mkdir
d95fc8a672284381
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Find the 10 most common 'exception'-related lines in build.log." }, { "role": "assistant", "content": "grep 'exception' build.log | sort | uniq -...
pipeline
grep
2b9842b20df75d47
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find the 10 most common 'exception'-related lines in build.log." }, { "role": "assistant", "content": "grep 'exception' build.log | sort | uniq --count | sort -nr |...
pipeline
grep
2b9842b20df75d47
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Find files in a specific directory." }, { "role": "assistant", "content": "fd \"unreachable\" media" } ]
single
fd
6cf09c23c11ec8bb
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show TCP connections involving db02.service.io." }, { "role": "assistant", "content": "netstat -tn | grep db02.service.io" } ]
single
netstat
97c828df0010ed5b
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Rename dump.txt to dump.txt.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv -n dump.txt dump.txt.old" } ]
single
mv
c00681819e7f6c62
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Rename dump.txt to dump.txt.old without overwriting if the target already exists." }, { "role": "assistant", "content": "mv --no-clobber dump.txt...
single
mv
c00681819e7f6c62
[ { "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://db02.example.org/api/items" }, { "role": "assistant", "content": "curl -s https://db02.exam...
pipeline
curl
0ddc1e6b56b50906
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "get the number of items in the JSON array at https://db02.example.org/api/items" }, { "role": "assistant", "content": "curl --silent https://db02...
pipeline
curl
0ddc1e6b56b50906
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given release.json, count the lines." }, { "role": "assistant", "content": "cat release.json | wc -l" } ]
pipeline
wc
6294b3b7b8206c18
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Given release.json, count the lines." }, { "role": "assistant", "content": "wc -l < release.json" } ]
pipeline
wc
6294b3b7b8206c18
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Take test.ini and count the lines." }, { "role": "assistant", "content": "cat test.ini | wc -l" } ]
pipeline
wc
c1a7dd2f147818a8
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Take test.ini and count the lines." }, { "role": "assistant", "content": "wc -l < test.ini" } ]
pipeline
wc
c1a7dd2f147818a8
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Lower the priority of process 4753 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 4753" } ]
single
renice
9fe4044f5a5143ff
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "list the distinct error messages in syslog" }, { "role": "assistant", "content": "grep -i error syslog | sort -u" } ]
pipeline
grep
1c5d021bdae421ad
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "list the distinct error messages in syslog" }, { "role": "assistant", "content": "grep --ignore-case error syslog | sort -u" } ]
pipeline
grep
1c5d021bdae421ad
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "I need a preflight check that AWS_REGION, API_KEY and PORT exist in the environment." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\n...
script
env
c5f41d872bf701df
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "From payload.json, sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat payload.json | sort -u" } ]
pipeline
sort
4c250e448feaac64
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "download https://github.io/list.txt and count the lines" }, { "role": "assistant", "content": "curl -s https://github.io/list.txt | wc -l" } ]
pipeline
curl
4d687deccf98ea9e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "download https://github.io/list.txt and count the lines" }, { "role": "assistant", "content": "curl --silent https://github.io/list.txt | wc -l"...
pipeline
curl
4d687deccf98ea9e
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Given transaction.ini, keep only non-empty lines." }, { "role": "assistant", "content": "cat transaction.ini | grep -v '^$'" } ]
pipeline
grep
b842ab14a012476a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Launch 'python train.py' at reduced priority (10)." }, { "role": "assistant", "content": "nice -n 10 python train.py" } ]
single
nice
299aff2e5175f4b8
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "show mount points sorted by usage percentage" }, { "role": "assistant", "content": "df -h | awk 'NR>1 {print $5, $6}' | sort -rn" } ]
pipeline
df
7c55a3e55a0fae2f
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "show mount points sorted by usage percentage" }, { "role": "assistant", "content": "df --human-readable | awk 'NR>1 {print $5, $6}' | sort -rn" } ]
pipeline
df
7c55a3e55a0fae2f
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Give 'gzip huge.log' a boosted CPU priority of -5." }, { "role": "assistant", "content": "sudo nice -n -5 gzip huge.log" } ]
single
nice
14b4d927fda964e1
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Lower the priority of process 8658 to nice value 10." }, { "role": "assistant", "content": "renice -n 10 -p 8658" } ]
single
renice
32eb39811290cc59
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I count how many mongod processes are running?" }, { "role": "assistant", "content": "pgrep -c mongod" } ]
pipeline
pgrep
8f2156670807b552
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "How do I count how many mongod processes are running?" }, { "role": "assistant", "content": "pgrep --count mongod" } ]
pipeline
pgrep
8f2156670807b552
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Extract just the email addresses from notes.ini." }, { "role": "assistant", "content": "grep -oE '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' notes.ini | sort -u" } ]
pipeline
sed
a24322b580cb1d94
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Extract just the email addresses from notes.ini." }, { "role": "assistant", "content": "grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' notes.ini | s...
pipeline
sed
a24322b580cb1d94
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Extract just the email addresses from notes.ini." }, { "role": "assistant", "content": "grep -o -E '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+' notes.ini | sort -u" } ]
pipeline
sed
a24322b580cb1d94
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow request.log live as new lines are appended." }, { "role": "assistant", "content": "tail -f request.log" } ]
single
tail
5973ee574f7334c1
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Follow request.log live as new lines are appended." }, { "role": "assistant", "content": "tail --follow request.log" } ]
single
tail
5973ee574f7334c1
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Display the ancestors of process 3567 as a tree." }, { "role": "assistant", "content": "pstree -s 3567" } ]
single
pstree
8c9d146bb124e799
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "List sessions with destination proxy.local." }, { "role": "assistant", "content": "ss -tn dst proxy.local" } ]
single
ss
c6fd0dfa30a65a98
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "search all .pdf files under /opt/scripts for the word TODO" }, { "role": "assistant", "content": "find /opt/scripts -name '*.pdf' -print0 | xargs -0 grep -l TODO" ...
pipeline
find
a49408b0eda44b9e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Process servers.txt one line at a time, ignoring # comments, printing a running index." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail...
script
while
befdd16b7eb5c52a
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "Give me a generic retry wrapper function (max 4 tries) I can call with any command." }, { "role": "assistant", "content": "#!/usr/bin/env bash\ns...
script
function
9273fd025188de2d
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Fetch JSON from https://auth.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl -s https://auth.example.com/api/users | jq ." } ]
pipeline
curl
a9d5d8bcca23112c
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Fetch JSON from https://auth.example.com/api/users and pretty-print it with jq." }, { "role": "assistant", "content": "curl --silent https://aut...
pipeline
curl
a9d5d8bcca23112c
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Clean up cache: remove .old files not modified in 7 days, recording each deletion." }, { "role": "assistant", "content": "#!/usr/bin/env bash\nset -euo pipefail\ntarget=cache\nage=7\n[ -d \"$targ...
script
find
aa4b02912f2cb995
[ { "role": "system", "content": "You are a helpful assistant that writes correct, idiomatic Bash commands." }, { "role": "user", "content": "Show the last 20 lines of manifest.sh." }, { "role": "assistant", "content": "tail -n 20 manifest.sh" } ]
single
tail
aa91e25675c1cd9e
[ { "role": "system", "content": "You are a Linux shell expert. Respond with Bash only." }, { "role": "user", "content": "Show the last 20 lines of manifest.sh." }, { "role": "assistant", "content": "tail --lines 20 manifest.sh" } ]
single
tail
aa91e25675c1cd9e
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Show the last 20 lines of manifest.sh." }, { "role": "assistant", "content": "tail -20 manifest.sh" } ]
single
tail
aa91e25675c1cd9e
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the 5 largest subdirectories of /var/cache." }, { "role": "assistant", "content": "du -h /var/cache/* 2>/dev/null | sort -rh | head -n 5" ...
pipeline
du
d0169c3a47fb5e93
[ { "role": "system", "content": "You are a command-line assistant specializing in Bash and GNU coreutils." }, { "role": "user", "content": "List the 5 largest subdirectories of /var/cache." }, { "role": "assistant", "content": "du --human-readable /var/cache/* 2>/dev/null | sort -rh |...
pipeline
du
d0169c3a47fb5e93
[ { "role": "system", "content": "You translate natural-language requests into correct Bash commands." }, { "role": "user", "content": "Take payment.json and sort it and drop duplicate lines." }, { "role": "assistant", "content": "cat payment.json | sort -u" } ]
pipeline
sort
073cf1bc44cdc040
[ { "role": "system", "content": "You are a Bash expert." }, { "role": "user", "content": "Background 'rsync -a /data /mnt/backup' at nice level 5." }, { "role": "assistant", "content": "nice -n 5 rsync -a /data /mnt/backup &" } ]
single
nice
2ba35f6cfc019f76